TextColor locally selects a text color for drawing. More...
#include <utility.h>

Public Member Functions | |
| TextColor (HDC hdc, COLORREF color) | |
| ~TextColor () | |
Protected Attributes | |
| HDC | _hdc |
| COLORREF | _old_color |
TextColor locally selects a text color for drawing.
Definition at line 593 of file utility.h.
| TextColor::TextColor | ( | HDC | hdc, |
| COLORREF | color | ||
| ) | [inline] |
Definition at line 595 of file utility.h.
: _hdc(hdc), _old_color(SetTextColor(hdc, color)) {}
| TextColor::~TextColor | ( | ) | [inline] |
Definition at line 598 of file utility.h.
{SetTextColor(_hdc, _old_color);}
HDC TextColor::_hdc [protected] |
COLORREF TextColor::_old_color [protected] |
|
ROS Explorer Source Code Documentation
generated on 02.01.2013 by
|