Skip to content

Commit

Permalink
Fixed ImGuiMod enum
Browse files Browse the repository at this point in the history
  • Loading branch information
dannuic committed Jan 10, 2024
1 parent a2656fa commit f20521d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions imgui/imgui_enums.lua
Original file line number Diff line number Diff line change
Expand Up @@ -631,13 +631,13 @@ ImGuiKey = {
-- backends tend to interfere and break that equivalence. The safer decision is to relay that ambiguity down to the end-user...
---@enum ImGuiMod
ImGuiMod = {
ImGuiMod_None = 0,
ImGuiMod_Ctrl = 0x1000, -- Ctrl
ImGuiMod_Shift = 0x2000, -- Shift
ImGuiMod_Alt = 0x4000, -- Option/Menu
ImGuiMod_Super = 0x8000, -- Cmd/Super/Windows
ImGuiMod_Shortcut = 0x0800, -- Alias for Ctrl (non-macOS) _or_ Super (macOS).
ImGuiMod_Mask_ = 0xF800, -- 5-bits
None = 0,
Ctrl = 0x1000, -- Ctrl
Shift = 0x2000, -- Shift
Alt = 0x4000, -- Option/Menu
Super = 0x8000, -- Cmd/Super/Windows
Shortcut = 0x0800, -- Alias for Ctrl (non-macOS) _or_ Super (macOS).
Mask_ = 0xF800, -- 5-bits
}


Expand Down

0 comments on commit f20521d

Please sign in to comment.