Menus: Implement BeginMenu() appending to existing menu when executed with same ID multiple times. (#1207)

This commit is contained in:
Rokas Kupstys
2020-02-28 15:50:44 +02:00
committed by ocornut
parent 898e91f20d
commit 0342a3c548
5 changed files with 23 additions and 7 deletions

View File

@ -1159,6 +1159,7 @@ struct ImGuiContext
float ScrollbarClickDeltaToGrabCenter; // Distance between mouse and center of grab box, normalized in parent space. Use storage?
int TooltipOverrideCount;
ImVector<char> PrivateClipboard; // If no custom clipboard handler is defined
ImVector<ImGuiID> RenderedMenusId; // A list of menu IDs that were rendered at least once
// Platform support
ImVec2 PlatformImePos; // Cursor position request & last passed to the OS Input Method Editor