ReactOS 0.4.16-dev-320-g3bd9ddc
cardregion.cpp File Reference
#include "cardlib.h"
Include dependency graph for cardregion.cpp:

Go to the source code of this file.

Functions

HBITMAP CreateSinkBmp (HDC hdcCompat, HDC hdc, int width, int height)
 
void PaintRect (HDC hdc, RECT *rect, COLORREF colour)
 

Function Documentation

◆ CreateSinkBmp()

HBITMAP CreateSinkBmp ( HDC  hdcCompat,
HDC  hdc,
int  width,
int  height 
)

◆ PaintRect()

void PaintRect ( HDC  hdc,
RECT rect,
COLORREF  colour 
)

Definition at line 116 of file cardlib.cpp.

117{
118 COLORREF oldcr = SetBkColor(hdc, colour);
119 ExtTextOut(hdc, 0, 0, ETO_OPAQUE, rect, TEXT(""), 0, 0);
120 SetBkColor(hdc, oldcr);
121}
#define TEXT(s)
Definition: k32.h:26
HDC hdc
Definition: main.c:9
& rect
Definition: startmenu.cpp:1413
DWORD COLORREF
Definition: windef.h:300
COLORREF WINAPI SetBkColor(_In_ HDC, _In_ COLORREF)
Definition: dc.c:999
#define ExtTextOut
Definition: wingdi.h:4454
#define ETO_OPAQUE
Definition: wingdi.h:647