Public Member Functions | Protected Attributes

BitmapSelection Struct Reference

BitmapSelection locally selects a bitmap into a device context. More...

#include <utility.h>

Collaboration diagram for BitmapSelection:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BitmapSelection (HDC hdc, HBITMAP hBmp)
 ~BitmapSelection ()

Protected Attributes

HDC _hdc
HBITMAP _old_hBmp

Detailed Description

BitmapSelection locally selects a bitmap into a device context.

Definition at line 632 of file utility.h.


Constructor & Destructor Documentation

BitmapSelection::BitmapSelection ( HDC  hdc,
HBITMAP  hBmp 
) [inline]

Definition at line 634 of file utility.h.

     : _hdc(hdc), _old_hBmp(SelectBitmap(hdc, hBmp)) {}
BitmapSelection::~BitmapSelection (  ) [inline]

Definition at line 637 of file utility.h.

{SelectBitmap(_hdc, _old_hBmp);}

Member Data Documentation

HDC BitmapSelection::_hdc [protected]

Definition at line 640 of file utility.h.

HBITMAP BitmapSelection::_old_hBmp [protected]

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