Skip to content

Commit ecb9b1e

Browse files
committed
Version 1.72
1 parent 7a26a49 commit ecb9b1e

File tree

10 files changed

+39
-37
lines changed

10 files changed

+39
-37
lines changed

docs/CHANGELOG.txt

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ HOW TO UPDATE?
3030

3131

3232
-----------------------------------------------------------------------
33-
VERSION 1.72 (In Progress)
33+
VERSION 1.72 (Released 2019-07-27)
3434
-----------------------------------------------------------------------
3535

3636
Breaking Changes:
@@ -45,37 +45,38 @@ Breaking Changes:
4545
Kept redirection function (will obsolete). (#581, #324)
4646

4747
Other Changes:
48-
- Window: Fixed InnerClipRect right-most coordinates using wrong padding setting (introduced in 1.71).
49-
- Window: Mouse wheel scrolling while hovering a child window is automatically forwarded to parent window
48+
comments about the right way to scale your UI (load a font at the right side, rebuild atlas, scale style).
49+
- Scrolling: Made mouse-wheel scrolling lock the underlying window until the mouse is moved again or
50+
until a short delay expires (~2 seconds). This allow uninterrupted scroll even if child windows are
51+
passing under the mouse cursor. (#2604)
52+
- Scrolling: Made it possible for mouse wheel and navigation-triggered scrolling to override a call to
53+
SetScrollX()/SetScrollY(), making it possible to use a simpler stateless pattern for auto-scrolling:
54+
// (Submit items..)
55+
if (ImGui::GetScrollY() >= ImGui::GetScrollMaxY()) // If scrolling at the already at the bottom..
56+
ImGui::SetScrollHereY(1.0f); // ..make last item fully visible
57+
- Scrolling: Added SetScrollHereX(), SetScrollFromPosX() for completeness. (#1580) [@kevreco]
58+
- Scrolling: Mouse wheel scrolling while hovering a child window is automatically forwarded to parent window
5059
if ScrollMax is zero on the scrolling axis.
51-
Also still case if ImGuiWindowFlags_NoScrollWithMouse is set (not new), but previously the forwarding
60+
Also still the case if ImGuiWindowFlags_NoScrollWithMouse is set (not new), but previously the forwarding
5261
would be disabled if ImGuiWindowFlags_NoScrollbar was set on the child window, which is not the case
5362
any more. Forwarding can still be disabled by setting ImGuiWindowFlags_NoInputs. (amend #1502, #1380).
63+
- Window: Fixed InnerClipRect right-most coordinates using wrong padding setting (introduced in 1.71).
5464
- Window: Fixed old SetWindowFontScale() api value from not being inherited by child window. Added
55-
comments about the right way to scale your UI (load a font at the right side, rebuild atlas, scale style).
65+
- Scrollbar: Avoid overlapping the opposite side when window (often a child window) is forcibly too small.
5666
- Combo: Hide arrow when there's not enough space even for the square button.
67+
- InputText: Testing for newly added ImGuiKey_KeyPadEnter key. (#2677, #2005) [@amc522]
5768
- TabBar: Fixed unfocused tab bar separator color (was using ImGuiCol_Tab, should use ImGuiCol_TabUnfocusedActive).
5869
- Columns: Fixed a regression from 1.71 where the right-side of the contents rectangle within each column
5970
would wrongly use a WindowPadding.x instead of ItemSpacing.x like it always did. (#125, #2666)
6071
- Columns: Made the right-most edge reaches up to the clipping rectangle (removing half of WindowPadding.x
6172
worth of asymmetrical/extraneous padding, note that there's another half that conservatively has to offset
62-
the right-most column, otherwise it's clipping width won't match the other column). (#125, #2666)
73+
the right-most column, otherwise it's clipping width won't match the other columns). (#125, #2666)
6374
- Columns: Improved honoring alignment with various values of ItemSpacing.x and WindowPadding.x. (#125, #2666)
6475
- Columns: Made GetColumnOffset() and GetColumnWidth() behave when there's no column set, consistently with
6576
other column functions. (#2683)
6677
- InputTextMultiline: Fixed vertical scrolling tracking glitch.
6778
- Word-wrapping: Fixed overzealous word-wrapping when glyph edge lands exactly on the limit. Because
6879
of this, auto-fitting exactly unwrapped text would make it wrap. (fixes initial 1.15 commit, 78645a7d).
69-
- Scrolling: Made mouse-wheel scrolling lock the underlying window until the mouse is moved again or
70-
until a short delay expires (2 seconds). This allow uninterrupted scroll even if child windows are
71-
passing under the mouse cursor. (#2604)
72-
- Scrolling: Made it possible for mouse wheel and navigation-triggered scrolling to override a call to
73-
SetScrollX()/SetScrollY(), making it possible to use a simpler stateless pattern for auto-scrolling:
74-
// (Submit items..)
75-
if (ImGui::GetScrollY() >= ImGui::GetScrollMaxY()) // Keep scrolling at the bottom if already
76-
ImGui::SetScrollHereY(1.0f);
77-
- Scrolling: Added SetScrollHereX(), SetScrollFromPosX() for completeness. (#1580) [@kevreco]
78-
- Scrollbar: Avoid overlapping the opposite side when window (often a child window) is forcibly too small.
7980
- Style: Attenuated default opacity of ImGuiCol_Separator in Classic and Light styles.
8081
- Style: Added style.ColorButtonPosition (left/right, defaults to ImGuiDir_Right) to move the color button
8182
of ColorEdit3/ColorEdit4 functions to either side of the inputs.

docs/README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ dear imgui
33
[![Build Status](https://api.travis-ci.com/ocornut/imgui.svg?branch=master)](https://travis-ci.com/ocornut/imgui)
44
[![Coverity Status](https://scan.coverity.com/projects/4720/badge.svg)](https://scan.coverity.com/projects/4720)
55

6-
_(This library is free as in freedom, but needs your support to sustain its development. In addition to maintenance and stability there are many desirable features yet to be added. If your company is using dear imgui, please consider reaching out for invoiced financial support. If you are an individual using dear imgui, please consider donating via Patreon or PayPal.)_
6+
_(This library is available under a free and permissive licence, but needs financial support to sustain its continued improvements. In addition to maintenance and stability there are many desirable features yet to be added. If your company is using dear imgui, please consider reaching out. If you are an individual using dear imgui, please consider supporting the project via Patreon or PayPal.)_
7+
8+
Businesses: support continued development via invoiced technical support & maintenance contracts:
9+
<br>&nbsp;&nbsp;_E-mail: omarcornut at gmail dot com_
710

811
Individuals/hobbyists: support continued maintenance and development via the monthly Patreon:
912
<br>&nbsp;&nbsp;[![Patreon](https://raw.githubusercontent.com/wiki/ocornut/imgui/web/patreon_01.png)](http://www.patreon.com/imgui)
1013

1114
Individuals/hobbyists: support continued maintenance and development via PayPal:
1215
<br>&nbsp;&nbsp;[![PayPal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WGHNC6MBFLZ2S)
1316

14-
Businesses: support continued maintenance and development via support contracts or sponsoring:
15-
<br>&nbsp;&nbsp;_E-mail: omarcornut at gmail dot com_
16-
1717
Dear ImGui is a bloat-free graphical user interface library for C++. It outputs optimized vertex buffers that you can render anytime in your 3D-pipeline enabled application. It is fast, portable, renderer agnostic and self-contained (no external dependencies).
1818

1919
Dear ImGui is designed to enable fast iterations and to empower programmers to create content creation tools and visualization / debug tools (as opposed to UI for the average end-user). It favors simplicity and productivity toward this goal, and lacks certain features normally found in more high-level libraries.
@@ -290,30 +290,31 @@ Support dear imgui
290290

291291
**How can I help financing further development of Dear ImGui?**
292292

293-
Your contributions are keeping this project alive. The library is free as in freedom, but continued maintenance and development are a full-time endeavor. In addition to maintenance and stability there are many desirable features yet to be added. If your company is using dear imgui, please consider reaching out for financial support. If you are an individual using dear imgui, please consider donating via Patreon or PayPal. Thank you!
293+
Your contributions are keeping this project alive. The library is available under a free and permissive licence, but continued maintenance and development are a full-time endeavor and I would like to grow the team. In addition to maintenance and stability there are many desirable features yet to be added. If your company is using dear imgui, please consider reaching out for invoiced technical support and maintenance contracts. If you are an individual using dear imgui, please consider supporting the project via Patreon or PayPal. Thank you!
294+
295+
Businesses: support continued development via invoiced technical support & maintenance contracts:
296+
<br>&nbsp;&nbsp;_E-mail: omarcornut at gmail dot com_
294297

295298
Individuals/hobbyists: support continued maintenance and development via the monthly Patreon:
296299
<br>&nbsp;&nbsp;[![Patreon](https://raw.githubusercontent.com/wiki/ocornut/imgui/web/patreon_01.png)](http://www.patreon.com/imgui)
297300

298301
Individuals/hobbyists: support continued maintenance and development via PayPal:
299302
<br>&nbsp;&nbsp;[![PayPal](https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WGHNC6MBFLZ2S)
300303

301-
Businesses: support continued maintenance and development via support contracts or sponsoring:
302-
<br>&nbsp;&nbsp;_E-mail: omarcornut at gmail dot com_
303-
304304
Ongoing dear imgui development is financially supported by users and private sponsors, recently:
305305

306306
**Platinum-chocolate sponsors**
307-
- **Blizzard Entertainment**.
307+
- Blizzard Entertainment
308+
- Google
308309

309310
**Double-chocolate sponsors**
310311
- Media Molecule, Mobigame, Aras Pranckevičius, Greggman, DotEmu, Nadeo, Supercell, Runner, Aiden Koss, Kylotonn.
311312

312313
**Salty caramel supporters**
313-
- Remedy Entertainment, Recognition Robotics, ikrima, Geoffrey Evans, Mercury Labs, Singularity Demo Group, Lionel Landwerlin, Ron Gilbert, Brandon Townsend, Nikhil Deshpande, Cort Stratton, drudru, Harfang 3D, Jeff Roberts, Rainway inc, Ondra Voves, Mesh Consultants, Unit 2 Games, Neil Bickford.
314+
- Remedy Entertainment, Recognition Robotics, ikrima, Geoffrey Evans, Mercury Labs, Singularity Demo Group, Lionel Landwerlin, Ron Gilbert, Brandon Townsend, Morten Skaaning, Nikhil Deshpande, Cort Stratton, drudru, Harfang 3D, Jeff Roberts, Rainway inc, Ondra Voves, Mesh Consultants, Unit 2 Games, Neil Bickford.
314315

315316
**Caramel supporters**
316-
- Jerome Lanquetot, Daniel Collin, Ctrl Alt Ninja, Neil Henning, Neil Blakey-Milner, Aleksei, NeiloGD, Eric, Game Atelier, Vincent Hamm, Colin Riley, Sergio Gonzales, Andrew Berridge, Roy Eltham, Game Preservation Society, Josh Faust, Martin Donlon, Codecat, Doug McNabb, Emmanuel Julien, Guillaume Chereau, Jeffrey Slutter, Jeremiah Deckard, r-lyeh, Nekith, Joshua Fisher, Malte Hoffmann, Mustafa Karaalioglu, Merlyn Morgan-Graham, Per Vognsen, Fabian Giesen, Jan Staubach, Matt Hargett, John Shearer, Jesse Chounard, kingcoopa, Jonas Bernemann, Johan Andersson, Michael Labbe, Tomasz Golebiowski, Louis Schnellbach, Jimmy Andrews, Bojan Endrovski, Robin Berg Pettersen, Rachel Crawford, Andrew Johnson, Sean Hunter, Jordan Mellow, Nefarius Software Solutions, Laura Wieme, Robert Nix, Mick Honey, Steven Kah Hien Wong, Bartosz Bielecki, Oscar Penas, A M, Liam Moynihan, Artometa, Mark Lee, Dimitri Diakopoulos, Pete Goodwin, Johnathan Roatch, nyu lea, Oswald Hurlem, Semyon Smelyanskiy, Le Bach, Jeong MyeongSoo, Chris Matthews, Astrofra.
317+
- Jerome Lanquetot, Daniel Collin, Ctrl Alt Ninja, Neil Henning, Neil Blakey-Milner, Aleksei, NeiloGD, Eric, Game Atelier, Vincent Hamm, Colin Riley, Sergio Gonzales, Andrew Berridge, Roy Eltham, Game Preservation Society, Josh Faust, Martin Donlon, Codecat, Doug McNabb, Emmanuel Julien, Guillaume Chereau, Jeffrey Slutter, Jeremiah Deckard, r-lyeh, Nekith, Joshua Fisher, Malte Hoffmann, Mustafa Karaalioglu, Merlyn Morgan-Graham, Per Vognsen, Fabian Giesen, Jan Staubach, Matt Hargett, John Shearer, Jesse Chounard, kingcoopa, Jonas Bernemann, Johan Andersson, Michael Labbe, Tomasz Golebiowski, Louis Schnellbach, Jimmy Andrews, Bojan Endrovski, Robin Berg Pettersen, Rachel Crawford, Andrew Johnson, Sean Hunter, Jordan Mellow, Nefarius Software Solutions, Laura Wieme, Robert Nix, Mick Honey, Steven Kah Hien Wong, Bartosz Bielecki, Oscar Penas, A M, Liam Moynihan, Artometa, Mark Lee, Dimitri Diakopoulos, Pete Goodwin, Johnathan Roatch, nyu lea, Oswald Hurlem, Semyon Smelyanskiy, Le Bach, Jeong MyeongSoo, Chris Matthews, Astrofra, Frederik De Bleser, Anticrisis.
317318

318319
And all other past and present supporters; THANK YOU!
319320
(Please contact me if you would like to be added or removed from this list)

examples/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-----------------------------------------------------------------------
2-
dear imgui, v1.72 WIP
2+
dear imgui, v1.72
33
-----------------------------------------------------------------------
44
examples/README.txt
55
(This is the README file for the examples/ folder. See docs/ for more documentation)

imgui.cpp

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

44
// Call and read ImGui::ShowDemoWindow() in imgui_demo.cpp for demo code.

imgui.h

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

44
// See imgui.cpp file for documentation.
@@ -46,8 +46,8 @@ Index of this file:
4646

4747
// Version
4848
// (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)
49-
#define IMGUI_VERSION "1.72 WIP"
50-
#define IMGUI_VERSION_NUM 17102
49+
#define IMGUI_VERSION "1.72"
50+
#define IMGUI_VERSION_NUM 17200
5151
#define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))
5252

5353
// Define attributes of all API symbols declarations (e.g. for DLL under Windows)

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

44
// Message to the person tempted to delete this file when integrating Dear ImGui into their code base:

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

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

44
/*

misc/fonts/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
dear imgui, v1.72 WIP
1+
dear imgui, v1.72
22
(Font Readme)
33

44
---------------------------------------

0 commit comments

Comments
 (0)