|
static void | SetGUIDrawCallback (GUIDrawCallback guiDrawCallback) |
|
static GUI * | Get () |
|
static void | NewFrame () |
|
static void | Begin (const char *name, bool *p_open=nullptr, GUIWindowFlags flags=0) |
|
static void | End () |
|
static void | Text (const char *fmt,...) |
|
static void | TextColored (const vcm::Vec4 &col, const char *fmt,...) |
|
static void | LabelText (const char *label, const char *fmt,...) |
|
static bool | SliderFloat (const char *label, float *v, float v_min, float v_max, const char *format="%.3f", float power=1.0f) |
|
static bool | SliderFloat3 (const char *label, float v[3], float v_min, float v_max, const char *format="%.3f", float power=1.0f) |
|
static void | ColorEdit3 (const char *label, float col[3], GUIColorEditFlags flags=0) |
|
static bool | Button (const char *label, const vcm::Vec2 &size=vcm::Vec2(0, 0)) |
|
static bool | Checkbox (const char *label, bool *v) |
|
static void | ProgressBar (float fraction, const vcm::Vec2 &size_arg=vcm::Vec2(-1, 0), const char *overlay=nullptr) |
|
static bool | Selectable (const char *label, bool selected, GUISelectableFlags flags=0, const vcm::Vec2 &size=vcm::Vec2(0, 0)) |
|
static bool | BeginCombo (const char *label, const char *preview_value, GUIComboFlags flags=0) |
|
static void | EndCombo () |
|
static void | SetItemDefaultFocus () |
|
static void | SameLine (float offset_from_start_x=0.0f, float spacing=-1.0f) |
|
static bool | HasCachedObject (const std::string &path) |
| Checks if an object is in the cache.
|
|
static SPtr< GraphicsCachedResource > | GetCachedObject (const std::string &path) |
| Gets a cached object from the graphics cache.
|
|
static const std::unordered_map< std::string, std::shared_ptr< GraphicsCachedResource > > & | GetCachedObjects () |
| Gets all cached objects.
|
|
|
virtual void | _NewFrame ()=0 |
|
virtual void | _Begin (const char *name, bool *p_open, GUIWindowFlags flags)=0 |
|
virtual void | _End ()=0 |
|
virtual void | _Text (const char *fmt,...)=0 |
|
virtual void | _TextColored (const vcm::Vec4 &col, const char *fmt,...)=0 |
|
virtual void | _LabelText (const char *label, const char *fmt,...)=0 |
|
virtual bool | _SliderFloat (const char *label, float *v, float v_min, float v_max, const char *format, float power)=0 |
|
virtual bool | _SliderFloat3 (const char *label, float v[3], float v_min, float v_max, const char *format, float power)=0 |
|
virtual void | _ColorEdit3 (const char *label, float col[3], GUIColorEditFlags flags)=0 |
|
virtual bool | _Button (const char *label, const vcm::Vec2 &size)=0 |
|
virtual bool | _Checkbox (const char *label, bool *v)=0 |
|
virtual void | _ProgressBar (float fraction, const vcm::Vec2 &size_arg, const char *overlay)=0 |
|
virtual bool | _Selectable (const char *label, bool selected, GUISelectableFlags flags, const vcm::Vec2 &size)=0 |
|
virtual bool | _BeginCombo (const char *label, const char *preview_value, GUIComboFlags flags)=0 |
|
virtual void | _EndCombo ()=0 |
|
virtual void | _SetItemDefaultFocus ()=0 |
|
virtual void | _SameLine (float offset_from_start_x, float spacing)=0 |
|
virtual void | _Render ()=0 |
|