/reactos/base/applications/mspaint/ |
H A D | drawing.h | 12 void Rect(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF fg, COLORREF bg, int thickness, int… 14 void Ellp(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF fg, COLORREF bg, int thickness, int… 16 void RRect(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF fg, COLORREF bg, int thickness, in… 18 void Poly(HDC hdc, POINT *lpPoints, int nCount, COLORREF fg, COLORREF bg, int thickness, int style,… 26 void Replace(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF fg, COLORREF bg, LONG radius); 34 void Text(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF fg, COLORREF bg, LPCWSTR lpchText, …
|
H A D | drawing.cpp | 27 HPEN oldPen = (HPEN) SelectObject(hdc, CreatePen(PS_SOLID, thickness, fg)); in Rect() 29 logbrush.lbColor = (style == 2) ? fg : bg; in Rect() 42 HPEN oldPen = (HPEN) SelectObject(hdc, CreatePen(PS_SOLID, thickness, fg)); in Ellp() 44 logbrush.lbColor = (style == 2) ? fg : bg; in Ellp() 57 HPEN oldPen = (HPEN) SelectObject(hdc, CreatePen(PS_SOLID, thickness, fg)); in RRect() 59 logbrush.lbColor = (style == 2) ? fg : bg; in RRect() 72 HPEN oldPen = (HPEN) SelectObject(hdc, CreatePen(PS_SOLID, thickness, fg)); in Poly() 79 logbrush.lbColor = (style == 2) ? fg : bg; in Poly() 132 Replace(HDC hdc, LONG x1, LONG y1, LONG x2, LONG y2, COLORREF fg, COLORREF bg, LONG radius) in Replace() argument 145 if (::GetPixel(hdc, x, y) == fg) in Replace() [all …]
|
/reactos/sdk/lib/3rdparty/cardlib/ |
H A D | cardbitmaps.cpp | 132 static void DrawCheckedRect(HDC hdc, RECT *rect, COLORREF fg, COLORREF bg) in DrawCheckedRect() argument 152 fgold = SetTextColor(hdc, fg); in DrawCheckedRect() 168 void GetSinkCols(COLORREF crBase, COLORREF *fg, COLORREF *bg, COLORREF *sh1, COLORREF *sh2) in GetSinkCols() argument 171 if(fg) *fg = ColorScaleRGB(crBase, RGB(255,255,255), 0.2);//RGB(49, 99, 140); in GetSinkCols() 184 COLORREF fg, bg, shadow, shadow2; in CreateSinkBmp() local 186 GetSinkCols(col, &fg, &bg, &shadow, &shadow2); in CreateSinkBmp() 195 hpfg = CreatePen(PS_SOLID, 0, MAKE_PALETTERGB(fg)); in CreateSinkBmp() 232 DrawCheckedRect(hdc, &rect, MAKE_PALETTERGB(bg), MAKE_PALETTERGB(fg)); in CreateSinkBmp()
|
H A D | cardwindow.cpp | 32 void GetSinkCols(COLORREF crBase, COLORREF *fg, COLORREF *bg, COLORREF *sh1, COLORREF *sh2);
|
/reactos/dll/win32/gdiplus/ |
H A D | gdiplus_private.h | 142 static inline ARGB color_over(ARGB bg, ARGB fg) in color_over() argument 147 fg_alpha = (fg>>24)&0xff; in color_over() 149 if (fg_alpha == 0xff) return fg; in color_over() 155 if (bg_alpha == 0) return fg; in color_over() 158 b = ((bg&0xff)*bg_alpha + (fg&0xff)*fg_alpha)/a; in color_over() 159 g = (((bg>>8)&0xff)*bg_alpha + ((fg>>8)&0xff)*fg_alpha)/a; in color_over() 166 static inline ARGB color_over_fgpremult(ARGB bg, ARGB fg) in color_over_fgpremult() argument 171 fg_alpha = (fg>>24)&0xff; in color_over_fgpremult() 178 b = ((bg&0xff)*bg_alpha + (fg&0xff)*0xff)/a; in color_over_fgpremult() 179 g = (((bg>>8)&0xff)*bg_alpha + ((fg>>8)&0xff)*0xff)/a; in color_over_fgpremult() [all …]
|
/reactos/base/applications/network/telnet/src/ |
H A D | tconsole.cpp | 134 fg = defaultfg; in Normal() 136 wAttributes = (unsigned char)fg | (bg << 4); in Normal() 142 if(reverse) bg = wAttrib; else fg = wAttrib; in SetForeground() 144 (unsigned char)fg | (bg << 4); in SetForeground() 148 if(reverse) fg = wAttrib; else bg = wAttrib; in SetBackground() 150 (unsigned char)fg | (bg << 4); in SetBackground() 331 wAttributes = fg | (bg << 4); in ReverseOff()
|
H A D | tconsole.h | 152 unsigned char fg, bg; variable
|
/reactos/dll/opengl/mesa/ |
H A D | tritemp.h | 503 GLfixed fg, fdgOuter, fdgInner; variable 621 fg = (GLfixed)(IntToFixed(VB->Color[vLower][1]) + dgdx * adjx + dgdy * adjy) 728 GLfixed ffr = fr, ffg = fg, ffb = fb; 799 fr += fdrOuter; fg += fdgOuter; fb += fdbOuter; 829 fr += fdrInner; fg += fdgInner; fb += fdbInner;
|
/reactos/sdk/include/reactos/libs/libpng/ |
H A D | png.h | 2510 # define png_composite(composite, fg, alpha, bg) \ argument 2512 png_uint_16 temp = (png_uint_16)((png_uint_16)(fg) \ 2519 # define png_composite_16(composite, fg, alpha, bg) \ argument 2521 png_uint_32 temp = (png_uint_32)((png_uint_32)(fg) \ 2530 # define png_composite(composite, fg, alpha, bg) \ argument 2532 (png_byte)(0xff & (((png_uint_16)(fg) * (png_uint_16)(alpha) + \ 2536 # define png_composite_16(composite, fg, alpha, bg) \ argument 2538 (png_uint_16)(0xffff & (((png_uint_32)(fg) * (png_uint_32)(alpha) + \
|
/reactos/modules/rostests/winetests/gdi32/ |
H A D | bitmap.c | 1607 static BOOL is_black_pen( COLORREF fg, COLORREF bg, int r, int g, int b ) in is_black_pen() argument 1609 if (fg == 0 || bg == 0xffffff) return RGB(r,g,b) != 0xffffff && RGB(r,g,b) != bg; in is_black_pen() 1613 static void test_bitmap_colors( HDC hdc, COLORREF fg, COLORREF bg, int r, int g, int b ) in test_bitmap_colors() argument 1629 "wrong result %06x for %02x,%02x,%02x fg %06x bg %06x\n", res, r, g, b, fg, bg ); in test_bitmap_colors() 1632 "wrong result %06x for %02x,%02x,%02x fg %06x bg %06x\n", res, r, g, b, fg, bg ); in test_bitmap_colors() 1635 "wrong result %06x for %02x,%02x,%02x fg %06x bg %06x\n", res, r, g, b, fg, bg ); in test_bitmap_colors() 1642 ok( res == (is_black_pen( fg, bg, r, g, b ) ? 0 : 0xffffff), in test_bitmap_colors() 1643 "wrong result %06x for %02x,%02x,%02x fg %06x bg %06x\n", res, r, g, b, fg, bg ); in test_bitmap_colors() 1645 ok( bits[0] == (is_black_pen( fg, bg, r, g, b ) ? 0x00 : 0xffff), in test_bitmap_colors() 1646 "wrong bits %04x for %02x,%02x,%02x fg %06x bg %06x\n", bits[0], r, g, b, fg, bg ); in test_bitmap_colors() [all …]
|
/reactos/win32ss/user/user32/windows/ |
H A D | draw.c | 1246 COLORREF fg, bg; in IntDrawState() local 1334 fg = SetTextColor(hdc, RGB(0, 0, 0)); in IntDrawState() 1408 SetTextColor(hdc, fg); in IntDrawState()
|
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/ |
H A D | xwin.c | 2310 XColor bg, fg; in ui_create_cursor() local 2358 fg.red = fg.blue = fg.green = 0xffff; in ui_create_cursor() 2360 fg.flags = bg.flags = DoRed | DoBlue | DoGreen; in ui_create_cursor() 2367 (Pixmap) maskglyph, &fg, &bg, x, y); in ui_create_cursor()
|
/reactos/modules/rosapps/applications/net/tsclient/rdesktop/doc/ |
H A D | patches.txt | 88 The colors in patterns drawn with "pattern blt" order was inverted (fg
|
/reactos/sdk/include/dxsdk/ |
H A D | d3dx9math.inl | 719 inline D3DXCOLOR::D3DXCOLOR(FLOAT fr, FLOAT fg, FLOAT fb, FLOAT fa) argument 722 g = fg;
|
H A D | d3dx9math.h | 231 D3DXCOLOR(FLOAT fr, FLOAT fg, FLOAT fb, FLOAT fa);
|
/reactos/modules/rostests/winetests/comctl32/ |
H A D | listview.c | 5434 HWND hwnd, fg; in test_hover() local 5439 fg = GetForegroundWindow(); in test_hover() 5440 if (fg != hwndparent) in test_hover() 6073 HWND hwnd, fg; in test_oneclickactivate() local 6086 fg = GetForegroundWindow(); in test_oneclickactivate() 6087 if (fg != hwndparent) in test_oneclickactivate()
|
/reactos/media/drivers/etc/ |
H A D | services | 5370 fg-fps 3293/tcp #fg-fps 5371 fg-fps 3293/udp #fg-fps 5372 fg-gip 3294/tcp #fg-gip 5373 fg-gip 3294/udp #fg-gip 7318 fg-sysupdate 6550/tcp #fg-sysupdate 7319 fg-sysupdate 6550/udp #fg-sysupdate
|