Lines Matching refs:xclass
485 get_visual( Display *dpy, int scr, unsigned int depth, int xclass )
496 temp.CLASS = xclass;
501 if (depth==default_depth && xclass==default_class) {
513 if (vis && depth > 24 && (xclass==TrueColor || xclass==DirectColor)) {
542 int depth, xclass = -1;
554 if (strcmp(type,"TrueColor")==0) xclass = TrueColor;
555 else if (strcmp(type,"DirectColor")==0) xclass = DirectColor;
556 else if (strcmp(type,"GrayScale")==0) xclass = GrayScale;
557 else if (strcmp(type,"StaticGray")==0) xclass = StaticGray;
559 if (xclass>-1 && depth>0) {
560 vis = get_visual( dpy, scr, depth, xclass );
585 int xclass, visclass = 0;
595 for (xclass=0;xclass<4;xclass++) {
596 switch (xclass) {