Fixed build with IMGUI_DISABLE_OBSOLETE_KEYIO + made all examples comments refer to StyleColorsLight().
diff --git a/examples/example_allegro5/main.cpp b/examples/example_allegro5/main.cpp
index ce55477..51f7624 100644
--- a/examples/example_allegro5/main.cpp
+++ b/examples/example_allegro5/main.cpp
@@ -39,7 +39,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Platform/Renderer backends
ImGui_ImplAllegro5_Init(display);
diff --git a/examples/example_android_opengl3/main.cpp b/examples/example_android_opengl3/main.cpp
index 5ab6903..bace1c8 100644
--- a/examples/example_android_opengl3/main.cpp
+++ b/examples/example_android_opengl3/main.cpp
@@ -76,7 +76,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Platform/Renderer backends
ImGui_ImplAndroid_Init(g_App->window);
diff --git a/examples/example_apple_metal/main.mm b/examples/example_apple_metal/main.mm
index d29f8d9..9b44585 100644
--- a/examples/example_apple_metal/main.mm
+++ b/examples/example_apple_metal/main.mm
@@ -59,7 +59,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Renderer backend
ImGui_ImplMetal_Init(_device);
diff --git a/examples/example_apple_opengl2/main.mm b/examples/example_apple_opengl2/main.mm
index 92754b8..83b16fe 100644
--- a/examples/example_apple_opengl2/main.mm
+++ b/examples/example_apple_opengl2/main.mm
@@ -46,7 +46,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Platform/Renderer backends
ImGui_ImplOSX_Init(self);
diff --git a/examples/example_emscripten_opengl3/main.cpp b/examples/example_emscripten_opengl3/main.cpp
index 2476928..be93404 100644
--- a/examples/example_emscripten_opengl3/main.cpp
+++ b/examples/example_emscripten_opengl3/main.cpp
@@ -71,7 +71,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Platform/Renderer backends
ImGui_ImplSDL2_InitForOpenGL(g_Window, g_GLContext);
diff --git a/examples/example_emscripten_wgpu/main.cpp b/examples/example_emscripten_wgpu/main.cpp
index 00ed792..6225099 100644
--- a/examples/example_emscripten_wgpu/main.cpp
+++ b/examples/example_emscripten_wgpu/main.cpp
@@ -72,7 +72,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Platform/Renderer backends
ImGui_ImplGlfw_InitForOther(window, true);
diff --git a/examples/example_glfw_metal/main.mm b/examples/example_glfw_metal/main.mm
index 6e5966d..2d7af51 100644
--- a/examples/example_glfw_metal/main.mm
+++ b/examples/example_glfw_metal/main.mm
@@ -32,7 +32,7 @@
// Setup style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Load Fonts
// - If no fonts are loaded, dear imgui will use the default font. You can also load multiple fonts and use ImGui::PushFont()/PopFont() to select them.
diff --git a/examples/example_glfw_opengl2/main.cpp b/examples/example_glfw_opengl2/main.cpp
index e29d182..455c4f5 100644
--- a/examples/example_glfw_opengl2/main.cpp
+++ b/examples/example_glfw_opengl2/main.cpp
@@ -49,7 +49,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Platform/Renderer backends
ImGui_ImplGlfw_InitForOpenGL(window, true);
diff --git a/examples/example_glfw_opengl3/main.cpp b/examples/example_glfw_opengl3/main.cpp
index 58c53fe..4d972fe 100644
--- a/examples/example_glfw_opengl3/main.cpp
+++ b/examples/example_glfw_opengl3/main.cpp
@@ -70,7 +70,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Platform/Renderer backends
ImGui_ImplGlfw_InitForOpenGL(window, true);
diff --git a/examples/example_glfw_vulkan/main.cpp b/examples/example_glfw_vulkan/main.cpp
index 44b9626..f378600 100644
--- a/examples/example_glfw_vulkan/main.cpp
+++ b/examples/example_glfw_vulkan/main.cpp
@@ -392,7 +392,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Platform/Renderer backends
ImGui_ImplGlfw_InitForVulkan(window, true);
diff --git a/examples/example_glut_opengl2/main.cpp b/examples/example_glut_opengl2/main.cpp
index 5e95fd6..5c17b60 100644
--- a/examples/example_glut_opengl2/main.cpp
+++ b/examples/example_glut_opengl2/main.cpp
@@ -122,7 +122,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Platform/Renderer backends
// FIXME: Consider reworking this example to install our own GLUT funcs + forward calls ImGui_ImplGLUT_XXX ones, instead of using ImGui_ImplGLUT_InstallFuncs().
diff --git a/examples/example_sdl_directx11/main.cpp b/examples/example_sdl_directx11/main.cpp
index 3a5eea5..8673f40 100644
--- a/examples/example_sdl_directx11/main.cpp
+++ b/examples/example_sdl_directx11/main.cpp
@@ -59,7 +59,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Platform/Renderer backends
ImGui_ImplSDL2_InitForD3D(window);
diff --git a/examples/example_sdl_metal/main.mm b/examples/example_sdl_metal/main.mm
index e836b25..1fb09d1 100644
--- a/examples/example_sdl_metal/main.mm
+++ b/examples/example_sdl_metal/main.mm
@@ -23,7 +23,7 @@
// Setup style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Load Fonts
// - If no fonts are loaded, dear imgui will use the default font. You can also load multiple fonts and use ImGui::PushFont()/PopFont() to select them.
diff --git a/examples/example_sdl_opengl2/main.cpp b/examples/example_sdl_opengl2/main.cpp
index 6e725f4..cb3d10f 100644
--- a/examples/example_sdl_opengl2/main.cpp
+++ b/examples/example_sdl_opengl2/main.cpp
@@ -47,7 +47,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Platform/Renderer backends
ImGui_ImplSDL2_InitForOpenGL(window, gl_context);
diff --git a/examples/example_sdl_opengl3/main.cpp b/examples/example_sdl_opengl3/main.cpp
index c6db511..c911edd 100644
--- a/examples/example_sdl_opengl3/main.cpp
+++ b/examples/example_sdl_opengl3/main.cpp
@@ -69,7 +69,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Platform/Renderer backends
ImGui_ImplSDL2_InitForOpenGL(window, gl_context);
diff --git a/examples/example_sdl_sdlrenderer/main.cpp b/examples/example_sdl_sdlrenderer/main.cpp
index ef21c8f..4920ddb 100644
--- a/examples/example_sdl_sdlrenderer/main.cpp
+++ b/examples/example_sdl_sdlrenderer/main.cpp
@@ -53,7 +53,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Platform/Renderer backends
ImGui_ImplSDL2_InitForSDLRenderer(window, renderer);
diff --git a/examples/example_sdl_vulkan/main.cpp b/examples/example_sdl_vulkan/main.cpp
index 866c1bf..8e30490 100644
--- a/examples/example_sdl_vulkan/main.cpp
+++ b/examples/example_sdl_vulkan/main.cpp
@@ -384,7 +384,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Platform/Renderer backends
ImGui_ImplSDL2_InitForVulkan(window);
diff --git a/examples/example_win32_directx10/main.cpp b/examples/example_win32_directx10/main.cpp
index c372628..dbdf9a4 100644
--- a/examples/example_win32_directx10/main.cpp
+++ b/examples/example_win32_directx10/main.cpp
@@ -51,7 +51,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Platform/Renderer backends
ImGui_ImplWin32_Init(hwnd);
diff --git a/examples/example_win32_directx11/main.cpp b/examples/example_win32_directx11/main.cpp
index 8dc486a..7ea17b9 100644
--- a/examples/example_win32_directx11/main.cpp
+++ b/examples/example_win32_directx11/main.cpp
@@ -51,7 +51,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Platform/Renderer backends
ImGui_ImplWin32_Init(hwnd);
diff --git a/examples/example_win32_directx12/main.cpp b/examples/example_win32_directx12/main.cpp
index 6f6e680..c221de9 100644
--- a/examples/example_win32_directx12/main.cpp
+++ b/examples/example_win32_directx12/main.cpp
@@ -86,7 +86,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Platform/Renderer backends
ImGui_ImplWin32_Init(hwnd);
diff --git a/examples/example_win32_directx9/main.cpp b/examples/example_win32_directx9/main.cpp
index 9c454ee..1b43aa9 100644
--- a/examples/example_win32_directx9/main.cpp
+++ b/examples/example_win32_directx9/main.cpp
@@ -49,7 +49,7 @@
// Setup Dear ImGui style
ImGui::StyleColorsDark();
- //ImGui::StyleColorsClassic();
+ //ImGui::StyleColorsLight();
// Setup Platform/Renderer backends
ImGui_ImplWin32_Init(hwnd);
diff --git a/imgui.h b/imgui.h
index 5837a31..49b4238 100644
--- a/imgui.h
+++ b/imgui.h
@@ -65,7 +65,7 @@
// 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)
#define IMGUI_VERSION "1.89 WIP"
-#define IMGUI_VERSION_NUM 18802
+#define IMGUI_VERSION_NUM 18803
#define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))
#define IMGUI_HAS_TABLE
@@ -1442,7 +1442,7 @@
ImGuiKey_NamedKey_COUNT = ImGuiKey_NamedKey_END - ImGuiKey_NamedKey_BEGIN,
#ifdef IMGUI_DISABLE_OBSOLETE_KEYIO
ImGuiKey_KeysData_SIZE = ImGuiKey_NamedKey_COUNT, // Size of KeysData[]: only hold named keys
- ImGuiKey_KeysData_OFFSET = ImGuiKey_NamedKey_BEGIN // First key stored in io.KeysData[0]. Accesses to io.KeysData[] must use (key - ImGuiKey_KeysData_OFFSET).
+ ImGuiKey_KeysData_OFFSET = ImGuiKey_NamedKey_BEGIN, // First key stored in io.KeysData[0]. Accesses to io.KeysData[] must use (key - ImGuiKey_KeysData_OFFSET).
#else
ImGuiKey_KeysData_SIZE = ImGuiKey_COUNT, // Size of KeysData[]: hold legacy 0..512 keycodes + named keys
ImGuiKey_KeysData_OFFSET = 0, // First key stored in io.KeysData[0]. Accesses to io.KeysData[] must use (key - ImGuiKey_KeysData_OFFSET).
diff --git a/imgui_demo.cpp b/imgui_demo.cpp
index 714d589..462e07e 100644
--- a/imgui_demo.cpp
+++ b/imgui_demo.cpp
@@ -5818,7 +5818,7 @@
ImGui::SetNextFrameWantCaptureMouse(capture_override_mouse == 1);
if (ImGui::IsItemHovered() && capture_override_keyboard != -1)
ImGui::SetNextFrameWantCaptureKeyboard(capture_override_keyboard == 1);
-
+
ImGui::TreePop();
}