Skip to content

Commit 35b1148

Browse files
committed
Version 1.82
1 parent 352f646 commit 35b1148

File tree

8 files changed

+25
-21
lines changed

8 files changed

+25
-21
lines changed

docs/CHANGELOG.txt

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,11 @@ HOW TO UPDATE?
3232

3333

3434
-----------------------------------------------------------------------
35-
VERSION 1.82 WIP (In Progresss)
35+
VERSION 1.82 (Released 2021-02-15)
3636
-----------------------------------------------------------------------
3737

38+
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.82
39+
3840
Breaking Changes:
3941

4042
- Removed redirecting functions/enums names that were marked obsolete in 1.66 (September 2018):
@@ -75,9 +77,9 @@ Breaking Changes:
7577

7678
Other Changes:
7779

80+
- Window, Nav: Fixed crash when calling SetWindowFocus(NULL) at the time a new window appears. (#3865) [@nem0]
7881
- Window: Shrink close button hit-testing region when it covers an abnormally high portion of the window visible
7982
area (e.g. when window is collapsed + moved in a corner) to facilitate moving the window away. (#3825)
80-
- Window, Nav: Fixed crash when calling SetWindowFocus(NULL) as the time a new window appears. (#3865) [@nem0]
8183
- Nav: Various fixes for losing gamepad/keyboard navigation reference point when a window reappears or
8284
when it appears while gamepad/keyboard are not being used. (#787)
8385
- Drags: Fixed crash when using DragScalar() directly (not via common wrapper like DragFloat() etc.)
@@ -93,20 +95,20 @@ Other Changes:
9395
This is intended to have no side effects, but brace yourself for the possible comeback.. (#3851, #1370)
9496
- Drag and Drop: can use BeginDragDropSource() for other than the left mouse button as long as the item
9597
has an ID (for ID-less items will add new functionalities later). (#1637, #3885)
96-
- Added GetAllocatorFunctions() to facilitate sharing allocators accross DLL boundaries. (#3836)
9798
- ImFontAtlas: Added 'bool TexPixelsUseColors' output to help backend decide of underlying texture format. (#3369)
9899
This can currently only ever be set by the Freetype renderer.
99100
- imgui_freetype: Added ImGuiFreeTypeBuilderFlags_Bitmap flag to request Freetype loading bitmap data.
100101
This may have an effect on size and must be called with correct size values. (#3879) [@metarutaiga]
101-
- ImDrawList: PathArcTo() now supports "int num_segments = 0" (new default) and adaptively tesselate.
102-
The adapative tesselation uses look up tables, tends to be faster than old PathArcTo() while maintaining
103-
quality for large arcs (tesselation quality derived from "style.CircleTessellationMaxError") (#3491) [@thedmd]
104-
- ImDrawList: PathArcToFast() also adaptively tesselate efficiently. This means that large rounded corners
102+
- ImDrawList: PathArcTo() now supports "int num_segments = 0" (new default) and adaptively tessellate.
103+
The adaptive tessellation uses look up tables, tends to be faster than old PathArcTo() while maintaining
104+
quality for large arcs (tessellation quality derived from "style.CircleTessellationMaxError") (#3491) [@thedmd]
105+
- ImDrawList: PathArcToFast() also adaptively tessellate efficiently. This means that large rounded corners
105106
in e.g. hi-dpi settings will generally look better. (#3491) [@thedmd]
106107
- ImDrawList: AddCircle, AddCircleFilled(): Tweaked default segment count calculation to honor MaxError
107108
with more accuracy. Made default segment count always even for better looking result. (#3808) [@thedmd]
109+
- Misc: Added GetAllocatorFunctions() to facilitate sharing allocators across DLL boundaries. (#3836)
108110
- Misc: Added 'debuggers/imgui.gdb' and 'debuggers/imgui.natstepfilter' (along with existing 'imgui.natvis')
109-
scriptss to configure popular debuggers into skipping trivial functions when using StepInto. [@rokups]
111+
scripts to configure popular debuggers into skipping trivial functions when using StepInto. [@rokups]
110112
- Backends: Android: Added native Android backend. (#3446) [@duddel]
111113
- Backends: Win32: Added ImGui_ImplWin32_EnableAlphaCompositing() to facilitate experimenting with
112114
alpha compositing and transparent windows. (#2766, #3447 etc.).
@@ -116,7 +118,7 @@ Other Changes:
116118
(#2693, #2764, #2766, #2873, #3447, #3813, #3816) [@ocornut, @thedmd, @ShawnM427, @Ubpa, @aiekick]
117119
- Backends: DX9: Fix to support IMGUI_USE_BGRA_PACKED_COLOR. (#3844) [@Xiliusha]
118120
- Backends: DX9: Fix to support colored glyphs, using newly introduced 'TexPixelsUseColors' info. (#3844)
119-
- Examples: Android: Added Android + GL ES2 example. (#3446) [@duddel]
121+
- Examples: Android: Added Android + GL ES3 example. (#3446) [@duddel]
120122
- Examples: Reworked setup of clear color to be compatible with transparent values.
121123
- CI: Use a dedicated "scheduled" workflow to trigger scheduled builds. Forks may disable this workflow if
122124
scheduled builds builds are not required. [@rokups]
@@ -127,6 +129,8 @@ Other Changes:
127129
VERSION 1.81 (Released 2021-02-10)
128130
-----------------------------------------------------------------------
129131

132+
Decorated log: https://github.com/ocornut/imgui/releases/tag/v1.81
133+
130134
Breaking Changes:
131135

132136
- ListBox helpers:

imgui.cpp

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

44
// Help:

imgui.h

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

44
// Help:
@@ -60,8 +60,8 @@ Index of this file:
6060

6161
// Version
6262
// (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)
63-
#define IMGUI_VERSION "1.82 WIP"
64-
#define IMGUI_VERSION_NUM 18104
63+
#define IMGUI_VERSION "1.82"
64+
#define IMGUI_VERSION_NUM 18200
6565
#define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))
6666
#define IMGUI_HAS_TABLE
6767

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.82 WIP
1+
// dear imgui, v1.82
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.82 WIP
1+
// dear imgui, v1.82
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.82 WIP
1+
// dear imgui, v1.82
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

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

44
/*
@@ -166,7 +166,7 @@ Index of this file:
166166
// - Case B: column is clipped / out of sight (because of scrolling or parent ClipRect): TableNextColumn() return false as a hint but we still allow layout output.
167167
// - Case C: column is hidden explicitly by the user (e.g. via the context menu, or _DefaultHide column flag, etc.).
168168
//
169-
// [A] [B] [C]
169+
// [A] [B] [C]
170170
// TableNextColumn(): true false false -> [userland] when TableNextColumn() / TableSetColumnIndex() return false, user can skip submitting items but only if the column doesn't contribute to row height.
171171
// SkipItems: false false true -> [internal] when SkipItems is true, most widgets will early out if submitted, resulting is no layout output.
172172
// ClipRect: normal zero-width zero-width -> [internal] when ClipRect is zero, ItemAdd() will return false and most widgets will early out mid-way.
@@ -635,7 +635,7 @@ static void TableSetupColumnFlags(ImGuiTable* table, ImGuiTableColumn* column, I
635635
{
636636
IM_ASSERT(ImIsPowerOfTwo(flags & ImGuiTableColumnFlags_WidthMask_)); // Check that only 1 of each set is used.
637637
}
638-
638+
639639
// Resize
640640
if ((table->Flags & ImGuiTableFlags_Resizable) == 0)
641641
flags |= ImGuiTableColumnFlags_NoResize;
@@ -808,7 +808,7 @@ void ImGui::TableUpdateLayout(ImGuiTable* table)
808808
// Apply same widths policy
809809
float width_auto = column->WidthAuto;
810810
if (table_sizing_policy == ImGuiTableFlags_SizingFixedSame && (column->AutoFitQueue != 0x00 || !column_is_resizable))
811-
width_auto = fixed_max_width_auto;
811+
width_auto = fixed_max_width_auto;
812812

813813
// Apply automatic width
814814
// Latch initial size for fixed columns and update it constantly for auto-resizing column (unless clipped!)

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.82 WIP
1+
// dear imgui, v1.82
22
// (widgets code)
33

44
/*

0 commit comments

Comments
 (0)