WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 2b24f5f

Browse files
committed
Version 1.92.2
1 parent e10300e commit 2b24f5f

File tree

9 files changed

+40
-35
lines changed

9 files changed

+40
-35
lines changed

docs/CHANGELOG.txt

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@ HOW TO UPDATE?
3636
- Please report any issue!
3737

3838
-----------------------------------------------------------------------
39-
VERSION 1.92.2 WIP (In Progress)
39+
VERSION 1.92.2 (Released 2025-08-11)
4040
-----------------------------------------------------------------------
4141

42+
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.92.2
43+
4244
Breaking Changes:
4345

4446
- Tabs: Renamed ImGuiTabBarFlags_FittingPolicyResizeDown to ImGuiTabBarFlags_FittingPolicyShrink.
@@ -49,35 +51,36 @@ Breaking Changes:
4951

5052
Other Changes:
5153

52-
- Fixed an inconsistency between IsItemHovered() and internal hovering check,
54+
- Fixed an old inconsistency between IsItemHovered() and internal hovering check,
5355
where IsItemHovered() would return true to mouse was first clicked on the
5456
background of a non-moveable window then moved over the item or button.
5557
Note that while it is consistent with other logic, there is a possibility
56-
that some third-party code may accidentally relied on this.
58+
that some third-party code may accidentally relied on this. One can always use
59+
ImGuiHoveredFlags_AllowWhenBlockedByActiveItem to bypass the active id check.
5760
(#8877) [@achabense, @ocornut]
5861
- Fonts: fixed an issue when a font using MergeMode has a reference size
5962
specified but the target font doesn't. Usually either all fonts should
6063
have a reference size (only required when specifying e.g. GlyphOffset),
61-
or none should have a reference size.
64+
or none should have a reference size.
6265
- Fonts: fixed a crash when changing texture format when using a legacy
6366
backend. Most commonly would happen when calling GetTexDataAsRGBA32()
64-
then immediately GetTexDataAsAlpha8(). (#8824)
67+
then immediately calling GetTexDataAsAlpha8(). (#8824)
6568
- Windows: fixed an issue where resizable child windows would emit border
6669
logic when hidden/non-visible (e.g. when in a docked window that is not
6770
selected), impacting code not checking for BeginChild() return value. (#8815)
6871
- Textures: Fixed support for `#define ImTextureID_Invalid` to non-zero value:
6972
ImFontAtlas() was incorrectly cleared with zeroes. (#8860, #8745) [@cfillion]
7073
- Tables: fixed TableGetRowIndex() which never correctly worked when using
71-
a clipper (it exists for consistency but is almost never used, as it is
74+
a clipper (it exists for consistency but is almost never used, as it is
7275
often more convenient to use index in caller-code, whereas TableGetRowIndex()
73-
includes header rows).
76+
includes header rows).
7477
- Tables: fixed imgui_internal.h's TableGetHoveredRow() the same way. (#7350, #6588, #6250)
7578
- Tabs: added new fitting policy ImGuiTabBarFlags_FittingPolicyMixed
7679
and made it the default. This policy shrink tab width down to a given amount,
7780
and then beyond that it enable scrolling buttons. (#3421, #8800)
7881
- Tabs: added style.TabMinWidthShrink, ImGuiStyleVar_TabMinWidthShrink to
7982
control the width to shrink to in ImGuiTabBarFlags_FittingPolicyMixed mode.
80-
(#3421, #8800).
83+
(#3421, #8800).
8184
- Tabs: when scrolling is enabled, track selected tabs when resizing down
8285
parent container. This does not prevent to horizontally scroll it out of
8386
view during normal operations. (#3421, #8800)
@@ -90,24 +93,26 @@ Other Changes:
9093
- Nav, Tables: fixed navigation within scrolling tables when item boundaries
9194
goes beyond columns limits. The fix done in 1.89.6 didn't work correctly
9295
on scrolling windows. (#8816, #2221)
93-
- Nav: fixed a bug where GamepadMenu button couldn't toggle between main and
94-
menu layers while navigating a Modal window. (#8834)
96+
- Nav: fixed a bug where ImGuiKey_NavGamepadMenu (==ImGuiKey_GamepadFaceLeft)
97+
button couldn't toggle between main and menu layers while navigating a Modal
98+
window. (#8834)
9599
- Error Handling: minor improvements to error handling for TableGetSortSpecs()
96100
and TableSetBgColor() calls. (#1651, #8499)
97101
- Misc: fixed building with IMGUI_DISABLE_DEBUG_TOOLS only. (#8796)
98102
- Misc: fixed building with IMGUI_DISABLE_STB_TRUETYPE_IMPLEMENTATION. (#8794)
99-
- Misc: removed more redundant inline static linkage from imgui_internal.h to
103+
- Misc: removed more redundant inline static linkage from imgui_internal.h to
100104
facilitate using in C++ modules. (#8813, #8682, #8358) [@stripe2933]
101105
- Misc: ImVector: skip memcpy in operator= if `Data` isn't initialized in order
102106
to play nice with -fsanitize=undefined. (#8874) [@i25e]
103107
- CI: Added SDL3 builds to MacOS and Windows. (#8819, #8778) [@scribam]
104108
- CI: Updated Windows CI to use a more recent SDL2. (#8819, #8778) [@scribam]
105109
- Examples: SDL3+Metal: added SDL3+Metal example. (#8827, #8825) [@shi-yan]
106-
- Examples: SDL3+SDL_GPU: use SDL_WaitAndAcquireGPUSwapchainTexture() instead
110+
- Examples: SDL3+SDL_GPU: use SDL_WaitAndAcquireGPUSwapchainTexture() instead
107111
of SDL_AcquireGPUSwapchainTexture(). (#8830) [@itsdanott]
108-
- Backends: OpenGL3: add and call embedded loader shutdown in ImGui_ImplOpenGL3_Shutdown()
112+
- Examples: SDL3+SDL_GPU: use SDL_GPU_PRESENTMODE_VSYNC present mode.
113+
- Backends: OpenGL3: add and call embedded loader shutdown in ImGui_ImplOpenGL3_Shutdown()
109114
to facilitate multiple init/shutdown cycles in same process. (#8792) [@tim-rex]
110-
- Backends: OpenGL2, OpenGL3: set GL_UNPACK_ALIGNMENT to 1 before updating
115+
- Backends: OpenGL2, OpenGL3: set GL_UNPACK_ALIGNMENT to 1 before updating
111116
textures. (#8802) [@Daandelange]
112117
- Backends: SDL_GPU3: expose current SDL_GPUSampler* in the ImGui_ImplSDLGPU3_RenderState
113118
struct. (#8866, #8163, #7998, #7988)
@@ -247,7 +252,7 @@ Breaking changes:
247252
see list of glyphs available in multiple font sources. This can facilitate understanding
248253
which font input is providing which glyph.
249254
- Fonts: **IMPORTANT** on Thread Safety:
250-
- A few functions such as font->CalcTextSizeA() were by sheer luck (== accidentally)
255+
- A few functions such as font->CalcTextSizeA() were by sheer luck (== accidentally)
251256
thread-safe even thou we had never provided that guarantee before. They are
252257
definitively not thread-safe anymore as new glyphs may be loaded.
253258

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Omar: "I first discovered the IMGUI paradigm at [Q-Games](https://www.q-games.co
214214
Embeds [ProggyClean.ttf](https://www.proggyfonts.net) font by Tristan Grimmer (MIT license).
215215
<br>Embeds [stb_textedit.h, stb_truetype.h, stb_rect_pack.h](https://github.com/nothings/stb/) by Sean Barrett (public domain).
216216

217-
Inspiration, feedback, and testing for early versions: Casey Muratori, Atman Binstock, Mikko Mononen, Emmanuel Briney, Stefan Kamoda, Anton Mikhailov, Matt Willis. Special thanks to Alex Evans, Patrick Doane, Marco Koegler to pulling nice strings at the right moment. Also thank you to everyone posting feedback, questions and patches on GitHub.
217+
Inspiration, feedback, and testing for early versions: Casey Muratori, Atman Binstock, Mikko Mononen, Emmanuel Briney, Stefan Kamoda, Anton Mikhailov, Matt Willis. Special thanks to Alex Evans, Patrick Doane, Marco Koegler for kindly helping. Also thank you to everyone posting feedback, questions and patches on GitHub.
218218

219219
License
220220
-------

imgui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.92.2 WIP
1+
// dear imgui, v1.92.2
22
// (main code and documentation)
33

44
// Help:

imgui.h

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.92.2 WIP
1+
// dear imgui, v1.92.2
22
// (headers)
33

44
// Help:
@@ -28,8 +28,8 @@
2828

2929
// Library Version
3030
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM >= 12345')
31-
#define IMGUI_VERSION "1.92.2 WIP"
32-
#define IMGUI_VERSION_NUM 19215
31+
#define IMGUI_VERSION "1.92.2"
32+
#define IMGUI_VERSION_NUM 19220
3333
#define IMGUI_HAS_TABLE // Added BeginTable() - from IMGUI_VERSION_NUM >= 18000
3434
#define IMGUI_HAS_TEXTURES // Added ImGuiBackendFlags_RendererHasTextures - from IMGUI_VERSION_NUM >= 19198
3535

@@ -3970,24 +3970,24 @@ struct ImGuiPlatformImeData
39703970
namespace ImGui
39713971
{
39723972
// OBSOLETED in 1.92.0 (from June 2025)
3973-
inline void PushFont(ImFont* font) { PushFont(font, font ? font->LegacySize : 0.0f); }
3973+
inline void PushFont(ImFont* font) { PushFont(font, font ? font->LegacySize : 0.0f); }
39743974
IMGUI_API void SetWindowFontScale(float scale); // Set font scale factor for current window. Prefer using PushFont(NULL, style.FontSizeBase * factor) or use style.FontScaleMain to scale all windows.
39753975
// OBSOLETED in 1.91.9 (from February 2025)
39763976
IMGUI_API void Image(ImTextureRef tex_ref, const ImVec2& image_size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& tint_col, const ImVec4& border_col); // <-- 'border_col' was removed in favor of ImGuiCol_ImageBorder. If you use 'tint_col', use ImageWithBg() instead.
39773977
// OBSOLETED in 1.91.0 (from July 2024)
3978-
inline void PushButtonRepeat(bool repeat) { PushItemFlag(ImGuiItemFlags_ButtonRepeat, repeat); }
3979-
inline void PopButtonRepeat() { PopItemFlag(); }
3980-
inline void PushTabStop(bool tab_stop) { PushItemFlag(ImGuiItemFlags_NoTabStop, !tab_stop); }
3981-
inline void PopTabStop() { PopItemFlag(); }
3978+
inline void PushButtonRepeat(bool repeat) { PushItemFlag(ImGuiItemFlags_ButtonRepeat, repeat); }
3979+
inline void PopButtonRepeat() { PopItemFlag(); }
3980+
inline void PushTabStop(bool tab_stop) { PushItemFlag(ImGuiItemFlags_NoTabStop, !tab_stop); }
3981+
inline void PopTabStop() { PopItemFlag(); }
39823982
IMGUI_API ImVec2 GetContentRegionMax(); // Content boundaries max (e.g. window boundaries including scrolling, or current column boundaries). You should never need this. Always use GetCursorScreenPos() and GetContentRegionAvail()!
39833983
IMGUI_API ImVec2 GetWindowContentRegionMin(); // Content boundaries min for the window (roughly (0,0)-Scroll), in window-local coordinates. You should never need this. Always use GetCursorScreenPos() and GetContentRegionAvail()!
39843984
IMGUI_API ImVec2 GetWindowContentRegionMax(); // Content boundaries max for the window (roughly (0,0)+Size-Scroll), in window-local coordinates. You should never need this. Always use GetCursorScreenPos() and GetContentRegionAvail()!
39853985
// OBSOLETED in 1.90.0 (from September 2023)
3986-
inline bool BeginChildFrame(ImGuiID id, const ImVec2& size, ImGuiWindowFlags window_flags = 0) { return BeginChild(id, size, ImGuiChildFlags_FrameStyle, window_flags); }
3987-
inline void EndChildFrame() { EndChild(); }
3988-
//static inline bool BeginChild(const char* str_id, const ImVec2& size_arg, bool borders, ImGuiWindowFlags window_flags){ return BeginChild(str_id, size_arg, borders ? ImGuiChildFlags_Borders : ImGuiChildFlags_None, window_flags); } // Unnecessary as true == ImGuiChildFlags_Borders
3989-
//static inline bool BeginChild(ImGuiID id, const ImVec2& size_arg, bool borders, ImGuiWindowFlags window_flags) { return BeginChild(id, size_arg, borders ? ImGuiChildFlags_Borders : ImGuiChildFlags_None, window_flags); } // Unnecessary as true == ImGuiChildFlags_Borders
3990-
inline void ShowStackToolWindow(bool* p_open = NULL) { ShowIDStackToolWindow(p_open); }
3986+
inline bool BeginChildFrame(ImGuiID id, const ImVec2& size, ImGuiWindowFlags window_flags = 0) { return BeginChild(id, size, ImGuiChildFlags_FrameStyle, window_flags); }
3987+
inline void EndChildFrame() { EndChild(); }
3988+
//inline bool BeginChild(const char* str_id, const ImVec2& size_arg, bool borders, ImGuiWindowFlags window_flags){ return BeginChild(str_id, size_arg, borders ? ImGuiChildFlags_Borders : ImGuiChildFlags_None, window_flags); } // Unnecessary as true == ImGuiChildFlags_Borders
3989+
//inline bool BeginChild(ImGuiID id, const ImVec2& size_arg, bool borders, ImGuiWindowFlags window_flags) { return BeginChild(id, size_arg, borders ? ImGuiChildFlags_Borders : ImGuiChildFlags_None, window_flags); } // Unnecessary as true == ImGuiChildFlags_Borders
3990+
inline void ShowStackToolWindow(bool* p_open = NULL) { ShowIDStackToolWindow(p_open); }
39913991
IMGUI_API bool Combo(const char* label, int* current_item, bool (*old_callback)(void* user_data, int idx, const char** out_text), void* user_data, int items_count, int popup_max_height_in_items = -1);
39923992
IMGUI_API bool ListBox(const char* label, int* current_item, bool (*old_callback)(void* user_data, int idx, const char** out_text), void* user_data, int items_count, int height_in_items = -1);
39933993
// OBSOLETED in 1.89.7 (from June 2023)

imgui_demo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.92.2 WIP
1+
// dear imgui, v1.92.2
22
// (demo code)
33

44
// Help:

imgui_draw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.92.2 WIP
1+
// dear imgui, v1.92.2
22
// (drawing and font code)
33

44
/*

imgui_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.92.2 WIP
1+
// dear imgui, v1.92.2
22
// (internal structures/api)
33

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

imgui_tables.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.92.2 WIP
1+
// dear imgui, v1.92.2
22
// (tables and columns code)
33

44
/*

imgui_widgets.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.92.2 WIP
1+
// dear imgui, v1.92.2
22
// (widgets code)
33

44
/*

0 commit comments

Comments
 (0)