|
SpaghettiKart
|
Namespaces | |
| namespace | Sizes |
Data Structures | |
| struct | ButtonOptions |
| struct | CheckboxOptions |
| struct | ComboboxOptions |
| struct | FloatSliderOptions |
| struct | IntSliderOptions |
| struct | TextFilters |
| struct | WidgetOptions |
Typedefs | |
| using | SectionFunc = void(*)() |
Enumerations | |
| enum | Colors { Red , DarkRed , Orange , Green , DarkGreen , LightBlue , Blue , DarkBlue , Indigo , Violet , Purple , Brown , Gray , DarkGray , Pink , Yellow , Cyan , Black , LightGray , White , NoColor } |
| enum | LabelPosition { Near , Far , Above , None , Within } |
| enum | ComponentAlignment { Left , Right } |
| enum | MenuExtent { Condensed , Stretched } |
Functions | |
| std::string | WrappedText (const char *text, unsigned int charactersPerLine) |
| std::string | WrappedText (const std::string &text, unsigned int charactersPerLine) |
| void | Tooltip (const char *text) |
| void | PushStyleMenu (const ImVec4 &color) |
| void | PushStyleMenu (Colors color) |
| void | PopStyleMenu () |
| bool | BeginMenu (const char *label, Colors color) |
| void | PushStyleMenuItem (const ImVec4 &color) |
| void | PushStyleMenuItem (Colors color) |
| void | PopStyleMenuItem () |
| bool | MenuItem (const char *label, const char *shortcut, Colors color) |
| void | PushStyleButton (const ImVec4 &color) |
| void | PushStyleButton (Colors color) |
| void | PopStyleButton () |
| bool | Button (const char *label, const ButtonOptions &options) |
| bool | WindowButton (const char *label, const char *cvarName, std::shared_ptr< Ship::GuiWindow > windowPtr, const ButtonOptions &options) |
| void | PushStyleCheckbox (const ImVec4 &color) |
| void | PushStyleCheckbox (Colors color) |
| void | PopStyleCheckbox () |
| void | RenderText (ImVec2 pos, const char *text, const char *text_end, bool hide_text_after_hash) |
| bool | Checkbox (const char *_label, bool *value, const CheckboxOptions &options) |
| bool | CVarCheckbox (const char *label, const char *cvarName, const CheckboxOptions &options) |
| void | PushStyleCombobox (const ImVec4 &color) |
| void | PushStyleCombobox (Colors color) |
| void | PopStyleCombobox () |
| void | PushStyleSlider (Colors color_) |
| void | PopStyleSlider () |
| bool | SliderInt (const char *label, int32_t *value, const IntSliderOptions &options) |
| bool | CVarSliderInt (const char *label, const char *cvarName, const IntSliderOptions &options) |
| void | ClampFloat (float *value, float min, float max, float step) |
| bool | SliderFloat (const char *label, float *value, const FloatSliderOptions &options) |
| bool | CVarSliderFloat (const char *label, const char *cvarName, const FloatSliderOptions &options) |
| bool | CVarColorPicker (const char *label, const char *cvarName, Color_RGBA8 defaultColor) |
| void | DrawFlagArray32 (const std::string &name, uint32_t &flags) |
| void | DrawFlagArray16 (const std::string &name, uint16_t &flags) |
| void | DrawFlagArray8 (const std::string &name, uint8_t &flags) |
| void | DrawFlagArray8Mask (const std::string &name, uint8_t &flags) |
| template<typename T> | |
| bool | Combobox (const char *label, T *value, const std::unordered_map< T, const char * > &comboMap, const ComboboxOptions &options={}) |
| template<typename T = size_t> | |
| bool | Combobox (const char *label, T *value, const std::vector< const char * > &comboVector, const ComboboxOptions &options={}) |
| template<typename T = size_t, size_t N> | |
| bool | Combobox (const char *label, T *value, const char *(&comboArray)[N], const ComboboxOptions &options={}) |
| template<typename T = int32_t> | |
| bool | CVarCombobox (const char *label, const char *cvarName, const std::unordered_map< T, const char * > &comboMap, const ComboboxOptions &options={}) |
| template<typename T = int32_t> | |
| bool | CVarCombobox (const char *label, const char *cvarName, const std::vector< const char * > &comboVector, const ComboboxOptions &options={}) |
| template<typename T = int32_t, size_t N> | |
| bool | CVarCombobox (const char *label, const char *cvarName, const char *(&comboArray)[N], const ComboboxOptions &options={}) |
Variables | |
| const std::unordered_map< Colors, ImVec4 > | ColorValues |
| using UIWidgets::SectionFunc = void(*)() |
| enum UIWidgets::Colors |
| bool UIWidgets::BeginMenu | ( | const char * | label, |
| Colors | color ) |
| bool UIWidgets::Button | ( | const char * | label, |
| const ButtonOptions & | options ) |
| bool UIWidgets::Checkbox | ( | const char * | _label, |
| bool * | value, | ||
| const CheckboxOptions & | options ) |
| void UIWidgets::ClampFloat | ( | float * | value, |
| float | min, | ||
| float | max, | ||
| float | step ) |
| bool UIWidgets::Combobox | ( | const char * | label, |
| T * | value, | ||
| const char *(&) | comboArray[N], | ||
| const ComboboxOptions & | options = {} ) |
| bool UIWidgets::Combobox | ( | const char * | label, |
| T * | value, | ||
| const std::unordered_map< T, const char * > & | comboMap, | ||
| const ComboboxOptions & | options = {} ) |
| bool UIWidgets::Combobox | ( | const char * | label, |
| T * | value, | ||
| const std::vector< const char * > & | comboVector, | ||
| const ComboboxOptions & | options = {} ) |
| bool UIWidgets::CVarCheckbox | ( | const char * | label, |
| const char * | cvarName, | ||
| const CheckboxOptions & | options ) |
| bool UIWidgets::CVarColorPicker | ( | const char * | label, |
| const char * | cvarName, | ||
| Color_RGBA8 | defaultColor ) |
| bool UIWidgets::CVarCombobox | ( | const char * | label, |
| const char * | cvarName, | ||
| const char *(&) | comboArray[N], | ||
| const ComboboxOptions & | options = {} ) |
| bool UIWidgets::CVarCombobox | ( | const char * | label, |
| const char * | cvarName, | ||
| const std::unordered_map< T, const char * > & | comboMap, | ||
| const ComboboxOptions & | options = {} ) |
| bool UIWidgets::CVarCombobox | ( | const char * | label, |
| const char * | cvarName, | ||
| const std::vector< const char * > & | comboVector, | ||
| const ComboboxOptions & | options = {} ) |
| bool UIWidgets::CVarSliderFloat | ( | const char * | label, |
| const char * | cvarName, | ||
| const FloatSliderOptions & | options ) |
| bool UIWidgets::CVarSliderInt | ( | const char * | label, |
| const char * | cvarName, | ||
| const IntSliderOptions & | options ) |
| void UIWidgets::DrawFlagArray16 | ( | const std::string & | name, |
| uint16_t & | flags ) |
| void UIWidgets::DrawFlagArray32 | ( | const std::string & | name, |
| uint32_t & | flags ) |
| void UIWidgets::DrawFlagArray8 | ( | const std::string & | name, |
| uint8_t & | flags ) |
| void UIWidgets::DrawFlagArray8Mask | ( | const std::string & | name, |
| uint8_t & | flags ) |
| bool UIWidgets::MenuItem | ( | const char * | label, |
| const char * | shortcut, | ||
| Colors | color ) |
| void UIWidgets::PopStyleButton | ( | ) |
| void UIWidgets::PopStyleCheckbox | ( | ) |
| void UIWidgets::PopStyleCombobox | ( | ) |
| void UIWidgets::PopStyleMenu | ( | ) |
| void UIWidgets::PopStyleMenuItem | ( | ) |
| void UIWidgets::PopStyleSlider | ( | ) |
| void UIWidgets::PushStyleButton | ( | Colors | color | ) |
| void UIWidgets::PushStyleButton | ( | const ImVec4 & | color | ) |
| void UIWidgets::PushStyleCheckbox | ( | Colors | color | ) |
| void UIWidgets::PushStyleCheckbox | ( | const ImVec4 & | color | ) |
| void UIWidgets::PushStyleCombobox | ( | Colors | color | ) |
| void UIWidgets::PushStyleCombobox | ( | const ImVec4 & | color | ) |
| void UIWidgets::PushStyleMenu | ( | Colors | color | ) |
| void UIWidgets::PushStyleMenu | ( | const ImVec4 & | color | ) |
| void UIWidgets::PushStyleMenuItem | ( | Colors | color | ) |
| void UIWidgets::PushStyleMenuItem | ( | const ImVec4 & | color | ) |
| void UIWidgets::PushStyleSlider | ( | Colors | color_ | ) |
| void UIWidgets::RenderText | ( | ImVec2 | pos, |
| const char * | text, | ||
| const char * | text_end, | ||
| bool | hide_text_after_hash ) |
| bool UIWidgets::SliderFloat | ( | const char * | label, |
| float * | value, | ||
| const FloatSliderOptions & | options ) |
| bool UIWidgets::SliderInt | ( | const char * | label, |
| int32_t * | value, | ||
| const IntSliderOptions & | options ) |
| void UIWidgets::Tooltip | ( | const char * | text | ) |
| bool UIWidgets::WindowButton | ( | const char * | label, |
| const char * | cvarName, | ||
| std::shared_ptr< Ship::GuiWindow > | windowPtr, | ||
| const ButtonOptions & | options ) |
| std::string UIWidgets::WrappedText | ( | const char * | text, |
| unsigned int | charactersPerLine ) |
| std::string UIWidgets::WrappedText | ( | const std::string & | text, |
| unsigned int | charactersPerLine ) |
| const std::unordered_map<Colors, ImVec4> UIWidgets::ColorValues |