#include <DrawButton.h>
|
| | DrawButton (int id, RECT button_rect, char *normal, char *focus, char *pressed, const char *string, TTFontClass *fontptr) |
| |
| | DrawButton (int id, RECT button_rect, char *normal, char *focus, char *pressed, const wchar_t *string, TTFontClass *fontptr) |
| |
| char * | Return_Normal_Bitmap (void) |
| |
| char * | Return_Pressed_Bitmap (void) |
| |
| char * | Return_Focus_Bitmap (void) |
| |
| char * | Return_Bitmap (void) |
| |
| bool | Draw_Bitmaps (void) |
| |
| void | Draw_Text (HDC hDC) |
| |
| BUTTON_STATE | Get_State (void) |
| |
| bool | Is_Mouse_In_Region (int mouse_x, int mouse_y) |
| |
| int | Return_Id (void) |
| |
| int | Return_X_Pos (void) |
| |
| int | Return_Y_Pos (void) |
| |
| int | Return_Width (void) |
| |
| int | Return_Height (void) |
| |
| int | Return_Stretched_Width (void) |
| |
| int | Return_Stretched_Height (void) |
| |
| void | Return_Area (RECT *area) |
| |
| void | Return_Area (Rect *area) |
| |
| void | Return_Text_Area (Rect *area) |
| |
| TTFontClass * | Return_Font_Ptr (void) |
| |
| wchar_t * | Return_Text (void) |
| |
| void | Set_State (BUTTON_STATE state) |
| |
| int | Set_Stretched_Width (int) |
| |
| int | Set_Stretched_Height (int) |
| |
Definition at line 45 of file DrawButton.h.
◆ BUTTON_STATE
| Enumerator |
|---|
| NORMAL_STATE | |
| PRESSED_STATE | |
| FOCUS_STATE | |
Definition at line 49 of file DrawButton.h.
◆ DrawButton() [1/2]
| DrawButton::DrawButton |
( |
int | id, |
|
|
RECT | button_rect, |
|
|
char * | normal, |
|
|
char * | focus, |
|
|
char * | pressed, |
|
|
const char * | string, |
|
|
TTFontClass * | fontptr ) |
◆ DrawButton() [2/2]
| DrawButton::DrawButton |
( |
int | id, |
|
|
RECT | button_rect, |
|
|
char * | normal, |
|
|
char * | focus, |
|
|
char * | pressed, |
|
|
const wchar_t * | string, |
|
|
TTFontClass * | fontptr ) |
◆ Draw_Bitmaps()
| bool DrawButton::Draw_Bitmaps |
( |
void | | ) |
|
|
inline |
◆ Draw_Text()
| void DrawButton::Draw_Text |
( |
HDC | hDC | ) |
|
◆ Get_State()
◆ Is_Mouse_In_Region()
| bool DrawButton::Is_Mouse_In_Region |
( |
int | mouse_x, |
|
|
int | mouse_y ) |
◆ Return_Area() [1/2]
| void DrawButton::Return_Area |
( |
RECT * | area | ) |
|
◆ Return_Area() [2/2]
| void DrawButton::Return_Area |
( |
Rect * | area | ) |
|
◆ Return_Bitmap()
| char * DrawButton::Return_Bitmap |
( |
void | | ) |
|
◆ Return_Focus_Bitmap()
| char * DrawButton::Return_Focus_Bitmap |
( |
void | | ) |
|
|
inline |
◆ Return_Font_Ptr()
◆ Return_Height()
| int DrawButton::Return_Height |
( |
void | | ) |
|
|
inline |
◆ Return_Id()
| int DrawButton::Return_Id |
( |
void | | ) |
|
|
inline |
◆ Return_Normal_Bitmap()
| char * DrawButton::Return_Normal_Bitmap |
( |
void | | ) |
|
|
inline |
◆ Return_Pressed_Bitmap()
| char * DrawButton::Return_Pressed_Bitmap |
( |
void | | ) |
|
|
inline |
◆ Return_Stretched_Height()
| int DrawButton::Return_Stretched_Height |
( |
void | | ) |
|
|
inline |
◆ Return_Stretched_Width()
| int DrawButton::Return_Stretched_Width |
( |
void | | ) |
|
|
inline |
◆ Return_Text()
| wchar_t * DrawButton::Return_Text |
( |
void | | ) |
|
|
inline |
◆ Return_Text_Area()
| void DrawButton::Return_Text_Area |
( |
Rect * | area | ) |
|
◆ Return_Width()
| int DrawButton::Return_Width |
( |
void | | ) |
|
|
inline |
◆ Return_X_Pos()
| int DrawButton::Return_X_Pos |
( |
void | | ) |
|
|
inline |
◆ Return_Y_Pos()
| int DrawButton::Return_Y_Pos |
( |
void | | ) |
|
|
inline |
◆ Set_State()
◆ Set_Stretched_Height()
| int DrawButton::Set_Stretched_Height |
( |
int | value | ) |
|
◆ Set_Stretched_Width()
| int DrawButton::Set_Stretched_Width |
( |
int | value | ) |
|
◆ ButtonState
◆ FocusBitmap
| char DrawButton::FocusBitmap[_MAX_FNAME] |
|
protected |
◆ Id
◆ MyFontPtr
◆ MyRect
◆ NormalBitmap
| char DrawButton::NormalBitmap[_MAX_FNAME] |
|
protected |
◆ PressedBitmap
| char DrawButton::PressedBitmap[_MAX_FNAME] |
|
protected |
◆ rect
◆ StretchedHeight
| int DrawButton::StretchedHeight |
|
protected |
◆ StretchedWidth
| int DrawButton::StretchedWidth |
|
protected |
◆ String
| wchar_t DrawButton::String[MAX_PATH] |
|
protected |
◆ TextRect
| Rect DrawButton::TextRect |
|
protected |
◆ UseBitmaps
| bool DrawButton::UseBitmaps |
|
protected |
The documentation for this class was generated from the following files: