Lines Matching refs:xclass
484 get_visual( Display *dpy, int scr, unsigned int depth, int xclass )
495 temp.CLASS = xclass;
500 if (depth==default_depth && xclass==default_class) {
512 if (vis && depth > 24 && (xclass==TrueColor || xclass==DirectColor)) {
541 int depth, xclass = -1;
553 if (strcmp(type,"TrueColor")==0) xclass = TrueColor;
554 else if (strcmp(type,"DirectColor")==0) xclass = DirectColor;
555 else if (strcmp(type,"GrayScale")==0) xclass = GrayScale;
556 else if (strcmp(type,"StaticGray")==0) xclass = StaticGray;
558 if (xclass>-1 && depth>0) {
559 vis = get_visual( dpy, scr, depth, xclass );
584 int xclass, visclass = 0;
594 for (xclass=0;xclass<4;xclass++) {
595 switch (xclass) {