MWidgets::Image Class Reference

Class for manipulating with image resources. More...

#include <image.h>

List of all members.

Public Member Functions

 Image ()
 Constructor.
void Load (std::string fileName)
 Load bitmap;.
void Free ()
 Free bitmap handle;.
 ~Image ()
 Destructor.
HBITMAP GetHBITMAP ()
 Returns handle to bitmap.

Protected Attributes

HBITMAP m_hBitamp
 Handle to bitmap.


Detailed Description

Class for manipulating with image resources.

Definition at line 13 of file image.h.


Constructor & Destructor Documentation

MWidgets::Image::Image (  ) 

Constructor.

Definition at line 13 of file image.cpp.

References m_hBitamp.

MWidgets::Image::~Image (  ) 

Destructor.

Definition at line 37 of file image.cpp.

References m_hBitamp.


Member Function Documentation

void MWidgets::Image::Free (  ) 

Free bitmap handle;.

Definition at line 30 of file image.cpp.

References m_hBitamp.

HBITMAP MWidgets::Image::GetHBITMAP (  ) 

Returns handle to bitmap.

Definition at line 43 of file image.cpp.

References m_hBitamp.

Referenced by MWidgets::Button::SetImage().

void MWidgets::Image::Load ( std::string  fileName  ) 

Load bitmap;.

Parameters:
fileName path to file.

Definition at line 18 of file image.cpp.

References EXCEPT, and m_hBitamp.


Member Data Documentation

HBITMAP MWidgets::Image::m_hBitamp [protected]

Handle to bitmap.

Definition at line 16 of file image.h.

Referenced by Free(), GetHBITMAP(), Image(), Load(), and ~Image().


The documentation for this class was generated from the following files:
Generated on Thu Oct 26 13:47:46 2006 for MWidgets by  doxygen 1.4.7