Public Member Functions | Protected Attributes

BrushSelection Struct Reference

BrushSelection locally selects a brush into a device context. More...

#include <utility.h>

Collaboration diagram for BrushSelection:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BrushSelection (HDC hdc, HBRUSH hBrush)
 ~BrushSelection ()

Protected Attributes

HDC _hdc
HBRUSH _old_hBrush

Detailed Description

BrushSelection locally selects a brush into a device context.

Definition at line 645 of file utility.h.


Constructor & Destructor Documentation

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);}

Member Data Documentation

HDC BrushSelection::_hdc [protected]

Definition at line 653 of file utility.h.

HBRUSH BrushSelection::_old_hBrush [protected]

Definition at line 654 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