summaryrefslogtreecommitdiff
path: root/src/imgui_context.hpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-09-25 12:16:30 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-09-25 12:16:30 -0500
commit8477ffbfba2f15edb9f87e9336e2c4599000c32a (patch)
tree059a36f9d526b0807a7bd0b20979577f9a7e7d0e /src/imgui_context.hpp
parentb6e3cc840e255b78ee53e55b420aeee130e51ce1 (diff)
Moving forward.
Diffstat (limited to 'src/imgui_context.hpp')
-rw-r--r--src/imgui_context.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/imgui_context.hpp b/src/imgui_context.hpp
index 435db9a..c6059d6 100644
--- a/src/imgui_context.hpp
+++ b/src/imgui_context.hpp
@@ -72,11 +72,18 @@ class ConditionalRaii {
} \
};
+STRUCT_FUNCTOR_ARGS(ImGuiBeginMenuBar, ImGui::BeginMenuBar)
+STRUCT_FUNCTOR(ImGuiEndMenuBar, ImGui::EndMenuBar)
+
+using ImguiMenuBar = ConditionalRaii<ImGuiBeginMenuBar, ImGuiEndMenuBar>;
+
STRUCT_FUNCTOR_ARGS(ImGuiBeginMenu, ImGui::BeginMenu)
STRUCT_FUNCTOR(ImGuiEndMenu, ImGui::EndMenu)
using ImguiMenu = ConditionalRaii<ImGuiBeginMenu, ImGuiEndMenu>;
+// STRUCT_FUNCTOR_ARGS(ImGui
+
#undef STRUCT_FUNCTOR
#undef STRUCT_FUNCTOR_ARGS