| 
 Public Member Functions | 
|   | GButton (GContainer *parent=NULL) | 
|   | Simple constructor for GButton. 
 
  | 
| virtual void  | Create (float x, float y, float width, float height, ResourceID normalImg, ResourceID pressImg, GButtonType type=GBT_PRESS) | 
|   | 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 this button to the screen. 
 
  | 
| bool  | IsPressed () | 
|   | Returns button state. 
 
  | 
| void  | SetState (bool pressed) | 
|   | Sets button state (pressed/unpressed). 
 
  | 
 Protected Attributes | 
| 
bool  | rPressed | 
|   | Boolean holding if button is currently pressed or not.
 
  | 
| 
GButtonType  | rType | 
|   | Enum for type of button.
 
  | 
| 
ResourceID  | rNormalImage | 
|   | Resource ID for the non-pressed image.
 
  | 
| 
ResourceID  | rPressedImage | 
|   | Resource ID for the pressed (or hover) image.
 
  |