/reactos/modules/rostests/apitests/gdi32/ |
H A D | Rectangle.c | 17 COLORREF color; in Test_Rectangle() local 39 ok( color == RGB(0, 0, 0), "Expected 0, got 0x%08x\n", (UINT)color); in Test_Rectangle() 47 ok( color == RGB(0, 0, 0), "Expected 0, got 0x%08x\n", (UINT)color); in Test_Rectangle() 55 ok( color == RGB(0, 0, 0), "Expected 0, got 0x%08x\n", (UINT)color); in Test_Rectangle() 63 ok( color == RGB(0, 0, 0), "Expected 0, got 0x%08x\n", (UINT)color); in Test_Rectangle() 75 ok( color == RGB(0, 0, 0), "Expected 0, got 0x%08x\n", (UINT)color); in Test_Rectangle() 83 ok( color == RGB(0, 0, 0), "Expected 0, got 0x%08x\n", (UINT)color); in Test_Rectangle() 98 ok( color == RGB(0, 0, 0), "Expected 0, got 0x%08x\n", (UINT)color); in Test_Rectangle() 100 ok( color == RGB(0, 0, 0), "Expected 0, got 0x%08x\n", (UINT)color); in Test_Rectangle() 102 ok( color == RGB(0, 0, 0), "Expected 0, got 0x%08x\n", (UINT)color); in Test_Rectangle() [all …]
|
H A D | GetPixel.c | 15 COLORREF color; in Test_GetPixel_1bpp() local 23 color = GetPixel(hdc, 0, 0); in Test_GetPixel_1bpp() 24 ok(color == 0xFFFFFF, "Wrong color at 0,0 : 0x%08x\n", (UINT)color); in Test_GetPixel_1bpp() 25 color = GetPixel(hdc, 1, 0); in Test_GetPixel_1bpp() 26 ok(color == 0, "Wrong color at 1,0 : 0x%08x\n", (UINT)color); in Test_GetPixel_1bpp() 30 color = GetPixel(hdc, 0, 0); in Test_GetPixel_1bpp() 31 ok(color == 0xFFFFFF, "Wrong color at 0,0 : 0x%08x\n", (UINT)color); in Test_GetPixel_1bpp() 32 color = GetPixel(hdc, 1, 0); in Test_GetPixel_1bpp() 33 ok(color == 0, "Wrong color at 1,0 : 0x%08x\n", (UINT)color); in Test_GetPixel_1bpp() 38 ok(color == 0xFFFFFF, "Wrong color at 0,0 : 0x%08x\n", (UINT)color); in Test_GetPixel_1bpp() [all …]
|
H A D | SetDIBits.c | 58 COLORREF color; in Test_SetDIBits_1bpp() local 92 color = GetPixel(hdc, 0,0); in Test_SetDIBits_1bpp() 93 ok(color == 0, "Wrong color at 0,0 : 0x%08x\n", (UINT)color); in Test_SetDIBits_1bpp() 94 color = GetPixel(hdc, 1,0); in Test_SetDIBits_1bpp() 95 ok(color == 0xFFFFFF, "Wrong color at 1,0 : 0x%08x\n", (UINT)color); in Test_SetDIBits_1bpp() 109 color = GetPixel(hdc, 0,0); in Test_SetDIBits_1bpp() 110 ok(color == 0, "Wrong color at 0,0 : 0x%08x\n", (UINT)color); in Test_SetDIBits_1bpp() 111 color = GetPixel(hdc, 1,0); in Test_SetDIBits_1bpp() 112 ok(color == 0xFFFFFF, "Wrong color at 1,0 : 0x%08x\n", (UINT)color); in Test_SetDIBits_1bpp() 127 ok(color == 0, "Wrong color at 0,0 : 0x%08x\n", (UINT)color); in Test_SetDIBits_1bpp() [all …]
|
/reactos/dll/directx/wine/wined3d/ |
H A D | dxtn.c | 37 DWORD color; in dxt1_to_x8r8g8b8() local 51 dst_line[x] = (color & 0xff00ff00) | ((color & 0xff) << 16) | in dxt1_to_x8r8g8b8() 57 (color & 0xff00) | ((color & 0xff0000) >> 16); in dxt1_to_x8r8g8b8() 69 DWORD color; in dxt1_to_x4r4g4b4() local 84 ((color & 0xf000) >> 8) | ((color & 0xf0) << 4); in dxt1_to_x4r4g4b4() 101 DWORD color; in dxt1_to_x1r5g5b5() local 133 DWORD color; in dxt3_to_x8r8g8b8() local 165 DWORD color; in dxt3_to_x4r4g4b4() local 197 DWORD color; in dxt5_to_x8r8g8b8() local 229 DWORD color, *tmp; in x8r8g8b8_to_dxtn() local [all …]
|
/reactos/modules/rostests/winetests/windowscodecs/ |
H A D | gifformat.c | 153 ok(color[0] == 0xff010203, "expected 0xff010203, got %#x\n", color[0]); in test_global_gif_palette() 154 ok(color[1] == 0x00040506, "expected 0x00040506, got %#x\n", color[1]); in test_global_gif_palette() 155 ok(color[2] == 0xff070809, "expected 0xff070809, got %#x\n", color[2]); in test_global_gif_palette() 156 ok(color[3] == 0xff0a0b0c, "expected 0xff0a0b0c, got %#x\n", color[3]); in test_global_gif_palette() 177 ok(color[0] == 0xff010203, "expected 0xff010203, got %#x\n", color[0]); in test_global_gif_palette() 178 ok(color[1] == 0x00040506, "expected 0x00040506, got %#x\n", color[1]); in test_global_gif_palette() 179 ok(color[2] == 0xff070809, "expected 0xff070809, got %#x\n", color[2]); in test_global_gif_palette() 180 ok(color[3] == 0xff0a0b0c, "expected 0xff0a0b0c, got %#x\n", color[3]); in test_global_gif_palette() 218 ok(color[0] == 0xff010203, "expected 0xff010203, got %#x\n", color[0]); in test_global_gif_palette_2frames() 262 …ok(color[1] == 0xff040506 || broken(color[1] == 0x00040506) /* XP */, "expected 0xff040506, got %#… in test_global_gif_palette_2frames() [all …]
|
H A D | palette.c | 419 WICColor color[256]; in test_predefined_palette() member 453 WICColor color[256]; in test_predefined_palette() local 523 ok(color[j] == td[i].color[j], "%u:[%u]: expected %#x, got %#x\n", in test_predefined_palette() 524 i, j, td[i].color[j], color[j]); in test_predefined_palette() 568 WICColor color[257]; in test_palette_from_bitmap() local 616 memset(color, 0, sizeof(color)); in test_palette_from_bitmap() 617 hr = IWICPalette_GetColors(palette, count, color, &ret); in test_palette_from_bitmap() 620 ok(color[count - 1] != 0, "expected !0, got %08x\n", color[count - 1]); in test_palette_from_bitmap() 633 memset(color, 0xff, sizeof(color)); in test_palette_from_bitmap() 634 hr = IWICPalette_GetColors(palette, count, color, &ret); in test_palette_from_bitmap() [all …]
|
/reactos/dll/cpl/console/ |
H A D | colors.c | 43 COLORREF color; in ColorsProc() local 91 color = ConInfo->ColorTable[colorIndex]; in ColorsProc() 96 color = RGB(lpnmud->iPos, GetGValue(color), GetBValue(color)); in ColorsProc() 101 color = RGB(GetRValue(color), lpnmud->iPos, GetBValue(color)); in ColorsProc() 106 color = RGB(GetRValue(color), GetGValue(color), lpnmud->iPos); in ColorsProc() 113 ConInfo->ColorTable[colorIndex] = color; in ColorsProc() 161 color = ConInfo->ColorTable[colorIndex]; in ColorsProc() 182 color = ConInfo->ColorTable[colorIndex]; in ColorsProc() 236 color = RGB(value, GetGValue(color), GetBValue(color)); in ColorsProc() 242 color = RGB(GetRValue(color), value, GetBValue(color)); in ColorsProc() [all …]
|
/reactos/media/themes/Modern/modern.msstyles/textfiles/Light/ |
H A D | RegularLight.INI | 85 BorderColorHint = 0 60 116; Edge color 119 BorderColorHint = 29 82 129; Edge color 168 BorderColorHint = 29 82 129; Edge color 1577 BorderColorHint = ; Edge color 1604 BorderColorHint = ; Edge color 1646 BorderColorHint = ; Edge color 1663 BorderColorHint = ; Edge color 1681 BorderColorHint = ; Edge color 1698 BorderColorHint = ; Edge color 1733 BorderColorHint = ; Edge color [all …]
|
H A D | ExtraLargeLight.INI | 85 BorderColorHint = 0 60 116; Edge color 119 BorderColorHint = 29 82 129; Edge color 168 BorderColorHint = 29 82 129; Edge color 1577 BorderColorHint = ; Edge color 1604 BorderColorHint = ; Edge color 1646 BorderColorHint = ; Edge color 1663 BorderColorHint = ; Edge color 1681 BorderColorHint = ; Edge color 1698 BorderColorHint = ; Edge color 1733 BorderColorHint = ; Edge color [all …]
|
H A D | LargeFontsLight.INI | 85 BorderColorHint = 0 60 116; Edge color 119 BorderColorHint = 29 82 129; Edge color 168 BorderColorHint = 29 82 129; Edge color 1577 BorderColorHint = ; Edge color 1604 BorderColorHint = ; Edge color 1646 BorderColorHint = ; Edge color 1663 BorderColorHint = ; Edge color 1681 BorderColorHint = ; Edge color 1698 BorderColorHint = ; Edge color 1733 BorderColorHint = ; Edge color [all …]
|
/reactos/media/themes/Modern/modern.msstyles/textfiles/Dark/ |
H A D | ExtraLargeDark.INI | 85 BorderColorHint = 0 60 116; Edge color 119 BorderColorHint = 29 82 129; Edge color 168 BorderColorHint = 29 82 129; Edge color 1577 BorderColorHint = ; Edge color 1604 BorderColorHint = ; Edge color 1646 BorderColorHint = ; Edge color 1663 BorderColorHint = ; Edge color 1681 BorderColorHint = ; Edge color 1698 BorderColorHint = ; Edge color 1733 BorderColorHint = ; Edge color [all …]
|
H A D | LargeFontsDark.INI | 85 BorderColorHint = 0 60 116; Edge color 119 BorderColorHint = 29 82 129; Edge color 168 BorderColorHint = 29 82 129; Edge color 1577 BorderColorHint = ; Edge color 1604 BorderColorHint = ; Edge color 1646 BorderColorHint = ; Edge color 1663 BorderColorHint = ; Edge color 1681 BorderColorHint = ; Edge color 1698 BorderColorHint = ; Edge color 1733 BorderColorHint = ; Edge color [all …]
|
H A D | RegularDark.INI | 85 BorderColorHint = 0 60 116; Edge color 119 BorderColorHint = 29 82 129; Edge color 168 BorderColorHint = 29 82 129; Edge color 1577 BorderColorHint = ; Edge color 1604 BorderColorHint = ; Edge color 1646 BorderColorHint = ; Edge color 1663 BorderColorHint = ; Edge color 1681 BorderColorHint = ; Edge color 1698 BorderColorHint = ; Edge color 1733 BorderColorHint = ; Edge color [all …]
|
/reactos/modules/rostests/winetests/gdiplus/ |
H A D | brush.c | 1111 color[0] = color[1] = color[2] = 0xdeadbeef; in test_gradientsurroundcolorcount() 1120 color[0] = color[1] = color[2] = 0xdeadbeef; in test_gradientsurroundcolorcount() 1129 color[0] = color[1] = color[2] = 0xdeadbeef; in test_gradientsurroundcolorcount() 1138 color[0] = color[1] = color[2] = 0xdeadbeef; in test_gradientsurroundcolorcount() 1184 color[0] = color[1] = color[2] = 0xdeadbeef; in test_gradientsurroundcolorcount() 1204 color[0] = color[1] = 0; in test_gradientsurroundcolorcount() 1210 color[0] = color[1] = color[2] = 0xdeadbeef; in test_gradientsurroundcolorcount() 1219 color[0] = color[1] = 0xff00ff00; in test_gradientsurroundcolorcount() 1225 color[0] = color[1] = color[2] = 0xdeadbeef; in test_gradientsurroundcolorcount() 1244 color[0] = color[1] = color[2] = 0xdeadbeef; in test_gradientsurroundcolorcount() [all …]
|
H A D | metafile.c | 587 ARGB color; in test_getdc() local 645 expect(0, color); in test_getdc() 662 expect(0, color); in test_getdc() 745 ARGB color; in test_emfonly() local 1041 ARGB color; in test_fillrect() local 1154 ARGB color; in test_clear() local 1361 ARGB color; in test_pagetransform() local 1566 ARGB color; in test_worldtransform() local 1993 ARGB color; in test_containers() local 2189 ARGB color; in test_clipping() local [all …]
|
H A D | image.c | 335 ARGB color; in test_GdipImageGetFrameDimensionsCount() local 568 ARGB color; in test_LockBits() local 807 ARGB color; in test_LockBits_UserBuf() local 1977 ARGB color; in test_getsetpixel() local 2303 ARGB color; in test_colormatrix() local 2549 ARGB color; in test_gamma() local 2678 ARGB color; in test_multiframegif() local 2899 ok(color==0 || broken(color==0xff0000ff), "color = %x\n", color); in test_multiframegif() 2929 ARGB color; in test_rotateflip() local 3046 ARGB color; in test_remaptable() local [all …]
|
/reactos/dll/opengl/mesa/ |
H A D | rastpos.c | 88 GLubyte color[4]; in gl_RasterPos4f() local 89 gl_color_shade_vertices( ctx, 0, 1, &eye, &eyenorm, &color ); in gl_RasterPos4f() 90 ctx->Current.RasterColor[0] = color[0] * ctx->Visual->InvRedScale; in gl_RasterPos4f() 91 ctx->Current.RasterColor[1] = color[1] * ctx->Visual->InvGreenScale; in gl_RasterPos4f() 92 ctx->Current.RasterColor[2] = color[2] * ctx->Visual->InvBlueScale; in gl_RasterPos4f() 189 GLubyte color[4]; in gl_windowpos() local 190 gl_color_shade_vertices( ctx, 0, 1, &eye, &eyenorm, &color ); in gl_windowpos() 192 (GLfloat) color[0] * ctx->Visual->InvRedScale, in gl_windowpos() 193 (GLfloat) color[1] * ctx->Visual->InvGreenScale, in gl_windowpos() 194 (GLfloat) color[2] * ctx->Visual->InvBlueScale, in gl_windowpos() [all …]
|
H A D | fog.c | 135 GLuint n, GLfloat v[][4], GLubyte color[][4] ) in gl_fog_color_vertices() 150 color[i][0] = f * color[i][0] + (1.0F-f) * fogr; in gl_fog_color_vertices() 151 color[i][1] = f * color[i][1] + (1.0F-f) * fogg; in gl_fog_color_vertices() 152 color[i][2] = f * color[i][2] + (1.0F-f) * fogb; in gl_fog_color_vertices() 160 color[i][0] = f * color[i][0] + (1.0F-f) * fogr; in gl_fog_color_vertices() 161 color[i][1] = f * color[i][1] + (1.0F-f) * fogg; in gl_fog_color_vertices() 162 color[i][2] = f * color[i][2] + (1.0F-f) * fogb; in gl_fog_color_vertices() 171 color[i][0] = f * color[i][0] + (1.0F-f) * fogr; in gl_fog_color_vertices() 172 color[i][1] = f * color[i][1] + (1.0F-f) * fogg; in gl_fog_color_vertices() 173 color[i][2] = f * color[i][2] + (1.0F-f) * fogb; in gl_fog_color_vertices()
|
H A D | pb.h | 68 GLint color[4]; /* Mono color, integers! */ member 90 if ((PB)->color[0]!=(R) || (PB)->color[1]!=(G) \ 91 || (PB)->color[2]!=(B) || (PB)->color[3]!=(A) \ 95 (PB)->color[0] = R; \ 96 (PB)->color[1] = G; \ 97 (PB)->color[2] = B; \ 98 (PB)->color[3] = A; \
|
H A D | lines.c | 195 GLfloat color[4]; in feedback_line() local 201 gl_feedback_vertex( ctx, x1,y1,z1,w1, color, in feedback_line() 203 gl_feedback_vertex( ctx, x2,y2,z2,w2, color, in feedback_line() 287 GLubyte *color = ctx->VB->Color[pvert]; in flat_rgba_line() local 288 PB_SET_COLOR( ctx, ctx->PB, color[0], color[1], color[2], color[3] ); in flat_rgba_line() 314 GLubyte *color = ctx->VB->Color[pvert]; in flat_rgba_z_line() local 315 PB_SET_COLOR( ctx, ctx->PB, color[0], color[1], color[2], color[3] ); in flat_rgba_z_line() 697 GLubyte *color = ctx->VB->Color[pvert]; in general_flat_rgba_line() local 698 PB_SET_COLOR( ctx, ctx->PB, color[0], color[1], color[2], color[3] ); in general_flat_rgba_line() 765 GLubyte *color = ctx->VB->Color[pv]; in flat_textured_line() local [all …]
|
/reactos/win32ss/gdi/gdi32/wine/mfdrv/ |
H A D | dc.c | 43 COLORREF MFDRV_SetBkColor( PHYSDEV dev, COLORREF color ) in MFDRV_SetBkColor() argument 45 … return MFDRV_MetaParam2(dev, META_SETBKCOLOR, HIWORD(color), LOWORD(color)) ? color : CLR_INVALID; in MFDRV_SetBkColor() 48 COLORREF MFDRV_SetTextColor( PHYSDEV dev, COLORREF color ) in MFDRV_SetTextColor() argument 50 …return MFDRV_MetaParam2(dev, META_SETTEXTCOLOR, HIWORD(color), LOWORD(color)) ? color : CLR_INVALI… in MFDRV_SetTextColor() 198 COLORREF MFDRV_SetDCBrushColor( PHYSDEV dev, COLORREF color ) in MFDRV_SetDCBrushColor() argument 203 COLORREF MFDRV_SetDCPenColor( PHYSDEV dev, COLORREF color ) in MFDRV_SetDCPenColor() argument
|
/reactos/modules/rostests/apitests/atl/ |
H A D | CImage.cpp | 212 COLORREF color; in Test_DIBSectionEntry() local 214 color = image1.GetPixel(0, 0); in Test_DIBSectionEntry() 215 ok(color == RGB(255, 255, 255), "Line %d: color was 0x%08lX\n", iLine, color); in Test_DIBSectionEntry() 217 color = image1.GetPixel(0, 0); in Test_DIBSectionEntry() 218 ok(color == RGB(0, 0, 0), "Line %d: color was 0x%08lX\n", iLine, color); in Test_DIBSectionEntry() 229 ok(color == RGB(255, 255, 255), "Line %d: color was 0x%08lX\n", iLine, color); in Test_DIBSectionEntry() 244 ok(color == RGB(255, 255, 255), "Line %d: color was 0x%08lX\n", iLine, color); in Test_DIBSectionEntry() 270 color = ::GetPixel(hdc2, 0, 0); in Test_DIBSectionEntry() 271 ok(color == RGB(0, 0, 0), "Line %d: %d: color was 0x%08lX\n", iLine, iDotExt, color); in Test_DIBSectionEntry() 272 color = ::GetPixel(hdc2, 1, 0); in Test_DIBSectionEntry() [all …]
|
/reactos/win32ss/drivers/font/bmfd/ |
H A D | glyph.c | 31 ULONG color) in _WritePixel() argument 35 *pjBits |= color << (~x & 0x7); in _WritePixel() 87 ULONG ulGlyphOffset, cjDstRow, color; in BmfdQueryGlyphAndBitmap() local 175 color = _ReadPixel(pvSrc0, xSrc, ySrc, cySrc); in BmfdQueryGlyphAndBitmap() 176 _WritePixel(pvDst0, xDst, yDst, cjDstRow, color); in BmfdQueryGlyphAndBitmap() 188 color = _ReadPixel(pvSrc0, xSrc, ySrc, cySrc); in BmfdQueryGlyphAndBitmap() 189 _WritePixel(pvDst0, xDst, yDst, cjDstRow, color); in BmfdQueryGlyphAndBitmap() 201 color = _ReadPixel(pvSrc0, xSrc, ySrc, cySrc); in BmfdQueryGlyphAndBitmap() 202 _WritePixel(pvDst0, xDst, yDst, cjDstRow, color); in BmfdQueryGlyphAndBitmap() 215 color = _ReadPixel(pvSrc0, xSrc, ySrc, cySrc); in BmfdQueryGlyphAndBitmap() [all …]
|
/reactos/base/applications/mspaint/ |
H A D | drawing.h | 10 void Line(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF color, int thickness); 20 void Bezier(HDC hdc, POINT p1, POINT p2, POINT p3, POINT p4, COLORREF color, int thickness); 22 void Fill(HDC hdc, LONG x, LONG y, COLORREF color); 24 void Erase(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF color, LONG radius); 28 void Airbrush(HDC hdc, LONG x, LONG y, COLORREF color, LONG r); 30 void Brush(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF color, LONG style, INT thickness);
|
/reactos/dll/directx/wine/d3d9/ |
H A D | d3d9_main.c | 96 int WINAPI D3DPERF_BeginEvent(D3DCOLOR color, const WCHAR *name) in D3DPERF_BeginEvent() argument 98 TRACE("color 0x%08x, name %s.\n", color, debugstr_w(name)); in D3DPERF_BeginEvent() 142 void WINAPI D3DPERF_SetMarker(D3DCOLOR color, const WCHAR *name) in D3DPERF_SetMarker() argument 144 FIXME("color 0x%08x, name %s stub!\n", color, debugstr_w(name)); in D3DPERF_SetMarker() 150 void WINAPI D3DPERF_SetRegion(D3DCOLOR color, const WCHAR *name) in D3DPERF_SetRegion() argument 152 FIXME("color 0x%08x, name %s stub!\n", color, debugstr_w(name)); in D3DPERF_SetRegion()
|