|
Public Member Functions |
| GWindow (GContainer *parent=NULL) |
| Simple constructor for GWindow.
|
virtual void | Create (float x, float y, float width, float height, ResourceID backgroundImg) |
| GButton's create function, must be called to set up actual button.
|
virtual void | Message (SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch) |
| Overload of Message, used to recieve messages.
|
virtual void | Show () |
| Draws window & children to the screen.
|
Protected Attributes |
bool | rDrag |
| Holds internal state of if mouse is dragging the window or not.
|
float | rDragX |
| X value of drag coordinate used for drag calculation.
|
float | rDragY |
| Y value of drag coordinate used for drag calculation.
|
ResourceID | rBackground |
| Image used for window.
|