Skip to content

Commit 9aae45e

Browse files
committed
Version 1.88
(fix "Show Debug Log" checkbox in Metrics window)
1 parent d51e5d2 commit 9aae45e

8 files changed

+69
-64
lines changed

docs/CHANGELOG.txt

+57-55
Large diffs are not rendered by default.

imgui.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, 1.88 WIP
1+
// dear imgui, v1.88
22
// (main code and documentation)
33

44
// Help:
@@ -399,6 +399,7 @@ CODE
399399
- Backend writing to io.MouseWheel -> backend should call io.AddMouseWheelEvent()
400400
- Backend writing to io.MouseHoveredViewport -> backend should call io.AddMouseViewportEvent() [Docking branch w/ multi-viewports only]
401401
note: for all calls to IO new functions, the Dear ImGui context should be bound/current.
402+
read https://github.com/ocornut/imgui/issues/4921 for details.
402403
- 2022/01/10 (1.87) - inputs: reworked keyboard IO. Removed io.KeyMap[], io.KeysDown[] in favor of calling io.AddKeyEvent(). Removed GetKeyIndex(), now unecessary. All IsKeyXXX() functions now take ImGuiKey values. All features are still functional until IMGUI_DISABLE_OBSOLETE_KEYIO is defined. Read Changelog and Release Notes for details.
403404
- IsKeyPressed(MY_NATIVE_KEY_XXX) -> use IsKeyPressed(ImGuiKey_XXX)
404405
- IsKeyPressed(GetKeyIndex(ImGuiKey_XXX)) -> use IsKeyPressed(ImGuiKey_XXX)
@@ -12309,6 +12310,8 @@ void ImGui::ShowMetricsWindow(bool* p_open)
1230912310
ImGuiContext& g = *GImGui;
1231012311
ImGuiIO& io = g.IO;
1231112312
ImGuiMetricsConfig* cfg = &g.DebugMetricsConfig;
12313+
if (cfg->ShowDebugLog)
12314+
ShowDebugLogWindow(&cfg->ShowDebugLog);
1231212315
if (cfg->ShowStackTool)
1231312316
ShowStackToolWindow(&cfg->ShowStackTool);
1231412317

imgui.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.88 WIP
1+
// dear imgui, v1.88
22
// (headers)
33

44
// Help:
@@ -64,8 +64,8 @@ Index of this file:
6464

6565
// Version
6666
// (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)
67-
#define IMGUI_VERSION "1.88 WIP"
68-
#define IMGUI_VERSION_NUM 18732
67+
#define IMGUI_VERSION "1.88"
68+
#define IMGUI_VERSION_NUM 18800
6969
#define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))
7070
#define IMGUI_HAS_TABLE
7171

imgui_demo.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.88 WIP
1+
// dear imgui, v1.88
22
// (demo code)
33

44
// Help:

imgui_draw.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.88 WIP
1+
// dear imgui, v1.88
22
// (drawing and font code)
33

44
/*

imgui_internal.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.88 WIP
1+
// dear imgui, v1.88
22
// (internal structures/api)
33

44
// You may use this file to debug, understand or extend ImGui features but we don't provide any guarantee of forward compatibility!

imgui_tables.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.88 WIP
1+
// dear imgui, v1.88
22
// (tables and columns code)
33

44
/*

imgui_widgets.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.88 WIP
1+
// dear imgui, v1.88
22
// (widgets code)
33

44
/*

0 commit comments

Comments
 (0)