mirror of
https://github.com/Drezil/imgui.git
synced 2025-10-30 12:41:06 +01:00
Menus: added internal's BeginMenuEx() matching MenuItemEx() with icon parameter. (amend f8fae022)
This commit is contained in:
@@ -2442,6 +2442,7 @@ namespace ImGui
|
||||
IMGUI_API bool BeginViewportSideBar(const char* name, ImGuiViewport* viewport, ImGuiDir dir, float size, ImGuiWindowFlags window_flags);
|
||||
|
||||
// Menus
|
||||
IMGUI_API bool BeginMenuEx(const char* label, const char* icon, bool enabled = true);
|
||||
IMGUI_API bool MenuItemEx(const char* label, const char* icon, const char* shortcut = NULL, bool selected = false, bool enabled = true);
|
||||
|
||||
// Combos
|
||||
|
||||
Reference in New Issue
Block a user