ImGuiToolkit to render a Disabled Button

This commit is contained in:
Bruno Herbelin
2023-01-29 10:54:57 +01:00
parent 3e6ddf560a
commit 48f1df2fd6
2 changed files with 28 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ namespace ImGuiToolkit
bool ButtonToggle (const char* label, bool* toggle, const char *tooltip = nullptr);
bool ButtonSwitch (const char* label, bool* toggle, const char *shortcut = nullptr);
void ButtonOpenUrl (const char* label, const char* url, const ImVec2& size_arg = ImVec2(0,0));
void ButtonDisabled(const char* label, const ImVec2& size_arg = ImVec2(0,0));
// tooltip and mouse over help
void setToolTipsEnabled (bool on);