ocornut
afd659bb92
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_vulkan.cpp
2025-02-17 11:46:16 +01:00
ocornut
78ec1272e9
ImDrawList: added InitialFringeScale in ImDrawListSharedData. Default to 1.0f.
...
This is to allow some DPI mods with less changes. Only the initial value in SetupDrawListSharedData() will need change.
2025-02-17 11:28:35 +01:00
ocornut
474305c476
ImFont: simpler constructor.
2025-02-14 16:15:09 +01:00
ocornut
8679cfa2d8
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_glfw.h
# examples/example_apple_metal/example_apple_metal.xcodeproj/project.pbxproj
# imgui.cpp
2025-02-07 18:27:32 +01:00
ocornut
914fbcf2e5
Fonts: removed unnecessary const qualifier from ImFont::FindGlyph()
...
Amend 0bde57c
2025-02-07 16:26:20 +01:00
ocornut
cfed18afc7
Add ImFontConfig::GlyphExtraAdvanceX as a replacement for GlyphExtraSpacing.x ( #242 )
...
Partly restore 1a31e31.
2025-02-06 12:34:37 +01:00
ocornut
d80347613a
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_metal.mm
# imgui.cpp
# imgui_internal.h
2025-02-03 18:42:24 +01:00
ocornut
1a31e31ae9
(Breaking) Fonts: removed ImFontConfig::GlyphExtraSpacing option which seems largely obsolete and unused. ( #242 )
2025-02-03 17:55:35 +01:00
ocornut
de962e83d0
ImFont: remove SetGlyphVisible()
...
Which was never marked public. Added by d284a6cff. (#2149 , #515 )
Making room by removing stuff that are inconvenient to implement in our scaling system.
If you were using this function please post an issue to report it.
2025-02-03 17:50:12 +01:00
ocornut
f820bf7cd4
Version 1.91.9 WIP
2025-02-03 12:33:40 +01:00
ocornut
11b3a7c8ca
Merge branch 'master' into docking
2025-01-31 16:10:20 +01:00
ocornut
dbb5eeaadf
Version 1.91.8
2025-01-31 16:08:17 +01:00
ocornut
81dab646ee
Merge branch 'master' into docking
2025-01-25 01:15:30 +01:00
ocornut
96e3b147f0
Fixed build with IMGUI_ENABLE_FREETYPE ( #8346 )
2025-01-25 01:14:46 +01:00
ocornut
afb6e9a879
Fonts: OversampleH auto-selection uses 36 as heuristic for now.
2025-01-24 20:03:04 +01:00
ocornut
355cb589e3
Merge branch 'master' into docking, incl conflict merge in BeginMenuBar() for #8267
...
# Conflicts:
# imgui_widgets.cpp
2025-01-24 19:40:54 +01:00
ocornut
8a1613a382
Fonts: OversampleH/OversampleV value defaults to 0 for automatic selection.
2025-01-24 19:32:30 +01:00
ocornut
9eafb7bbfb
ImFont: IndexLookup[] table hold 16-bit values even in ImWchar32 mode.
2025-01-24 16:54:59 +01:00
ocornut
10199341b1
ImFontAtlas: made calling ClearFonts() call ClearInputData(). ( #8174 , #6556 , #6336 , #4723 )
2025-01-23 11:31:32 +01:00
ocornut
6e94f6cefb
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# imgui.cpp
# imgui_internal.h
2025-01-20 18:04:31 +01:00
ocornut
e8779a67b1
Font: direct AddText()/RenderText() calls don't need to call strlen() if below clipping region.
...
Unlikely to meaningful affect anyone but still..
2025-01-20 18:00:03 +01:00
ocornut
487d7f9a29
Font: Internals: make used page maps smaller. Since it's extremely rarely used and for iterations only. ~34->16 bytes with ImWchar32.
2025-01-16 22:30:43 +01:00
ocornut
015186aaf8
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_vulkan.cpp
2025-01-15 17:34:17 +01:00
ocornut
c59a2267d0
Version 1.91.8 WIP
2025-01-15 11:58:47 +01:00
ocornut
c0ae3258f9
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2025-01-14 13:46:39 +01:00
ocornut
5c1d2d1e4c
Version 1.91.7
2025-01-14 13:29:25 +01:00
ocornut
2f91176011
Merge branch 'master' into docking
2025-01-09 17:08:31 +01:00
ocornut
c7983115e9
Fonts: Further tweaks for Ellipsis ("...") character width when automatically created from a single comma character: use AdvanceX as min.
2025-01-08 18:27:01 +01:00
ocornut
90094a871a
Fonts: Fixed miscalculation of Ellipsis ("...") character width when automatically created from a single comma character.
2025-01-08 18:13:53 +01:00
ocornut
5413a9a6b4
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx12.cpp
# imgui.cpp
# imgui_internal.h
2024-12-20 23:31:52 +01:00
ocornut
006721fbd6
Added ImFontAtlas section index in comments + minor tweaks to DX12 backends.
2024-12-20 22:56:05 +01:00
ocornut
457fae24e7
Silence more zealous GCC warning. ( #8241 )
2024-12-18 18:13:55 +01:00
Raffaello Bertini
cd6c83cdcc
Fixes GCC warnings ( #8241 )
2024-12-18 17:58:19 +01:00
ocornut
edef72d497
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
2024-12-18 17:02:08 +01:00
ocornut
1d069cf435
Fonts: store 0 for unset EllipsisChar/FallbackChar. Pull config in BuildLookupTable().
2024-12-11 16:43:29 +01:00
ocornut
f25665f360
Version 1.91.7 WIP
2024-12-11 15:37:16 +01:00
ocornut
947aa9c972
Merge branch 'master' into docking
2024-12-11 15:08:31 +01:00
ocornut
993fa34749
Version 1.91.6
2024-12-11 15:05:36 +01:00
ocornut
ff2d6815ef
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx9.cpp
# backends/imgui_impl_dx9.h
# backends/imgui_impl_vulkan.cpp
# imgui.cpp
2024-12-04 19:56:35 +01:00
ocornut
19a1f2a5d2
Fonts: fixed AddCustomRect() not being packed with TexGlyphPadding + not accounted in surface area. ( #8107 )
2024-11-29 18:58:01 +01:00
ocornut
cdf21f6773
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx12.cpp
# docs/CHANGELOG.txt
# imgui.cpp
# imgui_internal.h
2024-11-21 14:52:04 +01:00
ocornut
20360e00ce
Merge miscellaneous small changes to reduce drift with texture update branch.
...
- ImGuiDebugLogFlags_EventFont is yet unused.
2024-11-20 21:46:47 +01:00
ocornut
551b6c4d66
Tools: binary_to_compressed_c: added -u8/-u32/-base85 export options.
2024-11-20 14:32:44 +01:00
ocornut
d0e870aad2
Misc: changed embedded ProggyClean encoding to save a bit of binary space (~12kb to 9.5kb). ( #8161 )
...
Encoding as char to ensure compatibility with big endian (#81 )
2024-11-20 14:16:34 +01:00
chuikingshek
5ae3dd52a0
Fonts: added IMGUI_DISABLE_DEFAULT_FONT macro. ( #8161 )
2024-11-20 13:45:42 +01:00
ocornut
3381ab423b
Version 1.91.6 WIP + fixed typo in tooltip.
2024-11-12 11:56:21 +01:00
ocornut
368123ab06
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_metal.mm
# imgui_draw.cpp
2024-11-07 19:58:23 +01:00
ocornut
f401021d5a
Version 1.91.5
2024-11-07 19:57:33 +01:00
ocornut
31b967f098
Fix 01d27a4 (sorry I cherry-picked from wrong branch)
2024-11-07 19:35:00 +01:00
ocornut
01d27a4acd
Internals: added IM_LIKELY(), IM_UNLIKELY() helper macros (yet unused). Added ImFontGetCharAdvanceX() macro.
2024-11-07 19:33:25 +01:00