Skip to content

Commit e5cb04b

Browse files
committed
Version 1.79
+ Update readme and mission statement. Removed "Minimize screen reel-estate usage", removed details on memory consumption (still very valid, just too much noise in a mission statement)
1 parent c6f9c55 commit e5cb04b

10 files changed

+33
-31
lines changed

.github/workflows/static-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
discord-job-fixed-failure-embed: |
6868
{
6969
"title": "`{{ github.branch }}` branch is no longer failing!",
70-
"description": "Staic analysis failures were fixed on [{{ github.branch }}]({{ github.branch_url }}) branch.",
70+
"description": "Static analysis failures were fixed on [{{ github.branch }}]({{ github.branch_url }}) branch.",
7171
"color": "0x00FF00",
7272
"url": "{{ github.context.payload.head_commit.url }}",
7373
"timestamp": "{{ run.completed_at }}"

docs/CHANGELOG.txt

+6-4
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ HOW TO UPDATE?
3232

3333

3434
-----------------------------------------------------------------------
35-
VERSION 1.79 WIP (In Progress)
35+
VERSION 1.79 (Released 2020-10-08)
3636
-----------------------------------------------------------------------
3737

3838
Breaking Changes:
@@ -42,14 +42,15 @@ Breaking Changes:
4242
It was also getting in the way of better font scaling, so let's get rid of it now!
4343
If you used DisplayOffset it was probably in association to rasterizing a font at a specific size,
4444
in which case the corresponding offset may be reported into GlyphOffset. (#1619)
45+
If you scaled this value after calling AddFontDefault(), this is now done automatically.
4546
- ImGuiListClipper: Renamed constructor parameters which created an ambiguous alternative to using
4647
the ImGuiListClipper::Begin() function, with misleading edge cases. Always use ImGuiListClipper::Begin()!
4748
Kept inline redirection function (will obsolete).
4849
(note: imgui_memory_editor <0.40 from imgui_club/ used this old clipper API. Update your copy if needed).
4950
- Style: Renamed style.TabMinWidthForUnselectedCloseButton to style.TabMinWidthForCloseButton.
5051
- Renamed ImGuiSliderFlags_ClampOnInput to ImGuiSliderFlags_AlwaysClamp. Kept redirection enum (will obsolete).
5152
- Renamed OpenPopupContextItem() back to OpenPopupOnItemClick(), REVERTED CHANGE FROM 1.77.
52-
For variety of reason this is more self-explanatory. Kept inline redirection function.
53+
For variety of reason this is more self-explanatory and less error-prone. Kept inline redirection function.
5354
- Removed return value from OpenPopupOnItemClick() - returned true on mouse release on item - because it
5455
is inconsistent with other popups API and makes others misleading. It's also and unnecessary: you can
5556
use IsWindowAppearing() after BeginPopup() for a similar result.
@@ -59,8 +60,8 @@ Other Changes:
5960
- Window: Fixed using non-zero pivot in SetNextWindowPos() when the window is collapsed. (#3433)
6061
- Nav: Fixed navigation resuming on first visible item when using gamepad. [@rokups]
6162
- Nav: Fixed using Alt to toggle the Menu layer when inside a Modal window. (#787)
62-
- Scrolling: Fixed SetScrollHere functions edge snapping when called during a frame where ContentSize
63-
is changing (issue introduced in 1.78). (#3452).
63+
- Scrolling: Fixed SetScrollHere(0) functions edge snapping when called during a frame where
64+
ContentSize is changing (issue introduced in 1.78). (#3452).
6465
- InputText: Added support for Page Up/Down in InputTextMultiline(). (#3430) [@Xipiryon]
6566
- InputText: Added selection helpers in ImGuiInputTextCallbackData().
6667
- InputText: Added ImGuiInputTextFlags_CallbackEdit to modify internally owned buffer after an edit.
@@ -104,6 +105,7 @@ Other Changes:
104105
- Popups, Tooltips: Fix edge cases issues with positionning popups and tooltips when they are larger than
105106
viewport on either or both axises. [@Rokups]
106107
- Fonts: AddFontDefault() adjust its vertical offset based on floor(size/13) instead of always +1.
108+
Was previously done by altering DisplayOffset.y but wouldn't work for DPI scaled font.
107109
- Metrics: Various tweaks, listing windows front-to-back, greying inactive items when possible.
108110
- Demo: Add simple InputText() callbacks demo (aside from the more elaborate ones in 'Examples->Console').
109111
- Backends: OpenGL3: Fix to avoid compiling/calling glBindSampler() on ES or pre 3.3 contexts which have

docs/README.md

+13-12
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ Dear ImGui
55

66
<sub>(This library is available under a free and permissive license, 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.)</sub>
77

8-
Businesses: support continued development via invoiced technical support, maintenance, sponsoring contracts:
8+
Businesses: support continued development and maintenance via invoiced technical support, maintenance, sponsoring contracts:
99
<br>&nbsp;&nbsp;_E-mail: contact @ dearimgui dot com_
1010

11-
Individuals: support continued maintenance and development with [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WGHNC6MBFLZ2S).
11+
Individuals: support continued development and maintenance [here](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WGHNC6MBFLZ2S).
12+
13+
Also see [Sponsors](https://github.com/ocornut/imgui/wiki/Sponsors) page.
1214

1315
----
1416

@@ -18,7 +20,7 @@ Dear ImGui is designed to **enable fast iterations** and to **empower programmer
1820

1921
Dear ImGui is particularly suited to integration in games engine (for tooling), real-time 3D applications, fullscreen applications, embedded applications, or any applications on consoles platforms where operating system features are non-standard.
2022

21-
| [Usage](#usage) - [How it works](#how-it-works) - [Demo](#demo) - [Integration](#integration) |
23+
| [Usage](#usage) - [How it works](#how-it-works) - [Releases](#releases) - [Demo](#demo) - [Integration](#integration) |
2224
:----------------------------------------------------------: |
2325
| [Upcoming changes](#upcoming-changes) - [Gallery](#gallery) - [Support, FAQ](#support-frequently-asked-questions-faq) - [How to help](#how-to-help) - [Sponsors](#sponsors) - [Credits](#credits) - [License](#license) |
2426
| [Wiki](https://github.com/ocornut/imgui/wiki) - [Language & frameworks bindings](https://github.com/ocornut/imgui/wiki/Bindings) - [Software using Dear ImGui](https://github.com/ocornut/imgui/wiki/Software-using-dear-imgui) - [User quotes](https://github.com/ocornut/imgui/wiki/Quotes) |
@@ -36,7 +38,7 @@ You will need a backend to integrate Dear ImGui in your app. The backend passes
3638
After Dear ImGui is setup in your application, you can use it from \_anywhere\_ in your program loop:
3739

3840
Code:
39-
```cp
41+
```cpp
4042
ImGui::Text("Hello, world %d", 123);
4143
if (ImGui::Button("Save"))
4244
MySaveFunction();
@@ -45,7 +47,7 @@ ImGui::SliderFloat("float", &f, 0.0f, 1.0f);
4547
```
4648
Result:
4749
<br>![sample code output (dark)](https://raw.githubusercontent.com/wiki/ocornut/imgui/web/v175/capture_readme_styles_0001.png) ![sample code output (light)](https://raw.githubusercontent.com/wiki/ocornut/imgui/web/v175/capture_readme_styles_0002.png)
48-
<br>_(settings: Dark style (left), Light style (right) / Font: Roboto-Medium, 16px / Rounding: 5)_
50+
<br>_(settings: Dark style (left), Light style (right) / Font: Roboto-Medium, 16px)_
4951
5052
Code:
5153
```cpp
@@ -91,6 +93,10 @@ Dear ImGui outputs vertex buffers and command lists that you can easily render i
9193

9294
_A common misunderstanding is to mistake immediate mode gui for immediate mode rendering, which usually implies hammering your driver/GPU with a bunch of inefficient draw calls and state changes as the gui functions are called. This is NOT what Dear ImGui does. Dear ImGui outputs vertex buffers and a small list of draw calls batches. It never touches your GPU directly. The draw call batches are decently optimal and you can render them later, in your app or even remotely._
9395

96+
### Releases
97+
98+
See [Releases](https://github.com/ocornut/imgui/releases) page.
99+
94100
### Demo
95101

96102
Calling the `ImGui::ShowDemoWindow()` function will create a demo window showcasing variety of features and examples. The code is always available for reference in `imgui_demo.cpp`.
@@ -179,12 +185,7 @@ How to help
179185

180186
**How can I help financing further development of Dear ImGui?**
181187

182-
Your contributions are keeping this project alive. The library is available under a free and permissive license, 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. Thank you!
183-
184-
Businesses: support continued development via invoiced technical support, maintenance, sponsoring contracts:
185-
<br>&nbsp;&nbsp;_E-mail: contact @ dearimgui.com_
186-
187-
Individuals: support continued maintenance and development with [PayPal](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WGHNC6MBFLZ2S).
188+
See [Sponsors](https://github.com/ocornut/imgui/wiki/Sponsors) page.
188189

189190
Sponsors
190191
--------
@@ -214,7 +215,7 @@ Developed by [Omar Cornut](http://www.miracleworld.net) and every direct or indi
214215
Recurring contributors (2020): Omar Cornut [@ocornut](https://github.com/ocornut), Rokas Kupstys [@rokups](https://github.com/rokups), Ben Carter [@ShironekoBen](https://github.com/ShironekoBen).
215216
A large portion of work on automation systems, regression tests and other features are currently unpublished.
216217

217-
"I first discovered the IMGUI paradigm at [Q-Games](http://www.q-games.com) where Atman Binstock had dropped his own simple implementation in the codebase, which I spent quite some time improving and thinking about. It turned out that Atman was exposed to the concept directly by working with Casey. When I moved to Media Molecule I rewrote a new library trying to overcome the flaws and limitations of the first one I've worked with. It became this library and since then I have spent an unreasonable amount of time iterating and improving it."
218+
Omar: "I first discovered the IMGUI paradigm at [Q-Games](http://www.q-games.com) where Atman Binstock had dropped his own simple implementation in the codebase, which I spent quite some time improving and thinking about. It turned out that Atman was exposed to the concept directly by working with Casey. When I moved to Media Molecule I rewrote a new library trying to overcome the flaws and limitations of the first one I've worked with. It became this library and since then I have spent an unreasonable amount of time iterating and improving it."
218219

219220
Embeds [ProggyClean.ttf](http://upperbounds.net) font by Tristan Grimmer (MIT license).
220221

examples/README.txt

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

imgui.cpp

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

44
// Help:
@@ -92,14 +92,13 @@ CODE
9292
- Easy to use to create code-driven and data-driven tools.
9393
- Easy to use to create ad hoc short-lived tools and long-lived, more elaborate tools.
9494
- Easy to hack and improve.
95-
- Minimize screen real-estate usage.
9695
- Minimize setup and maintenance.
9796
- Minimize state storage on user side.
9897
- Portable, minimize dependencies, run on target (consoles, phones, etc.).
99-
- Efficient runtime and memory consumption (NB- we do allocate when "growing" content e.g. creating a window,.
100-
opening a tree node for the first time, etc. but a typical frame should not allocate anything).
98+
- Efficient runtime and memory consumption.
99+
100+
Designed for developers and content-creators, not the typical end-user! Some of the current weaknesses includes:
101101

102-
Designed for developers and content-creators, not the typical end-user! Some of the weaknesses includes:
103102
- Doesn't look fancy, doesn't animate.
104103
- Limited layout features, intricate layouts are typically crafted in code.
105104

@@ -377,7 +376,7 @@ CODE
377376
- 2020/09/25 (1.79) - renamed style.TabMinWidthForUnselectedCloseButton to style.TabMinWidthForCloseButton.
378377
- 2020/09/21 (1.79) - renamed OpenPopupContextItem() back to OpenPopupOnItemClick(), reverting the change from 1.77. For varieties of reason this is more self-explanatory.
379378
- 2020/09/21 (1.79) - removed return value from OpenPopupOnItemClick() - returned true on mouse release on item - because it is inconsistent with other popup APIs and makes others misleading. It's also and unnecessary: you can use IsWindowAppearing() after BeginPopup() for a similar result.
380-
- 2020/09/17 (1.79) - removed ImFont::DisplayOffset in favor of ImFontConfig::GlyphOffset. DisplayOffset was applied after scaling and not very meaningful/useful outside of being needed by the default ProggyClean font. It was also getting in the way of better font scaling, so let's get rid of it now!
379+
- 2020/09/17 (1.79) - removed ImFont::DisplayOffset in favor of ImFontConfig::GlyphOffset. DisplayOffset was applied after scaling and not very meaningful/useful outside of being needed by the default ProggyClean font. If you scaled this value after calling AddFontDefault(), this is now done automatically. It was also getting in the way of better font scaling, so let's get rid of it now!
381380
- 2020/08/17 (1.78) - obsoleted use of the trailing 'float power=1.0f' parameter for DragFloat(), DragFloat2(), DragFloat3(), DragFloat4(), DragFloatRange2(), DragScalar(), DragScalarN(), SliderFloat(), SliderFloat2(), SliderFloat3(), SliderFloat4(), SliderScalar(), SliderScalarN(), VSliderFloat() and VSliderScalar().
382381
replaced the 'float power=1.0f' argument with integer-based flags defaulting to 0 (as with all our flags).
383382
worked out a backward-compatibility scheme so hopefully most C++ codebase should not be affected. in short, when calling those functions:

imgui.h

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

44
// Help:
@@ -59,8 +59,8 @@ Index of this file:
5959

6060
// Version
6161
// (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)
62-
#define IMGUI_VERSION "1.79 WIP"
63-
#define IMGUI_VERSION_NUM 17803
62+
#define IMGUI_VERSION "1.79"
63+
#define IMGUI_VERSION_NUM 17900
6464
#define IMGUI_CHECKVERSION() ImGui::DebugCheckVersionAndDataLayout(IMGUI_VERSION, sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx))
6565

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

imgui_demo.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// dear imgui, v1.79 WIP
1+
// dear imgui, v1.79
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.79 WIP
1+
// dear imgui, v1.79
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.79 WIP
1+
// dear imgui, v1.79
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

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

44
/*

0 commit comments

Comments
 (0)