|
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 () |
| | OBSOLETE - Waits for a button click and returns Button ID.
|
Protected Member Functions |
| virtual bool | handleButton (PG_Button *button) |
| | Checks if button is pressed.
|
Protected Attributes |
| PG_Button * | my_btnok |
| PG_Button * | my_btncancel |