Closed oxysoft closed 1 month ago
ModFlags = int # -> enum ModFlags_ # Flags: for io.KeyMods (Ctrl/Shift/Alt/Super)
...
KeyChord = ModFlags # == int. We generally use ImGuiKeyChord to mean "a ImGuiKey or-ed with any number of
KeyCoord is likely only defined in the stub, which is not a real definition. Use ModFlags_ or int instead.
This is an non standard API in imgui.h anyhow: ImGuiKeyChord is an int which can be selected inside the enum ImGuiKey or the enum ImGuiMod_
typedef int ImGuiKeyChord; // -> ImGuiKey | ImGuiMod_XXX // Flags: for IsKeyChordPressed(), Shortcut() etc. an ImGuiKey optionally OR-ed with one or more ImGuiMod_XXX values.
Code:
Stacktrace