MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / ConvertShortcutMod

Function ConvertShortcutMod

KBotExt/imgui/imgui_internal.h:2966–2966  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2964 inline bool IsMouseKey(ImGuiKey key) { return key >= ImGuiKey_Mouse_BEGIN && key < ImGuiKey_Mouse_END; }
2965 inline bool IsAliasKey(ImGuiKey key) { return key >= ImGuiKey_Aliases_BEGIN && key < ImGuiKey_Aliases_END; }
2966 inline ImGuiKeyChord ConvertShortcutMod(ImGuiKeyChord key_chord) { ImGuiContext& g = *GImGui; IM_ASSERT_PARANOID(key_chord & ImGuiMod_Shortcut); return (key_chord & ~ImGuiMod_Shortcut) | (g.IO.ConfigMacOSXBehaviors ? ImGuiMod_Super : ImGuiMod_Ctrl); }
2967 inline ImGuiKey ConvertSingleModFlagToKey(ImGuiContext* ctx, ImGuiKey key)
2968 {
2969 ImGuiContext& g = *ctx;

Callers 3

GetKeyChordNameMethod · 0.85
ShortcutMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected