Home | History | Annotate | Download | only in xlib

Lines Matching refs:xclass

391 get_visual( Display *dpy, int scr, unsigned int depth, int xclass )
402 temp.CLASS = xclass;
407 if (depth==default_depth && xclass==default_class) {
419 if (vis && depth > 24 && (xclass==TrueColor || xclass==DirectColor)) {
447 int depth, xclass = -1;
459 if (strcmp(type,"TrueColor")==0) xclass = TrueColor;
460 else if (strcmp(type,"DirectColor")==0) xclass = DirectColor;
461 else if (strcmp(type,"PseudoColor")==0) xclass = PseudoColor;
462 else if (strcmp(type,"StaticColor")==0) xclass = StaticColor;
463 else if (strcmp(type,"GrayScale")==0) xclass = GrayScale;
464 else if (strcmp(type,"StaticGray")==0) xclass = StaticGray;
466 if (xclass>-1 && depth>0) {
467 vis = get_visual( dpy, scr, depth, xclass );
494 int xclass, visclass = 0;
504 for (xclass=0;xclass<6;xclass++) {
505 switch (xclass) {