Shortcuts: added flags to SetNextItemShortcut(). (#456)

This commit is contained in:
ocornut
2024-05-23 16:57:19 +02:00
parent 197f8904fe
commit 77e4171894
3 changed files with 18 additions and 12 deletions
+1
View File
@@ -1186,6 +1186,7 @@ struct ImGuiNextItemData
ImGuiSelectionUserData SelectionUserData; // Set by SetNextItemSelectionUserData() (note that NULL/0 is a valid value, we use -1 == ImGuiSelectionUserData_Invalid to mark invalid values)
float Width; // Set by SetNextItemWidth()
ImGuiKeyChord Shortcut; // Set by SetNextItemShortcut()
ImGuiInputFlags ShortcutFlags; // Set by SetNextItemShortcut()
bool OpenVal; // Set by SetNextItemOpen()
ImGuiCond OpenCond : 8;