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 5319d1c

Browse files
committed
Version 1.89.6
1 parent 075b975 commit 5319d1c

File tree

10 files changed

+26
-24
lines changed

10 files changed

+26
-24
lines changed

docs/CHANGELOG.txt

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

3333

3434
-----------------------------------------------------------------------
35-
VERSION 1.89.6 WIP (In Progress)
35+
VERSION 1.89.6 (Released 2023-05-31)
3636
-----------------------------------------------------------------------
3737

38+
Decorated log and release notes: https://github.com/ocornut/imgui/releases/tag/v1.89.6
39+
3840
Breaking changes:
3941

4042
- Clipper: Commented out obsolete redirection constructor which was marked obsolete in 1.79:

docs/FAQ.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ You may take a look at:
654654
- [Quotes](https://github.com/ocornut/imgui/wiki/Quotes)
655655
- [Software using Dear ImGui](https://github.com/ocornut/imgui/wiki/Software-using-dear-imgui)
656656
- [Sponsors](https://github.com/ocornut/imgui/wiki/Sponsors)
657-
- [Gallery](https://github.com/ocornut/imgui/issues/5886)
657+
- [Gallery](https://github.com/ocornut/imgui/issues/6478)
658658
659659
##### [Return to Index](#index)
660660
@@ -700,7 +700,7 @@ There is an auto-generated [c-api for Dear ImGui (cimgui)](https://github.com/ci
700700
- Individuals: you can support continued maintenance and development via PayPal donations. See [README](https://github.com/ocornut/imgui/blob/master/docs/README.md).
701701
- If you are experienced with Dear ImGui and C++, look at [GitHub Issues](https://github.com/ocornut/imgui/issues), [GitHub Discussions](https://github.com/ocornut/imgui/discussions), the [Wiki](https://github.com/ocornut/imgui/wiki), read [docs/TODO.txt](https://github.com/ocornut/imgui/blob/master/docs/TODO.txt), and see how you want to help and can help!
702702
- Disclose your usage of Dear ImGui via a dev blog post, a tweet, a screenshot, a mention somewhere, etc.
703-
You may post screenshots or links in the [gallery threads](https://github.com/ocornut/imgui/issues/5886). Visuals are ideal as they inspire other programmers. Disclosing your use of Dear ImGui helps the library grow credibility, and helps other teams and programmers with taking decisions.
703+
You may post screenshots or links in the [gallery threads](https://github.com/ocornut/imgui/issues/6478). Visuals are ideal as they inspire other programmers. Disclosing your use of Dear ImGui helps the library grow credibility, and helps other teams and programmers with taking decisions.
704704
- If you have issues or if you need to hack into the library, even if you don't expect any support it is useful that you share your issues or sometimes incomplete PR.
705705
706706
##### [Return to Index](#index)

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ Also see [Wiki](https://github.com/ocornut/imgui/wiki) for more links and ideas.
135135

136136
### Gallery
137137

138-
For more user-submitted screenshots of projects using Dear ImGui, check out the [Gallery Threads](https://github.com/ocornut/imgui/issues/5886)!
138+
For more user-submitted screenshots of projects using Dear ImGui, check out the [Gallery Threads](https://github.com/ocornut/imgui/issues/6478)!
139139

140140
For a list of third-party widgets and extensions, check out the [Useful Extensions/Widgets](https://github.com/ocornut/imgui/wiki/Useful-Extensions) wiki page.
141141

@@ -166,7 +166,7 @@ We occasionally tag [Releases](https://github.com/ocornut/imgui/releases) (with
166166

167167
**Who uses Dear ImGui?**
168168

169-
See the [Quotes](https://github.com/ocornut/imgui/wiki/Quotes), [Sponsors](https://github.com/ocornut/imgui/wiki/Sponsors), and [Software using Dear ImGui](https://github.com/ocornut/imgui/wiki/Software-using-dear-imgui) Wiki pages for an idea of who is using Dear ImGui. Please add your game/software if you can! Also, see the [Gallery Threads](https://github.com/ocornut/imgui/issues/5886)!
169+
See the [Quotes](https://github.com/ocornut/imgui/wiki/Quotes), [Sponsors](https://github.com/ocornut/imgui/wiki/Sponsors), and [Software using Dear ImGui](https://github.com/ocornut/imgui/wiki/Software-using-dear-imgui) Wiki pages for an idea of who is using Dear ImGui. Please add your game/software if you can! Also, see the [Gallery Threads](https://github.com/ocornut/imgui/issues/6478)!
170170

171171
How to help
172172
-----------

imgui.cpp

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

44
// Help:
@@ -11,7 +11,7 @@
1111
// - FAQ http://dearimgui.com/faq
1212
// - Homepage & latest https://github.com/ocornut/imgui
1313
// - Releases & changelog https://github.com/ocornut/imgui/releases
14-
// - Gallery https://github.com/ocornut/imgui/issues/5886 (please post your screenshots/video there!)
14+
// - Gallery https://github.com/ocornut/imgui/issues/6478 (please post your screenshots/video there!)
1515
// - Wiki https://github.com/ocornut/imgui/wiki (lots of good stuff there)
1616
// - Glossary https://github.com/ocornut/imgui/wiki/Glossary
1717
// - Issues & support https://github.com/ocornut/imgui/issues
@@ -4916,7 +4916,7 @@ void ImGui::EndFrame()
49164916
ImGuiPlatformImeData* ime_data = &g.PlatformImeData;
49174917
if (g.IO.SetPlatformImeDataFn && memcmp(ime_data, &g.PlatformImeDataPrev, sizeof(ImGuiPlatformImeData)) != 0)
49184918
{
4919-
IMGUI_DEBUG_LOG_IO("Calling io.SetPlatformImeDataFn(): WantVisible: %d, InputPos (%.2f,%.2f)\n", ime_data->WantVisible, ime_data->InputPos.x, ime_data->InputPos.y);
4919+
IMGUI_DEBUG_LOG_IO("[io] Calling io.SetPlatformImeDataFn(): WantVisible: %d, InputPos (%.2f,%.2f)\n", ime_data->WantVisible, ime_data->InputPos.x, ime_data->InputPos.y);
49204920
ImGuiViewport* viewport = GetMainViewport();
49214921
#ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS
49224922
if (viewport->PlatformHandleRaw == NULL && g.IO.ImeWindowHandle != NULL)
@@ -8559,7 +8559,7 @@ static void LockWheelingWindow(ImGuiWindow* window, float wheel_amount)
85598559
g.WheelingWindowReleaseTimer = 0.0f;
85608560
if (g.WheelingWindow == window)
85618561
return;
8562-
IMGUI_DEBUG_LOG_IO("LockWheelingWindow() \"%s\"\n", window ? window->Name : "NULL");
8562+
IMGUI_DEBUG_LOG_IO("[io] LockWheelingWindow() \"%s\"\n", window ? window->Name : "NULL");
85638563
g.WheelingWindow = window;
85648564
g.WheelingWindowRefMousePos = g.IO.MousePos;
85658565
if (window == NULL)
@@ -8723,12 +8723,12 @@ static const char* GetMouseSourceName(ImGuiMouseSource source)
87238723
static void DebugPrintInputEvent(const char* prefix, const ImGuiInputEvent* e)
87248724
{
87258725
ImGuiContext& g = *GImGui;
8726-
if (e->Type == ImGuiInputEventType_MousePos) { if (e->MousePos.PosX == -FLT_MAX && e->MousePos.PosY == -FLT_MAX) IMGUI_DEBUG_LOG_IO("%s: MousePos (-FLT_MAX, -FLT_MAX)\n", prefix); else IMGUI_DEBUG_LOG_IO("%s: MousePos (%.1f, %.1f) (%s)\n", prefix, e->MousePos.PosX, e->MousePos.PosY, GetMouseSourceName(e->MouseWheel.MouseSource)); return; }
8727-
if (e->Type == ImGuiInputEventType_MouseButton) { IMGUI_DEBUG_LOG_IO("%s: MouseButton %d %s (%s)\n", prefix, e->MouseButton.Button, e->MouseButton.Down ? "Down" : "Up", GetMouseSourceName(e->MouseWheel.MouseSource)); return; }
8728-
if (e->Type == ImGuiInputEventType_MouseWheel) { IMGUI_DEBUG_LOG_IO("%s: MouseWheel (%.3f, %.3f) (%s)\n", prefix, e->MouseWheel.WheelX, e->MouseWheel.WheelY, GetMouseSourceName(e->MouseWheel.MouseSource)); return; }
8729-
if (e->Type == ImGuiInputEventType_Key) { IMGUI_DEBUG_LOG_IO("%s: Key \"%s\" %s\n", prefix, ImGui::GetKeyName(e->Key.Key), e->Key.Down ? "Down" : "Up"); return; }
8730-
if (e->Type == ImGuiInputEventType_Text) { IMGUI_DEBUG_LOG_IO("%s: Text: %c (U+%08X)\n", prefix, e->Text.Char, e->Text.Char); return; }
8731-
if (e->Type == ImGuiInputEventType_Focus) { IMGUI_DEBUG_LOG_IO("%s: AppFocused %d\n", prefix, e->AppFocused.Focused); return; }
8726+
if (e->Type == ImGuiInputEventType_MousePos) { if (e->MousePos.PosX == -FLT_MAX && e->MousePos.PosY == -FLT_MAX) IMGUI_DEBUG_LOG_IO("[io] %s: MousePos (-FLT_MAX, -FLT_MAX)\n", prefix); else IMGUI_DEBUG_LOG_IO("[io] %s: MousePos (%.1f, %.1f) (%s)\n", prefix, e->MousePos.PosX, e->MousePos.PosY, GetMouseSourceName(e->MouseWheel.MouseSource)); return; }
8727+
if (e->Type == ImGuiInputEventType_MouseButton) { IMGUI_DEBUG_LOG_IO("[io] %s: MouseButton %d %s (%s)\n", prefix, e->MouseButton.Button, e->MouseButton.Down ? "Down" : "Up", GetMouseSourceName(e->MouseWheel.MouseSource)); return; }
8728+
if (e->Type == ImGuiInputEventType_MouseWheel) { IMGUI_DEBUG_LOG_IO("[io] %s: MouseWheel (%.3f, %.3f) (%s)\n", prefix, e->MouseWheel.WheelX, e->MouseWheel.WheelY, GetMouseSourceName(e->MouseWheel.MouseSource)); return; }
8729+
if (e->Type == ImGuiInputEventType_Key) { IMGUI_DEBUG_LOG_IO("[io] %s: Key \"%s\" %s\n", prefix, ImGui::GetKeyName(e->Key.Key), e->Key.Down ? "Down" : "Up"); return; }
8730+
if (e->Type == ImGuiInputEventType_Text) { IMGUI_DEBUG_LOG_IO("[io] %s: Text: %c (U+%08X)\n", prefix, e->Text.Char, e->Text.Char); return; }
8731+
if (e->Type == ImGuiInputEventType_Focus) { IMGUI_DEBUG_LOG_IO("[io] %s: AppFocused %d\n", prefix, e->AppFocused.Focused); return; }
87328732
}
87338733
#endif
87348734

imgui.h

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

44
// Help:
@@ -11,7 +11,7 @@
1111
// - FAQ http://dearimgui.com/faq
1212
// - Homepage & latest https://github.com/ocornut/imgui
1313
// - Releases & changelog https://github.com/ocornut/imgui/releases
14-
// - Gallery https://github.com/ocornut/imgui/issues/5886 (please post your screenshots/video there!)
14+
// - Gallery https://github.com/ocornut/imgui/issues/6478 (please post your screenshots/video there!)
1515
// - Wiki https://github.com/ocornut/imgui/wiki (lots of good stuff there)
1616
// - Glossary https://github.com/ocornut/imgui/wiki/Glossary
1717
// - Issues & support https://github.com/ocornut/imgui/issues
@@ -22,8 +22,8 @@
2222

2323
// Library Version
2424
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM >= 12345')
25-
#define IMGUI_VERSION "1.89.6 WIP"
26-
#define IMGUI_VERSION_NUM 18959
25+
#define IMGUI_VERSION "1.89.6"
26+
#define IMGUI_VERSION_NUM 18960
2727
#define IMGUI_HAS_TABLE
2828

2929
/*

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

44
/*

0 commit comments

Comments
 (0)