ReactOS  0.4.14-dev-317-g96040ec
brandband.cpp File Reference
#include "precomp.h"
Include dependency graph for brandband.cpp:

Go to the source code of this file.

Functions

void FillSolidRect (HDC dc, const RECT *bounds)
 
void FillSolidRect (HDC dc, const RECT *bounds, COLORREF clr)
 

Variables

static const int gMediumImageSize = 26
 
static const int gLargeImageSize = 38
 
static const int gTrueColorResourceBase = 240
 
static const int g256ColorResourceBase = 245
 

Function Documentation

◆ FillSolidRect() [1/2]

void FillSolidRect ( HDC  dc,
const RECT bounds 
)
inline

Definition at line 35 of file brandband.cpp.

36 {
37  ::ExtTextOut(dc, 0, 0, ETO_OPAQUE, bounds, NULL, 0, NULL);
38 }
HDC dc
Definition: cylfrac.c:34
#define ETO_OPAQUE
Definition: wingdi.h:646
smooth NULL
Definition: ftsmooth.c:416
#define ExtTextOut
Definition: wingdi.h:4449

Referenced by CBrandBand::OnPaint().

◆ FillSolidRect() [2/2]

void FillSolidRect ( HDC  dc,
const RECT bounds,
COLORREF  clr 
)
inline

Definition at line 40 of file brandband.cpp.

41 {
42  ::SetBkColor(dc, clr);
43  ::ExtTextOut(dc, 0, 0, ETO_OPAQUE, bounds, NULL, 0, NULL);
44 }
HDC dc
Definition: cylfrac.c:34
COLORREF WINAPI SetBkColor(_In_ HDC, _In_ COLORREF)
Definition: dc.c:975
#define ETO_OPAQUE
Definition: wingdi.h:646
smooth NULL
Definition: ftsmooth.c:416
#define ExtTextOut
Definition: wingdi.h:4449

Variable Documentation

◆ g256ColorResourceBase

const int g256ColorResourceBase = 245
static

Definition at line 51 of file brandband.cpp.

Referenced by CBrandBand::SelectImage().

◆ gLargeImageSize

const int gLargeImageSize = 38
static

Definition at line 48 of file brandband.cpp.

Referenced by CBrandBand::SelectImage().

◆ gMediumImageSize

const int gMediumImageSize = 26
static

Definition at line 47 of file brandband.cpp.

Referenced by CBrandBand::SelectImage().

◆ gTrueColorResourceBase

const int gTrueColorResourceBase = 240
static

Definition at line 50 of file brandband.cpp.

Referenced by CBrandBand::SelectImage().