Searched defs:screen (Results 1 - 14 of 14) sorted by relevance

/solaris-x11-s12/open-src/app/xcolor/sun-src/
H A DXCrDynCmap.c39 int screen,
56 planes = DisplayPlanes(dsp, screen);
57 if (!XMatchVisualInfo(dsp, screen, planes, PseudoColor, &vinfo))
58 if (!XMatchVisualInfo(dsp, screen, planes, GrayScale, &vinfo))
59 if (!XMatchVisualInfo(dsp, screen, planes, DirectColor, &vinfo))
64 *cmap = XCreateColormap(dsp, RootWindow(dsp, screen),
85 XQueryColor(dsp, DefaultColormap(dsp, screen), &colors[i]);
37 XCreateDynamicColormap( Display *dsp, int screen, Colormap *cmap, Visual **visual, XColor *colors, int count, u_char *red, u_char *green, u_char *blue) argument
H A DXCrHsbCmap.c37 int screen,
62 pixel = WhitePixel(dsp, screen);
66 pixel = BlackPixel(dsp, screen);
70 status = XCreateDynamicColormap(dsp, screen, cmap, visual, xcolors,
35 XCreateHSBColormap( Display *dsp, int screen, Colormap *cmap, int count, double h1, double s1, double b1, double h2, double s2, double b2, int bw, Visual **visual) argument
H A Dxcolor.c49 static int screen; variable
51 static Window win; /* window used to cover screen */
71 XQueryColors(dsp, DefaultColormap(dsp, screen), color, 256);
284 screen = DefaultScreen(dsp);
295 stat = XCreateHSBColormap(dsp, screen, &cmap, half
342 DefaultDepth(dsp, screen), /* depth */
367 0, 0, ICON_WIDTH, ICON_HEIGHT, 0, DefaultDepth(dsp, screen),
385 xgcv.foreground = BlackPixel(dsp, screen);
386 xgcv.background = WhitePixel(dsp, screen);
/solaris-x11-s12/open-src/app/cmap_compact/sun-src/
H A Dcmcinit.c40 Screen *screen,
45 register Colormap cmap = DefaultColormapOfScreen(screen);
55 ntotal = 1<<PlanesOfScreen(screen);
64 if (!XAllocColorCells(DisplayOfScreen(screen), cmap, 0, &mask, 0,
83 XFreeColors(DisplayOfScreen(screen), cmap, pixels+nalloc, ncolors, 0);
87 if (!XAllocColor(DisplayOfScreen(screen), cmap, c))
91 XFreeColors(DisplayOfScreen(screen), cmap, pixels, nalloc, 0);
98 { Visual *vis = DefaultVisualOfScreen(screen);
100 if (WhitePixelOfScreen(screen) == cmap_size-1 ||
101 WhitePixelOfScreen(screen)
39 cmc_alloc( Screen *screen, int ncolors, XColor *colors) argument
116 cmc_alloc_protected( Screen *screen, int ncolors, XColor *colors) argument
163 Screen *screen; local
[all...]
H A Dcmcsave.c75 Screen *screen,
79 register Colormap cmap = DefaultColormapOfScreen(screen);
90 totalpix = 1<<PlanesOfScreen(screen);
118 if(!XAllocColorCells(DisplayOfScreen(screen), cmap, 0, &masks, 0,
141 XQueryColor(DisplayOfScreen(screen), cmap, &color);
142 XSync(DisplayOfScreen(screen), 0); /* make sure any error is reported */
148 XStoreColor(DisplayOfScreen(screen), cmap, &color);
162 XSync(DisplayOfScreen(screen), 0);
178 XQueryColors(DisplayOfScreen(screen), cmap, *colors, *ncolors);
193 Screen *screen,
74 cmc_record( Screen *screen, int *ncolors, XColor **colors) argument
192 cmc_record_protected( Screen *screen, int *ncolors, XColor **colors) argument
234 Screen *screen = ScreenOfDisplay(dpy, scr_num); local
[all...]
H A Dcmcutil.c73 ** Return true if default visual of screen is dynamic.
77 dynamic_indexed_default_visual (Screen *screen) argument
79 int class = DefaultVisualOfScreen(screen)->class;
/solaris-x11-s12/open-src/app/cmap_alloc/sun-src/
H A Dcmap_alloc.c52 static void alloc_cmaps_for_screen(Display *display, int screen);
53 static void alloc_cmap_for_visual(Display *display, int screen,
70 int screen; local
84 for (screen = 0; screen < ScreenCount(display); screen++)
85 alloc_cmaps_for_screen(display, screen);
103 int screen)
111 (void)printf("Creating colormaps for screen #%d:\n", screen);
101 alloc_cmaps_for_screen( Display *display, int screen) argument
170 alloc_cmap_for_visual( Display *display, int screen, XVisualInfo *vinfo) argument
[all...]
/solaris-x11-s12/open-src/app/gfx-utils/sun-src/fbconf_xorg/xf86/
H A DLayout.c74 {SCREEN, "screen"},
443 screen = xf86findScreen (str, p->conf_screen_lst); \
444 if (!screen) \
451 ptr = screen; \
461 XF86ConfScreenPtr screen; local
471 screen = xf86findScreen (adj->adj_screen_str, p->conf_screen_lst);
472 if (!screen)
479 adj->adj_screen = screen;
H A DScreen.c900 XF86ConfScreenPtr screen = p->conf_screen_lst; local
907 if (!screen)
914 while (screen)
916 if (screen->scrn_obso_driver && !screen->scrn_identifier)
917 screen->scrn_identifier = screen->scrn_obso_driver;
922 for (mon_ptr = screen->scrn_monitor_lst;
932 screen->scrn_identifier);
937 p, screen
[all...]
/solaris-x11-s12/open-src/app/xmag_multivis/sun-src/
H A Dmultivis.c83 int screen,
91 int screen,
99 /* Initialise screen info */
101 mvScreen = screen;
119 * be within the bounds of the screen.
121 * is fully within the bounds of the screen.
477 * Assumes that a global mvVlist for this screen has already
81 mvInit( Display *dpy, int screen, XVisualInfo *vlist, int num_vis, void *callbackData, mvCallbackFunc callbackFunction) argument
H A Dxmag_multivis.c77 int screen; /* screen being used */ variable
86 Window root; /* root window of screen */
305 screen = DefaultScreen (dpy);
306 cmap = DefaultColormap (dpy, screen);
307 visual = DefaultVisual(dpy,screen) ;
309 vinfo_template.screen = screen;
325 npixelvalues = DisplayCells (dpy, screen);
328 vinfo_template.screen
[all...]
/solaris-x11-s12/open-src/app/xlock/sun-src/
H A Dxlock.c24 * xlock.c - X11 client to lock a display and show a screen saver.
60 * 28-Oct-90: center prompt screen.
82 * added -screensaver (don't disable screen saver) for the paranoid.
123 * Added screen saver override.
176 int screen; /* current screen */ variable
181 static Window win[MAXSCREENS]; /* window used to cover screen */
186 static XColor bgcol[MAXSCREENS];/* background of text screen */
187 XColor ssblack[MAXSCREENS];/* black color for screen saver screen */
[all...]
/solaris-x11-s12/open-src/app/dispswitch/sun-src/
H A Ddispswitch.c68 static int screen; variable
613 fprintf (stderr, "screen %d: revert\n", screen);
618 DisplayWidth (dpy, screen),
619 DisplayHeight (dpy, screen),
620 DisplayWidthMM (dpy, screen),
621 DisplayHeightMM (dpy, screen));
632 if (fb_width == DisplayWidth (dpy, screen) &&
633 fb_height == DisplayHeight (dpy, screen) &&
634 fb_width_mm == DisplayWidthMM (dpy, screen)
[all...]
/solaris-x11-s12/open-src/lib/libXext/sun-src/src/
H A DTransOvl.c90 int screen; member in struct:__anon147
146 * know the screen structure where the visual is to be found, so there
232 int screen,
247 obj.screen = scr = ScreenOfDisplay(dpy, screen);
255 req->screen = screen;
359 int screen,
383 scrextdata = find_screendata(dpy, screen, info);
387 * data on this screen ye
230 find_screendata( Display *dpy, int screen, XExtDisplayInfo *info ) argument
357 GetNumMBXBuffers( Display *dpy, int screen, Visual *candidateVis, XExtDisplayInfo *info) argument
434 CheckSharedPixels( Display *dpy, int screen, XSolarisOvlSelectType searchtype, Visual *candidateVis, Visual *partnerVis, XExtDisplayInfo *info) argument
535 CheckSharedColors( Display *dpy, int screen, Visual *candidateVis, Visual *partnerVis, XExtDisplayInfo *info) argument
1205 XSolarisOvlSelectPartner( Display *dpy, int screen, VisualID vid, XSolarisOvlSelectType vistype, int numCriteria, XSolarisOvlVisualCriteria *pCriteria, XVisualInfo *visinfoReturn, unsigned long *unmetCriteriaReturn ) argument
1317 XSolarisOvlSelectPair( Display *dpy, int screen, int numCriteria, XSolarisOvlPairCriteria *pCriteria, XVisualInfo *ovVisinfoReturn, XVisualInfo *unVisinfoReturn, unsigned long *unmetOvCriteriaReturn, unsigned long *unmetUnCriteriaReturn) argument
[all...]

Completed in 554 milliseconds