Home | History | Annotate | Download | only in x11

Lines Matching refs:xclass

522 get_visual( Display *dpy, int scr, unsigned int depth, int xclass )
533 temp.CLASS = xclass;
538 if (depth==default_depth && xclass==default_class) {
550 if (vis && depth > 24 && (xclass==TrueColor || xclass==DirectColor)) {
579 int depth, xclass = -1;
591 if (strcmp(type,"TrueColor")==0) xclass = TrueColor;
592 else if (strcmp(type,"DirectColor")==0) xclass = DirectColor;
593 else if (strcmp(type,"GrayScale")==0) xclass = GrayScale;
594 else if (strcmp(type,"StaticGray")==0) xclass = StaticGray;
596 if (xclass>-1 && depth>0) {
597 vis = get_visual( dpy, scr, depth, xclass );
622 int xclass, visclass = 0;
632 for (xclass=0;xclass<4;xclass++) {
633 switch (xclass) {