BrushSelection locally selects a brush into a device context. More...
#include <utility.h>

Public Member Functions | |
| BrushSelection (HDC hdc, HBRUSH hBrush) | |
| ~BrushSelection () | |
Protected Attributes | |
| HDC | _hdc |
| HBRUSH | _old_hBrush |
BrushSelection locally selects a brush into a device context.
Definition at line 645 of file utility.h.
| BrushSelection::BrushSelection | ( | HDC | hdc, |
| HBRUSH | hBrush | ||
| ) | [inline] |
Definition at line 647 of file utility.h.
: _hdc(hdc), _old_hBrush(SelectBrush(hdc, hBrush)) {}
| BrushSelection::~BrushSelection | ( | ) | [inline] |
Definition at line 650 of file utility.h.
{SelectBrush(_hdc, _old_hBrush);}
HDC BrushSelection::_hdc [protected] |
HBRUSH BrushSelection::_old_hBrush [protected] |
|
ROS Explorer Source Code Documentation
generated on 02.01.2013 by
|