Lines Matching +full:0 +full:b

42 #define BORDER	0xff	/* default border -- light white in rgb 3:3:2 */
43 #define INTERIOR 0xa0 /* default interior -- red in rgb 3:3:2 */
48 #define X 0xff /* any nonzero in And mask means part of cursor */
49 #define B BORDER macro
52 X,X,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
53 X,X,X,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
54 X,X,X,X,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
55 X,X,X,X,X,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
56 X,X,X,X,X,X,0,0,0,0,0,0,0,0,0,0,0,0,0,
57 X,X,X,X,X,X,X,0,0,0,0,0,0,0,0,0,0,0,0,
58 X,X,X,X,X,X,X,X,0,0,0,0,0,0,0,0,0,0,0,
59 X,X,X,X,X,X,X,X,X,0,0,0,0,0,0,0,0,0,0,
60 X,X,X,X,X,X,X,X,X,X,0,0,0,0,0,0,0,0,0,
61 X,X,X,X,X,X,X,X,X,X,X,0,0,0,0,0,0,0,0,
62 X,X,X,X,X,X,X,X,X,X,X,X,0,0,0,0,0,0,0,
63 X,X,X,X,X,X,X,X,X,X,X,X,X,0,0,0,0,0,0,
64 X,X,X,X,X,X,X,X,X,X,X,X,X,X,0,0,0,0,0,
65 X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,0,0,0,0,
66 X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,0,0,0,
67 X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,0,0,
68 X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,X,0,
71 X,X,X,X,X,X,X,X,X,X,X,X,0,0,0,0,0,0,0,
72 X,X,X,X,X,X,X,X,X,X,X,X,0,0,0,0,0,0,0,
73 X,X,X,X,X,X,0,X,X,X,X,X,X,0,0,0,0,0,0,
74 X,X,X,X,X,0,0,X,X,X,X,X,X,0,0,0,0,0,0,
75 X,X,X,X,0,0,0,0,X,X,X,X,X,X,0,0,0,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0,0,0,0,0,
142 B,I,I,I,I,B,0,0,0,0,
143 B,I,I,I,I,I,B,0,0,0,
144 B,I,I,I,I,I,I,B,0,0,
145 B,I,I,I,I,I,I,I,B,0,
146 B,I,I,I,I,I,I,I,I,B,
147 B,I,I,I,I,I,B,B,B,B,
148 B,I,I,B,I,I,B,0,0,0,
149 B,I,B,0,B,I,I,B,0,0,
150 B,B,0,0,B,I,I,B,0,0,
151 0,0,0,0,0,B,I,I,B,0,
152 0,0,0,0,0,B,I,I,B,0,
153 0,0,0,0,0,0,B,B,0,0,
156 #undef B
172 static int VGLMouseXpos = 0;
173 static int VGLMouseYpos = 0;
174 static int VGLMouseButtons = 0;
180 if (--VGLMsuppressint == 0 && VGLMintpending) \
181 VGLMouseAction(0); \
182 } while (0)
229 VGLMintpending = 0; in VGLMouseAction()
231 ioctl(0, CONS_MOUSECTL, &mouseinfo); in VGLMouseAction()
246 VGLMsuppressint = 0; in VGLMouseAction()
264 VGLMouseOrMask = VGLBitmapCreate(MEMBUF, OrMask->VXsize, OrMask->VYsize, 0); in VGLMouseSetImage()
290 border = 0x0f; in VGLMouseInit()
291 interior = 0x04; in VGLMouseInit()
294 border = 0x3f; in VGLMouseInit()
295 interior = 0x24; in VGLMouseInit()
303 border = 0; /* XXX (palette makes 0x04 look like 0x0f) */ in VGLMouseInit()
305 border = strtoul(getenv("VGLMOUSEBORDERCOLOR"), NULL, 0); in VGLMouseInit()
307 interior = strtoul(getenv("VGLMOUSEINTERIORCOLOR"), NULL, 0); in VGLMouseInit()
309 for (i = 0; i < ormask->VXsize * ormask->VYsize; i++) in VGLMouseInit()
311 ormask->Bitmap[i] == INTERIOR ? interior : 0; in VGLMouseInit()
313 for (i = 0; i < ormask->VXsize * ormask->VYsize; i++) in VGLMouseInit()
315 ormask->Bitmap[i] == INTERIOR ? interior : 0; in VGLMouseInit()
319 if ((error = ioctl(0, CONS_MOUSECTL, &mouseinfo))) in VGLMouseInit()
323 ioctl(0, CONS_MOUSECTL, &mouseinfo); in VGLMouseInit()
328 return 0; in VGLMouseInit()
338 if (ioctl(0, CONS_MOUSECTL, &mouseinfo) == 0) { in VGLMouseRestore()
342 ioctl(0, CONS_MOUSECTL, &mouseinfo); in VGLMouseRestore()
369 return 0; in VGLMouseFreezeXY()
375 return 0; in VGLMouseFreezeXY()
384 return 0; in VGLMouseOverlap()
389 if (overlap <= 0) in VGLMouseOverlap()
390 return 0; in VGLMouseOverlap()
395 return overlap > 0; in VGLMouseOverlap()