Searched defs:scr_num (Results 1 - 5 of 5) sorted by relevance

/solaris-x11-s12/open-src/app/cmap_compact/sun-src/
H A DcmcNeWSinit.c37 ** <scr_num> <ncolors> cmap_compact_rearrange_scr
38 ** <scr_num> <ncolors> cmap_compact_rearrange_scr
41 ** where <scr_num> is the screen index of each screen,
63 int scr_num; local
67 if (!cmc_read(f, &scr_num, &ncolors, &colors))
70 printf("%d %d cmap_compact_rearrange_scr\n", scr_num, ncolors);
H A Dcmcshow.c53 int scr_num; local
57 if (!cmc_read(f, &scr_num, &ncolors, &colors))
60 printf("Screen %s.%d\n", XDisplayName(display_name), scr_num);
H A Dcmcinit.c164 int scr_num; local
168 if (!cmc_read(f, &scr_num, &ncolors, &colors))
172 if (scr_num >= ScreenCount(dpy)) {
173 warning("Warning: cannot allocated saved colors for screen %d because\nthe display no longer has this many screens\n", scr_num);
176 screen = ScreenOfDisplay(dpy, scr_num);
184 warning("default visual for screen %d is no longer dynamic indexed\nsaved colors not allocated for screen %d", scr_num, scr_num);
H A Dcmcsave.c211 register int scr_num; local
233 for (scr_num = 0; scr_num < ScreenCount(dpy); scr_num++) {
234 Screen *screen = ScreenOfDisplay(dpy, scr_num);
242 scr_num);
243 warning("no colors saved for screen %d", scr_num );
256 if (!cmc_write(f, scr_num, ncolors, colors))
H A Dcmcutil.c120 int scr_num,
125 (void)fwrite(&scr_num, sizeof(int), 1, f);
140 int *scr_num,
145 if (!fread(scr_num, sizeof(int), 1, f))
118 cmc_write( FILE *f, int scr_num, int ncolors, XColor *colors) argument
138 cmc_read( FILE *f, int *scr_num, int *ncolors, XColor **colors) argument

Completed in 38 milliseconds