Public Member Functions | Protected Attributes

SelectedBitmap Struct Reference

SelectedBitmap is used to localy select bitmaps into device contexts. More...

#include <utility.h>

Collaboration diagram for SelectedBitmap:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SelectedBitmap (HDC hdc, HBITMAP hbmp)
 ~SelectedBitmap ()

Protected Attributes

HDC _hdc
HBITMAP _old_hbmp

Detailed Description

SelectedBitmap is used to localy select bitmaps into device contexts.

Definition at line 534 of file utility.h.


Constructor & Destructor Documentation

SelectedBitmap::SelectedBitmap ( HDC  hdc,
HBITMAP  hbmp 
) [inline]

Definition at line 536 of file utility.h.

     :  _hdc(hdc), _old_hbmp(SelectBitmap(hdc, hbmp)) {}
SelectedBitmap::~SelectedBitmap (  ) [inline]

Definition at line 539 of file utility.h.

{DeleteObject(SelectBitmap(_hdc, _old_hbmp));}

Member Data Documentation

HDC SelectedBitmap::_hdc [protected]

Definition at line 542 of file utility.h.

HBITMAP SelectedBitmap::_old_hbmp [protected]

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