From 44f5fa5c8f258e8fc1f7d7e2e45e0485bd6cc490 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Wed, 31 Mar 2021 20:19:18 -0700 Subject: Complete items tab (UI and serialization) --- core/src/UI/UI.hpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'core/src/UI/UI.hpp') 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 -- cgit v1.2.3-70-g09d2