#include <wg_button.h>
Inheritance diagram for wGui::CPictureButton:

Definition at line 114 of file wg_button.h.
| wGui::CPictureButton::CPictureButton | ( | const CRect & | WindowRect, | |
| CWindow * | pParent, | |||
| std::wstring | sPictureFile | |||
| ) |
Constructs a new picture button
| WindowRect | A CRect that defines the outer limits of the control | |
| pParent | A pointer to the parent window | |
| sPictureFile | The file to use as the button's picture |
Definition at line 197 of file wg_button.cpp.
References Draw().
| wGui::CPictureButton::CPictureButton | ( | const CRect & | WindowRect, | |
| CWindow * | pParent, | |||
| const CBitmapResourceHandle & | hBitmap | |||
| ) |
Constructs a new picture button
| WindowRect | A CRect that defines the outer limits of the control | |
| pParent | A pointer to the parent window | |
| hBitmap | A handle for the bitmap resource |
Definition at line 206 of file wg_button.cpp.
References Draw().
| void wGui::CPictureButton::SetPicture | ( | std::wstring | sPictureFile | ) |
Change the picture the button displays
| sPictureFile | The file to use as the button's picture |
Definition at line 221 of file wg_button.cpp.
| void wGui::CPictureButton::SetPicture | ( | const CBitmapResourceHandle & | hBitmap | ) |
Change the picture the button displays
| hBitmap | A handle for the bitmap resource |
Definition at line 227 of file wg_button.cpp.
References Draw().
1.5.1