Lines Matching refs:xclass
377 get_visual( Display *dpy, int scr, unsigned int depth, int xclass )
388 temp.CLASS = xclass;
393 if (depth==default_depth && xclass==default_class) {
405 if (vis && depth > 24 && (xclass==TrueColor || xclass==DirectColor)) {
433 int depth, xclass = -1;
445 if (strcmp(type,"TrueColor")==0) xclass = TrueColor;
446 else if (strcmp(type,"DirectColor")==0) xclass = DirectColor;
447 else if (strcmp(type,"PseudoColor")==0) xclass = PseudoColor;
448 else if (strcmp(type,"StaticColor")==0) xclass = StaticColor;
449 else if (strcmp(type,"GrayScale")==0) xclass = GrayScale;
450 else if (strcmp(type,"StaticGray")==0) xclass = StaticGray;
452 if (xclass>-1 && depth>0) {
453 vis = get_visual( dpy, scr, depth, xclass );
480 int xclass, visclass = 0;
490 for (xclass=0;xclass<6;xclass++) {
491 switch (xclass) {