Public Member Functions | Protected Attributes

BkMode Struct Reference

BkMode locally sets the background mode for drawing. More...

#include <utility.h>

Collaboration diagram for BkMode:
Collaboration graph

List of all members.

Public Member Functions

 BkMode (HDC hdc, int bkmode)
 ~BkMode ()

Protected Attributes

HDC _hdc
COLORREF _old_bkmode

Detailed Description

BkMode locally sets the background mode for drawing.

Definition at line 606 of file utility.h.

Constructor & Destructor Documentation

BkMode::BkMode ( HDC  hdc,
int  bkmode 
) [inline]

Definition at line 608 of file utility.h.

     : _hdc(hdc), _old_bkmode(SetBkMode(hdc, bkmode)) {}
BkMode::~BkMode (  ) [inline]

Definition at line 611 of file utility.h.

{SetBkMode(_hdc, _old_bkmode);}

Member Data Documentation

HDC BkMode::_hdc [protected]

Definition at line 614 of file utility.h.

COLORREF BkMode::_old_bkmode [protected]

Definition at line 615 of file utility.h.

The documentation for this struct was generated from the following file:

ROS Explorer Source Code Documentation
generated on 02.01.2013 by doxygen

ROS Explorer Homepage