|
Euphoria
|
Classes | |
| struct | IdStack |
| struct | KeyboardInput |
| struct | UiState |
Functions | |
| bool | button_logic (u32 id, const Rect &rect, UiState &uistate) |
| bool | basic_button (u32 id, const Rect &rect, UiState &uistate, render::SpriteBatch *batch) |
| bool | button_texture (u32 id, const Rect &rect, UiState &uistate, render::SpriteBatch *batch, const render::Texture2d *texture, const Rect &active, const Rect &hot, const Rect &normal) |
| bool | slider (u32 id, float *val, const Rect &rect, UiState &uistate, render::SpriteBatch *batch) |
| void | draw_text (render::SpriteBatch *batch, render::DrawableFont *font, const std::string &str, float size, const v2 &pos, const Rgb &color) |
| bool | textfield (u32 id, std::string *val, render::DrawableFont *font, float size, const v2 &pos, UiState &uistate, render::SpriteBatch *batch) |
| bool eu::mrgui::basic_button | ( | u32 | id, |
| const Rect & | rect, | ||
| UiState & | uistate, | ||
| render::SpriteBatch * | batch | ||
| ) |
| bool eu::mrgui::button_texture | ( | u32 | id, |
| const Rect & | rect, | ||
| UiState & | uistate, | ||
| render::SpriteBatch * | batch, | ||
| const render::Texture2d * | texture, | ||
| const Rect & | active, | ||
| const Rect & | hot, | ||
| const Rect & | normal | ||
| ) |
| void eu::mrgui::draw_text | ( | render::SpriteBatch * | batch, |
| render::DrawableFont * | font, | ||
| const std::string & | str, | ||
| float | size, | ||
| const v2 & | pos, | ||
| const Rgb & | color | ||
| ) |
| bool eu::mrgui::slider | ( | u32 | id, |
| float * | val, | ||
| const Rect & | rect, | ||
| UiState & | uistate, | ||
| render::SpriteBatch * | batch | ||
| ) |
| bool eu::mrgui::textfield | ( | u32 | id, |
| std::string * | val, | ||
| render::DrawableFont * | font, | ||
| float | size, | ||
| const v2 & | pos, | ||
| UiState & | uistate, | ||
| render::SpriteBatch * | batch | ||
| ) |