diff options
author | rtk0c <[email protected]> | 2021-06-21 18:30:38 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2021-06-21 18:30:38 -0700 |
commit | 43cd2bd879d529fcbd0a0f64eccd4ce1eb872ab4 (patch) | |
tree | 12e7bcbd08a30f76d83bd1bc8943133f3d5d51b9 /core/src/UI/UI_Utils.cpp | |
parent | 4378dcd83d2387534f3b10276365d1003832fe81 (diff) |
Implement array group conversion logic
Diffstat (limited to 'core/src/UI/UI_Utils.cpp')
-rw-r--r-- | core/src/UI/UI_Utils.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
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 |