|
static bool | Popup (const std::string &label, bool &showPopup) |
|
static int | Dropdown (const std::string &label, int &index, const std::vector< std::string > &options) |
|
static void | ColorEdit (const std::string &label, glm::vec3 &color, std::string &selColor, float spacing) |
|
static void | TextureEdit (Texture *texture) |
|
static bool | TextureSelect (const std::string &name, Texture *texture, Texture *&selection) |
|
static bool | MaterialSelect (const std::string &name, Material *material, Material *&selection, float spacing) |
|
static void | Image (unsigned int textureID, const glm::vec2 &size, const glm::vec3 &borderColor=glm::vec3(0, 0, 0), float borderAlpha=1.0f) |
|
static void | Image (unsigned int textureID, float size, const glm::vec3 &borderColor=glm::vec3(0, 0, 0), float borderAlpha=1.0f) |
|
static bool | ImageButton (unsigned int textureID, const glm::vec2 &size, const glm::vec3 &tintColor=glm::vec3(0, 0, 0), float tintAlpha=1.0f) |
|
static bool | ImageButton (unsigned int textureID, float size, const glm::vec3 &tintColor=glm::vec3(0, 0, 0), float tintAlpha=1.0f) |
|
template<typename T > |
static bool | Selectable (const std::string &label, T &selValue, T thisValue, bool *wasPressed=nullptr, const glm::vec2 &size=glm::vec2(0.0f)) |
|
template<typename T > |
static bool | Deselectable (const std::string &label, T *&selValue, T *thisValue, bool *wasPressed=nullptr, const glm::vec2 &size=glm::vec2(0.0f)) |
|
static bool | Deselectable (const std::string &label, std::string &selValue, std::string thisValue) |
|
static bool | Checkbox (const std::string &label, bool value) |
|
template<typename T > |
static bool | InputName (const std::string &label, const std::string &prevValue, std::string &curValue, IContainer< T > *container, ImGuiInputTextFlags flags=ImGuiInputTextFlags_None) |
|
static std::string | InputText (const std::string &label, std::string value, bool *enterPressed=nullptr, ImGuiInputTextFlags flags=ImGuiInputTextFlags_None) |
|
static int | InputInt (const std::string &label, int value, ImGuiInputTextFlags flags=ImGuiInputTextFlags_None) |
|
static float | InputFloat (const std::string &label, float value, ImGuiInputTextFlags flags=ImGuiInputTextFlags_None) |
|
static glm::vec3 | InputVec3 (const std::string &label, glm::vec3 value, ImGuiInputTextFlags flags=ImGuiInputTextFlags_None) |
|
static glm::mat3 | InputMat3 (const std::string &label, const glm::mat3 &value, ImGuiInputTextFlags flags=ImGuiInputTextFlags_None) |
|
static glm::mat4 | InputMat4 (const std::string &label, const glm::mat4 &value, ImGuiInputTextFlags flags=ImGuiInputTextFlags_None) |
|
static void | DrawColor (const glm::vec3 &color, ImVec2 pos, float size) |
|
static glm::vec3 | ColorPicker (const std::string &label, const glm::vec3 &value) |
|