Menus: added internal's BeginMenuEx() matching MenuItemEx() with icon parameter. (amend f8fae022)

This commit is contained in:
ocornut
2021-08-30 19:54:42 +02:00
parent 4aea1c5adb
commit 7c4ffe490d
2 changed files with 10 additions and 2 deletions

View File

@ -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