ocornut
c9e0208de4
Textures: moved UpdateTexturesNewFrame(), UpdateTexturesEndFrame() to a more suitable location in the file.
2025-07-21 15:35:53 +09:00
ocornut
a0d3e405a3
Textures: ImTextureData::Create() sets status. RegisterUserTexture() increases RefCount. Added comments about ImTextureData::GetTexRef(). ( #8789 )
2025-07-11 16:49:28 +02:00
ocornut
c680f54e6c
FIxed IsWindowFocused() using wrong flag types (harmless as values were identical). ( #8786 )
2025-07-10 18:42:39 +02:00
ocornut
4d745bc602
Version 1.92.2 WIP
2025-07-10 18:41:05 +02:00
ocornut
5d4126876b
Version 1.92.1
2025-07-09 18:53:58 +02:00
ocornut
0ba02a4ed6
Debug Tools: added IMGUI_DEBUG_HIGHLIGHT_ALL_ID_CONFLICTS. ( #8651 , #7961 , #7669 )
2025-07-09 18:45:58 +02:00
ocornut
f39b138487
Internals: rename DebugDrawIdConflicts -> DebugDrawIdConflictsId.
2025-07-09 18:24:14 +02:00
ocornut
d9b758661f
Misc comments to facilitate update for people who nilly-willy copied entire chunks of internal widgets to create their own.
2025-07-09 16:30:53 +02:00
ocornut
94c888ebda
Docs: update 1.92.0 changelogs to cover more internal fields. ( #8764 )
2025-07-07 15:27:47 +02:00
ocornut
51b3495ad8
Fonts: set a maximum font size of 512.0f at ImGui:: API level to reduce edge cases.
2025-06-30 21:04:55 +02:00
ocornut
b7e5d76c79
Fonts: added ImFontAtlas::SetFontLoader() to dynamically change font loader at runtime without using internal API. ( #8752 , #8465 )
2025-06-30 20:01:02 +02:00
ocornut
de7625b8c2
Docs: tweak/fixed comments. ( #8750 , #8749 )
2025-06-28 17:12:05 +02:00
ocornut
68046106dd
Docs: update Backends with basic Platform backend instructions.
2025-06-27 15:32:19 +02:00
ocornut
47570d045d
Docs: update Backends with direction for implementing RenderDrawData function and supporting ImGuiBackendFlags_RendererHasTextures. ( #8735 , #8465 )
2025-06-27 15:03:10 +02:00
ocornut
f18aea5246
Version 1.92.1 WIP
2025-06-27 13:30:45 +02:00
Ves Georgiev
5ee9c2ad1f
Demo: Fixed font scaling warning if ImGuiBackendFlags_RendererHasTextures is set ( #8736 )
2025-06-27 01:06:42 +02:00
ocornut
673eb7de96
Version 1.92.0
2025-06-25 18:19:56 +02:00
ocornut
2819ab32f8
Layout: commented out legacy ErrorCheckUsingSetCursorPosToExtendParentBoundaries() fallback. ( #5548 , #4510 , #3355 , #1760 , #1490 , #4152 , #150 )
2025-06-25 16:39:23 +02:00
ocornut
719a3fe98e
Additional comments on ErrorCheckUsingSetCursorPosToExtendParentBoundaries(). ( #5548 )
2025-06-25 16:06:18 +02:00
ocornut
5bc70c68e2
Fonts: fix PushFont(NULL) to work as advertised.
...
Didn't properly finish ca72eb0
.
2025-06-25 15:55:25 +02:00
ocornut
d8c6953710
Fonts: comments.
2025-06-25 12:10:13 +02:00
ocornut
89b5a2c3d5
(Breaking) Fonts: removed ImFontFlags_DefaultToLegacySize.
2025-06-24 19:10:10 +02:00
ocornut
97e0d59619
(Breaking) Fonts: removed PushFontSize(), PopFontSize().
2025-06-24 19:09:51 +02:00
ocornut
ca72eb0596
(Breaking) Fonts: obsolete PushFont() default parameter.
2025-06-24 19:09:28 +02:00
ocornut
6722d789e9
(Breaking) Fonts: Removed support for PushFont(NULL) which was a shortcut for "default font".
2025-06-24 14:44:38 +02:00
ocornut
a49ddaac89
Fonts: add comments and examples for GlyphExcludeRanges[].
2025-06-24 11:06:41 +02:00
ocornut
f2e4e80391
Windows: BeginChild(): fixed being unable to combine manual resize on one axis and automatic resize on the other axis. ( #8690 )
...
+ removed obsolete TODO entries.
2025-06-17 14:01:01 +02:00
ocornut
24f7328e5f
DrawList, Fonts: fixed ImFontAtlasTextureRepack() overwriting draw list shared data UV's etc. even when not bound. ( #8694 , #8465 )
...
ImFontAtlasUpdateDrawListsSharedData() call from ImFontAtlasTextureRepack() would trigger this.
For simplicity we also track current atlas in ImDrawListSharedData, but we could probably use Font->ContainerAtlas.
2025-06-17 12:06:05 +02:00
ocornut
cfa43e721a
Windows: clicking on a window close button doesn't claim focus and bring to front. ( #8683 )
...
Added ImGuiItemFlags_NoFocus, ImGuiButtonFlags_NoFocus. Neither are well specified so marking as experimental.
2025-06-13 17:40:17 +02:00
ocornut
d8da97f756
Fonts: UpdateCurrentFontSize() early out doesn't need to clear FontBaked.
...
This was meant when the code would be lower in the function (after updating e.g. g.FontSize) Amend 0e769c5
.
2025-06-13 16:47:23 +02:00
ocornut
ca3169310e
Fonts: fixed FontBaked=NULL in initial call to SetCurrentWindow() in Begin() using previous frame value of SkipItems. ( #8465 )
...
ref 0e769c5
2025-06-13 16:46:41 +02:00
ocornut
1ec1510ef7
Fonts: clarify assert. ( #8680 )
2025-06-12 16:49:47 +02:00
ocornut
115a8e74c2
Fonts: update misc comments, docs.
2025-06-12 14:18:23 +02:00
ocornut
41f4acfb4f
Fonts: add has_textures parameters to ImFontAtlasUpdateNewFrame().
2025-06-12 11:44:11 +02:00
ocornut
a0b3eceec7
Fixed using IMGUI_DISABLE_DEMO_WINDOWS without IMGUI_DISABLE_DEBUG_TOOLS and without linking with imgui_demo.cpp
2025-06-12 11:02:32 +02:00
ocornut
df068ce11e
Various/misc fixes following back-and-forth dynamic_fonts->master->docking merges. Added missing API BREAKING CHANGES section.
2025-06-11 18:50:16 +02:00
ocornut
4acce85656
Fonts: tweaks demo and exposure to sliders, etc.
2025-06-11 17:36:28 +02:00
ocornut
cc3d4cab21
(Breaking) renamed ImFontConfig::FontBuilderFlags -> FontLoaderFlags. ImFontAtlas::FontBuilderFlags -> FontLoaderFlags. ImGuiFreeTypeBuilderFlags -> ImGuiFreeTypeLoaderFlags.
2025-06-11 16:42:31 +02:00
ocornut
e1481a731d
Fonts: fixed NewFrame() when atlas builder has been created but fonts not added. Fixed GetCustomRect() after atlas clear.
2025-06-11 16:25:18 +02:00
ocornut
0e769c5418
Fonts: amend UpdateCurentFontSize() early out optimization.
2025-06-11 16:25:13 +02:00
ocornut
573f08135d
Fonts: fixed PopFont() broken recovery.
...
"misc_recover_1" test would assert in EndFrame()
2025-06-11 16:25:10 +02:00
ocornut
2d2b1cee6b
Fonts: internals: renamed g.FontSizeBeforeScaling to g.FontSizeBase for consistency.
...
# Conflicts:
# imgui_internal.h
2025-06-11 16:10:45 +02:00
ocornut
3c27c643a9
Fonts: internals: renamed g.FontScale to g.FontBakedScale for clarity. Comments.
2025-06-11 16:10:18 +02:00
ocornut
d85e22d205
Added style.FontScaleDpi which is the field overwritten by ImGuiConfigFlags_DpiEnableScaleFonts.
...
# Conflicts:
# imgui.cpp
# imgui.h
# imgui_demo.cpp
2025-06-11 16:09:56 +02:00
ocornut
8766efcba6
(Breaking) Renamed io.FontGlobalScale to style.FontScaleMain.
...
# Conflicts:
# imgui.cpp
2025-06-11 16:07:21 +02:00
ocornut
80c08f2286
(Breaking) Fonts: obsoleting SetWindowFontScale().
...
+ Comments
# Conflicts:
# imgui.cpp
2025-06-11 16:07:05 +02:00
ocornut
59a11363a5
Fonts: ground work for allowing SizePixels to be optional.
2025-06-11 16:06:24 +02:00
ocornut
1e118ab891
Fonts: added ImGuiStyle::FontSizeBase. Ensuring PushFontSize() works before main loop and across NewFrame().
...
# Conflicts:
# imgui.cpp
2025-06-11 16:06:21 +02:00
ocornut
b029be6b6c
Fonts: avoid calling GetFontBaked() during SetFontSize(). Also fixes loading extraneous baked on atlas that will be locked
...
e.g. PushFontSize() before NewFrame() on legacy backend.
2025-06-11 16:06:00 +02:00
ocornut
033cdc4133
Fonts: comments and slight packing of ImFontConfig fields.
2025-06-11 16:06:00 +02:00