Bar icon dropdown: barMenu on plugin windows (API v95) #13

Open
AwfulWaffle wants to merge 26 commits from AwfulWaffle/RynthCore:bar-menu into main
Showing only changes of commit 8e6658e20f - Show all commits

Bar menu: split two field declarations an edit joined

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Daniel Wallace 2026-11-07 21:18:27 -08:00

View file

@ -80,7 +80,8 @@ internal static class ImGuiBar
// dropdown", the menu-bearing buttons' rects this frame, and when the timer was last fed (a gap
// means the bar wasn't drawn: start from a closed dropdown).
private static readonly BarMenuHover _menuHover = new();
private static bool _overMenu; private static readonly List<(ButtonInfo Button, Vector2 Min, Vector2 Max)> _menuRects = new();
private static bool _overMenu;
private static readonly List<(ButtonInfo Button, Vector2 Min, Vector2 Max)> _menuRects = new();
private const ImGuiWindowFlags MenuFlags = ImGuiWindowFlags.NoDecoration | ImGuiWindowFlags.AlwaysAutoResize
| ImGuiWindowFlags.NoSavedSettings | ImGuiWindowFlags.NoMove | ImGuiWindowFlags.NoDocking
| ImGuiWindowFlags.NoFocusOnAppearing | ImGuiWindowFlags.NoNav;