|
Public Member Functions |
| PG_MessageBox (PG_Widget *parent, const PG_Rect &r, const char *windowtitle, const char *windowtext, const PG_Rect &btn1, const char *btn1text, const PG_Rect &btn2, const char *btn2text, PG_Label::TextAlign textalign=PG_Label::CENTER, const char *style="MessageBox") |
| Creates a PopUp with 2 Buttons.
|
| PG_MessageBox (PG_Widget *parent, const PG_Rect &r, const char *windowtitle, const char *windowtext, const PG_Rect &btn1, const char *btn1text, PG_Label::TextAlign textalign=PG_Label::CENTER, const char *style="MessageBox") |
| Creates a PopUp with 1 Button.
|
| ~PG_MessageBox () |
| Destructor.
|
void | LoadThemeStyle (const char *widgettype) |
| Load a specific themestyle.
|
int | WaitForClick () |
| Waits for a button click and returns Button ID.
|
Protected Member Functions |
bool | handleButton (PG_Button *button) |
| Checks if button is pressed.
|
Protected Attributes |
int | buttonflag |
| Buttonflag is set to ButtonID, if a button is clicked.
|
PG_Button * | my_btnok |
PG_Button * | my_btncancel |