Home | History | Annotate | Download | only in graw-xlib

Lines Matching defs:visinfo

56    XVisualInfo templat, *visinfo = NULL;
82 visinfo = XGetVisualInfo(graw.display, mask, &templat, &n);
83 if (!visinfo) {
89 if (visinfo->red_mask == 0xff0000 &&
90 visinfo->green_mask == 0xff00 &&
91 visinfo->blue_mask == 0xff) {
95 else if (visinfo->red_mask == 0xff &&
96 visinfo->green_mask == 0xff00 &&
97 visinfo->blue_mask == 0xff0000) {
108 attr.colormap = XCreateColormap( graw.display, root, visinfo->visual, AllocNone);
114 0, visinfo->depth, InputOutput,
115 visinfo->visual, mask, &attr );
141 xlib_handle->visual = visinfo->visual;
143 xlib_handle->depth = visinfo->depth;
150 XFree(visinfo);
160 if (visinfo)
161 XFree(visinfo);