Esempio n. 1
0
 // Constructor that is called from the "Screen" class.
 internal Colormap(Display dpy, Screen screen, XColormap colormap)
 {
     this.dpy          = dpy;
     this.screen       = screen;
     this.colormap     = colormap;
     this.cachedPixels = new Hashtable(1024);                     // create hash with big capacity to avoid expansions of hashtable
 }
Esempio n. 2
0
	// Constructor that is called from the "Screen" class.
	internal Colormap(Display dpy, Screen screen, XColormap colormap)
			{
				this.dpy = dpy;
				this.screen = screen;
				this.colormap = colormap;
				this.cachedPixels = new Hashtable(1024); // create hash with big capacity to avoid expansions of hashtable
			}
Esempio n. 3
0
	extern public static XStatus XagCreateEmbeddedApplicationGroup
			(IntPtr display, XVisualID root_visual, XColormap default_colormap,
			 XPixel black_pixel, XPixel white_pixel, out XAppGroup app_group);
Esempio n. 4
0
	extern public static int XAllocColor
			(IntPtr display, XColormap colormap, ref XColor xcolor);