ReactOS 0.4.15-dev-7942-gd23573b
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}
#define NULL
Definition: types.h:112
static const WCHAR dc[]
#define ExtTextOut
Definition: wingdi.h:4454
#define ETO_OPAQUE
Definition: wingdi.h:647

◆ 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}
COLORREF WINAPI SetBkColor(_In_ HDC, _In_ COLORREF)
Definition: dc.c:999

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().