summaryrefslogtreecommitdiff
path: root/src/imgui_context.hpp
diff options
context:
space:
mode:
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