aboutsummaryrefslogtreecommitdiff
path: root/core/src/UI/UI.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/UI/UI.hpp')
-rw-r--r--core/src/UI/UI.hpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/core/src/UI/UI.hpp b/core/src/UI/UI.hpp
index 52a2ca9..ab35321 100644
--- a/core/src/UI/UI.hpp
+++ b/core/src/UI/UI.hpp
@@ -4,14 +4,19 @@
namespace ImGui {
-void SetNextWindowSizeRelScreen(float xPercent, float yPercent, ImGuiCond_ cond = ImGuiCond_None);
-void SetNextWindowCentered(ImGuiCond_ cond = ImGuiCond_None);
+void SetNextWindowSizeRelScreen(float xPercent, float yPercent, ImGuiCond cond = ImGuiCond_None);
+void SetNextWindowCentered(ImGuiCond cond = ImGuiCond_None);
void PushDisabled();
void PopDisabled();
+bool Button(const char* label, bool disabled);
+bool Button(const char* label, const ImVec2& sizeArg, bool disabled);
+
void ErrorIcon();
+void ErrorMessage(const char* fmt, ...);
void WarningIcon();
+void WarningMessage(const char* fmt, ...);
} // namespace ImGui