#include <messagebox.h>
Definition at line 29 of file messagebox.h.
Public Member Functions | |
glictMessageBox () | |
void | Paint () |
Paints the window. | |
void | SetBGColor (float r, float g, float b, float a) |
void | SetEnabled (bool enabled) |
Sets enabledness. | |
void | SetHeight (int height) |
void | SetMessage (std::string msg) |
void | SetOnDismiss (void(*OnClickFunction)(glictPos *relmousepos, glictContainer *callerclass)) |
void | SetWidth (int width) |
~glictMessageBox () | |
Private Attributes | |
glictButton | btnOk |
std::string | mesg |
glictPanel | pnlMessage |
Friends | |
void | _glictMessageBox_Closer (glictPos *relmousepos, glictContainer *caller) |
void glictMessageBox::Paint | ( | ) | [virtual] |
Paints the window.
Paints the widget called window, simulating looks of windows on other platforms (to a very plain and flat extent), and then calls CPaint() which will paint all the subwidgets.
Reimplemented from glictWindow.
Definition at line 72 of file messagebox.cpp.
References glictContainer::GetVisible(), and glictWindow::Paint().
void glictMessageBox::SetEnabled | ( | bool | enabled | ) |
Sets enabledness.
enabled | Object's "enabledness" |
Reimplemented from glictContainer.
Definition at line 105 of file messagebox.cpp.
References btnOk, glictContainer::SetEnabled(), SetHeight(), and glictContainer::SetVisible().
void _glictMessageBox_Closer | ( | glictPos * | relmousepos, | |
glictContainer * | caller | |||
) | [friend] |
Reimplemented from glictContainer.
Definition at line 22 of file messagebox.cpp.
Referenced by glictMessageBox().