|
@@ -65,7 +65,7 @@ Index of this file:
|
|
// Version
|
|
// Version
|
|
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals. Work in progress versions typically starts at XYY99 then bounce up to XYY00, XYY01 etc. when release tagging happens)
|
|
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals. Work in progress versions typically starts at XYY99 then bounce up to XYY00, XYY01 etc. when release tagging happens)
|
|
#define IMGUI_VERSION "1.87 WIP"
|
|
#define IMGUI_VERSION "1.87 WIP"
|
|
-#define IMGUI_VERSION_NUM 18614
|
|
|
|
|
|
+#define IMGUI_VERSION_NUM 18615
|
|
#define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))
|
|
#define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))
|
|
#define IMGUI_HAS_TABLE
|
|
#define IMGUI_HAS_TABLE
|
|
#define IMGUI_HAS_VIEWPORT // Viewport WIP branch
|
|
#define IMGUI_HAS_VIEWPORT // Viewport WIP branch
|
|
@@ -1516,6 +1516,16 @@ enum ImGuiKey_
|
|
#endif
|
|
#endif
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+// Helper "flags" version of key-mods to store and compare multiple key-mods easily. Sometimes used for storage (e.g. io.KeyMods) but otherwise not much used in public API.
|
|
|
|
+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
|
|
|
|
+};
|
|
|
|
+
|
|
// Gamepad/Keyboard navigation
|
|
// Gamepad/Keyboard navigation
|
|
// Keyboard: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. NewFrame() will automatically fill io.NavInputs[] based on your io.AddKeyEvent() calls.
|
|
// Keyboard: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard to enable. NewFrame() will automatically fill io.NavInputs[] based on your io.AddKeyEvent() calls.
|
|
// Gamepad: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. Backend: set ImGuiBackendFlags_HasGamepad and fill the io.NavInputs[] fields before calling NewFrame(). Note that io.NavInputs[] is cleared by EndFrame().
|
|
// Gamepad: Set io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad to enable. Backend: set ImGuiBackendFlags_HasGamepad and fill the io.NavInputs[] fields before calling NewFrame(). Note that io.NavInputs[] is cleared by EndFrame().
|