|
| void | tram::GUI::Init () |
| | Performs initialization of the GUI system. More...
|
| |
| void | tram::GUI::Update () |
| | Submits all of the glyphs for rendering. More...
|
| |
| font_t | tram::GUI::RegisterFont (Render::Sprite *sprite) |
| | Registers a font. More...
|
| |
| void | tram::GUI::SetScaling (uint32_t scale) |
| | Sets the scaling factor. More...
|
| |
| uint32_t | tram::GUI::GetScaling () |
| | Returns the scaling factor. More...
|
| |
| bool | tram::GUI::ClickHandled () |
| |
| void | tram::GUI::Begin () |
| | Begins the GUI commands for the frame. More...
|
| |
| void | tram::GUI::End () |
| | Ends the GUI commands for the frame. More...
|
| |
| void | tram::GUI::FillFrame (glyph_t glyph) |
| | Fills the frame with a glyph. More...
|
| |
| void | tram::GUI::HorizontalDivider () |
| | Draws a horizontal divider. More...
|
| |
| void | tram::GUI::NewLine (uint32_t line) |
| | Draws a new line. More...
|
| |
| bool | tram::GUI::CheckBox (bool &selected, const char *text, bool enabled) |
| | Draws a checkbox. More...
|
| |
| bool | tram::GUI::RadioButton (uint32_t index, uint32_t &selected, const char *text, bool enabled) |
| | Draws a radio button. More...
|
| |
| bool | tram::GUI::Button (const char *text, bool enabled, uint32_t width) |
| | Draws a button. More...
|
| |
| bool | tram::GUI::Slider (float &value, bool enabled, uint32_t width) |
| | Draws a horizontal slider. More...
|
| |
| void | tram::GUI::Glyph (glyph_t glyph) |
| |
| void | tram::GUI::Text (const char *text, uint32_t orientation) |
| | Draws text on the screen. More...
|
| |
| bool | tram::GUI::TextBox (char *text, uint32_t length, bool enabled, uint32_t w, uint32_t h) |
| | Draws a textbox. More...
|
| |
| void | tram::GUI::TextBox (const char *text, uint32_t w, uint32_t h) |
| | Draws a textbox. More...
|
| |
| void | tram::GUI::SetColor (Render::color_t color, GlyphType type) |
| | Sets the color. More...
|
| |
| void | tram::GUI::SetFont (font_t font, GlyphType type) |
| | Sets the font. More...
|
| |
| void | tram::GUI::RestoreColor (GlyphType type) |
| | Restores previous glyph color. More...
|
| |
| void | tram::GUI::RestoreFont (GlyphType type) |
| | Restores previous glyph font. More...
|
| |
| void | tram::GUI::SetGlyphDefaults (Render::color_t color, font_t font, GlyphType type) |
| | Overrides glyph default colors and fonts. More...
|
| |
| void | tram::GUI::PopFrameKeepCursor (bool keep_x, bool keep_y) |
| |
| void | tram::GUI::PushFrameRelative (uint32_t orientation, uint32_t offset) |
| | Pushes a frame releative to the previous. More...
|
| |
| void | tram::GUI::PushFrameRelativeKeepCursor (uint32_t orientation, uint32_t offset, bool keep_x, bool keep_y) |
| | Pushes a frame, but keeps the cursor in place. More...
|
| |
| void | tram::GUI::PushFrame (uint32_t x, uint32_t y, uint32_t w, uint32_t h) |
| | Pushes a frame. More...
|
| |
| void | tram::GUI::PopFrame () |
| | Removes a frame from the frame stack. More...
|
| |
| void | tram::GUI::SetSelectedText (char *text) |
| | Sets the text which is selected in a textbox. More...
|
| |