Revert moving ImGuiKeyModFlags to internal.h (amendc906c65)

This commit is contained in:
ocornut
2022-01-28 15:53:09 +01:00
parent 9def2b04d7
commit 49e38a5b32
4 changed files with 11 additions and 14 deletions

View File

@ -1164,16 +1164,6 @@ enum ImGuiKeyPrivate_
ImGuiKey_Gamepad_END = ImGuiKey_GamepadRStickRight + 1
};
// Helper to store all mods easily. Stored in e.g. io.KeyMods.
enum ImGuiKeyModFlags_
{
ImGuiKeyModFlags_None = 0,
ImGuiKeyModFlags_Ctrl = 1 << 0,
ImGuiKeyModFlags_Shift = 1 << 1,
ImGuiKeyModFlags_Alt = 1 << 2,
ImGuiKeyModFlags_Super = 1 << 3 // Cmd/Super/Windows key
};
enum ImGuiInputEventType
{
ImGuiInputEventType_None = 0,