Public Member Functions | Protected Attributes

WindowCanvas Struct Reference

WindowCanvas is a encapsulation of client area device contexts. More...

#include <utility.h>

Inheritance diagram for WindowCanvas:
Inheritance graph
[legend]
Collaboration diagram for WindowCanvas:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 WindowCanvas (HWND hwnd)
 ~WindowCanvas ()

Protected Attributes

HWND _hwnd

Detailed Description

WindowCanvas is a encapsulation of client area device contexts.

Definition at line 510 of file utility.h.


Constructor & Destructor Documentation

WindowCanvas::WindowCanvas ( HWND  hwnd ) [inline]

Definition at line 512 of file utility.h.

     :  Canvas(GetDC(hwnd)), _hwnd(hwnd) {}
WindowCanvas::~WindowCanvas (  ) [inline]

Definition at line 515 of file utility.h.

{ReleaseDC(_hwnd, _hdc);}

Member Data Documentation

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