Lines Matching refs:xclass
478 get_visual( Display *dpy, int scr, unsigned int depth, int xclass )
489 temp.CLASS = xclass;
494 if (depth==default_depth && xclass==default_class) {
506 if (vis && depth > 24 && (xclass==TrueColor || xclass==DirectColor)) {
535 int depth, xclass = -1;
547 if (strcmp(type,"TrueColor")==0) xclass = TrueColor;
548 else if (strcmp(type,"DirectColor")==0) xclass = DirectColor;
549 else if (strcmp(type,"GrayScale")==0) xclass = GrayScale;
550 else if (strcmp(type,"StaticGray")==0) xclass = StaticGray;
552 if (xclass>-1 && depth>0) {
553 vis = get_visual( dpy, scr, depth, xclass );
578 int xclass, visclass = 0;
588 for (xclass=0;xclass<4;xclass++) {
589 switch (xclass) {