From 43cd2bd879d529fcbd0a0f64eccd4ce1eb872ab4 Mon Sep 17 00:00:00 2001 From: rtk0c Date: Mon, 21 Jun 2021 18:30:38 -0700 Subject: Implement array group conversion logic --- core/src/UI/UI_Utils.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'core/src/UI/UI_Utils.cpp') diff --git a/core/src/UI/UI_Utils.cpp b/core/src/UI/UI_Utils.cpp index 0dcde8f..e3ac097 100644 --- a/core/src/UI/UI_Utils.cpp +++ b/core/src/UI/UI_Utils.cpp @@ -44,15 +44,6 @@ bool ImGui::Button(const char* label, const ImVec2& sizeArg, bool disabled) return res; } -bool ImGui::MenuItemConditional(const char* name, bool disabled) -{ - if (disabled) PushDisabled(); - bool res = MenuItem(name, nullptr, false, disabled); - if (disabled) PopDisabled(); - - return res; -} - void ImGui::ErrorIcon() { ImGui::PushStyleColor(ImGuiCol_Text, ImVec4{ 237 / 255.0f, 67 / 255.0f, 55 / 255.0f, 1.0f }); // #ED4337 -- cgit v1.2.3-70-g09d2