Lines Matching refs:color

45 VGLSetXY(VGLBitmap *object, int x, int y, byte color)  in VGLSetXY()  argument
51 if (!VGLMouseFreeze(x, y, 1, 1, color)) { in VGLSetXY()
55 object->Bitmap[y*object->VXsize+x]=(color); in VGLSetXY()
58 object->Bitmap[VGLSetSegment(y*object->VXsize+x)]=(color); in VGLSetXY()
63 object->Bitmap[(unsigned)(VGLAdpInfo.va_line_width*y)+(x/4)] = (color); in VGLSetXY()
72 outb(0x3ce, 0x00); outb(0x3cf, color & 0x0f); /* set/reset */ in VGLSetXY()
75 object->Bitmap[offset] |= color; in VGLSetXY()
88 byte color; in VGLGetXY()
113 color = 0; in VGLGetXY()
117 color |= (object->Bitmap[offset] & mask) ? (1 << i) : 0; in VGLGetXY()
119 return color; in VGLGetXY()
126 VGLLine(VGLBitmap *object, int x1, int y1, int x2, int y2, byte color) in VGLLine() argument
136 VGLSetXY(object, x, y, color); in VGLLine()
148 VGLSetXY(object, x, y, color); in VGLLine()
160 VGLBox(VGLBitmap *object, int x1, int y1, int x2, int y2, byte color) in VGLBox() argument
162 VGLLine(object, x1, y1, x2, y1, color); in VGLBox()
163 VGLLine(object, x2, y1, x2, y2, color); in VGLBox()
164 VGLLine(object, x2, y2, x1, y2, color); in VGLBox()
165 VGLLine(object, x1, y2, x1, y1, color); in VGLBox()
169 VGLFilledBox(VGLBitmap *object, int x1, int y1, int x2, int y2, byte color) in VGLFilledBox() argument
173 for (y=y1; y<=y2; y++) VGLLine(object, x1, y, x2, y, color); in VGLFilledBox()
177 set4pixels(VGLBitmap *object, int x, int y, int xc, int yc, byte color) in set4pixels() argument
180 VGLSetXY(object, xc+x, yc+y, color); in set4pixels()
181 VGLSetXY(object, xc-x, yc+y, color); in set4pixels()
183 VGLSetXY(object, xc+x, yc-y, color); in set4pixels()
184 VGLSetXY(object, xc-x, yc-y, color); in set4pixels()
188 VGLSetXY(object, xc, yc+y, color); in set4pixels()
190 VGLSetXY(object, xc, yc-y, color); in set4pixels()
195 VGLEllipse(VGLBitmap *object, int xc, int yc, int a, int b, byte color) in VGLEllipse() argument
201 set4pixels(object, x, y, xc, yc, color); in VGLEllipse()
209 set4pixels(object, x, y, xc, yc, color); in VGLEllipse()
218 set2lines(VGLBitmap *object, int x, int y, int xc, int yc, byte color) in set2lines() argument
221 VGLLine(object, xc+x, yc+y, xc-x, yc+y, color); in set2lines()
223 VGLLine(object, xc+x, yc-y, xc-x, yc-y, color); in set2lines()
226 VGLLine(object, xc, yc+y, xc, yc-y, color); in set2lines()
231 VGLFilledEllipse(VGLBitmap *object, int xc, int yc, int a, int b, byte color) in VGLFilledEllipse() argument
237 set2lines(object, x, y, xc, yc, color); in VGLFilledEllipse()
245 set2lines(object, x, y, xc, yc, color); in VGLFilledEllipse()
254 VGLClear(VGLBitmap *object, byte color) in VGLClear() argument
260 VGLMouseFreeze(0, 0, object->Xsize, object->Ysize, color); in VGLClear()
264 memset(object->Bitmap, color, object->VXsize*object->VYsize); in VGLClear()
272 memset(object->Bitmap, color, len); in VGLClear()
281 memset(object->Bitmap, color, VGLAdpInfo.va_line_width*object->VYsize); in VGLClear()
295 memset(object->Bitmap, color, len); in VGLClear()
371 VGLSetPaletteIndex(byte color, byte red, byte green, byte blue) in VGLSetPaletteIndex() argument
373 VGLSavePaletteRed[color] = red; in VGLSetPaletteIndex()
374 VGLSavePaletteGreen[color] = green; in VGLSetPaletteIndex()
375 VGLSavePaletteBlue[color] = blue; in VGLSetPaletteIndex()
379 outb(0x3C8, color); in VGLSetPaletteIndex()
386 VGLSetBorder(byte color) in VGLSetBorder() argument
390 outb(0x3C0,0x11); outb(0x3C0, color); in VGLSetBorder()