daaf0e4ef3
Fonts: Added PushFontSize(), PopFontSize() api. Added font_size param to PushFont() as well.
ocornut2025-01-27 20:24:05 +01:00
80404fae30
Fonts: clarify ClearTexData() as not supported with dynamic atlases.
ocornut2025-01-30 16:32:25 +01:00
093d01269a
Fonts: Baked system, with auto-bind, v10.
ocornut2025-01-23 15:46:22 +01:00
7aba8da551
(Breaking) Fonts: CalcWordWrapPositionA() -> CalcWordWrapPosition(), takes size instead of scale as this will be needed.
ocornut2025-01-24 18:10:42 +01:00
fb69a09d6e
Fonts: Fixed leak due to indirectly recursing ImFontAtlasPackInit().
ocornut2025-01-23 12:12:07 +01:00
c5653d5f34
Fonts: stb_truetype loader: Reworked scale handling to suggest this is not required caching.
ocornut2025-01-20 20:01:21 +01:00
b203ac1e0d
Fonts: Reduced reliance on ImFontConfig::DstFont.
ocornut2025-01-18 15:01:05 +01:00
722f6013ff
Fonts: Added a bit of user facing tooling.
ocornut2025-01-16 15:41:46 +01:00
bd19bc5085
Fonts: Removed BuildClearGlyphs(), conflated with ClearOutputData()
ocornut2025-01-16 14:57:33 +01:00
2bf6552f2f
Fonts: Fixed/improved support for legacy backend. SetTexID() writes into our ImTextureData to keep the indirection, clear TexIsBuilt.
ocornut2025-01-16 11:35:55 +01:00
ba62becb7d
(Breaking) Fonts: remove ImFontAtlasCustomRect which is now the same as ImTextureRect
ocornut2025-01-15 11:53:24 +01:00
a509790a1c
Fonts: Added back support for AddCustomRectFontGlyph()
ocornut2025-01-13 20:33:36 +01:00
953ce90d27
Fonts: ImFontAtlasBuildInit() uses the occasion to sync HasTexUpdates from imgui context, narrowing the scope where it isn't set.
ocornut2025-01-13 20:25:16 +01:00
ef1521b472
Fonts: fix for password fields
ocornut2024-12-19 14:40:45 +01:00
a51a26e2aa
Fonts: use a structure for post-processing - easier to pass things around and iterate on.
ocornut2024-12-11 19:21:10 +01:00
553b1c301d
Fonts: repack without full reload, discard rectangle, fixed CustomRect api with stable id, remove public BuildInit().
ocornut2024-12-05 18:52:30 +01:00
a6c7801926
Fonts: Measured and tweaked CalcTextSize() computation to minimize cost in our stress tests.
ocornut2024-12-04 19:26:45 +01:00
b670f799d5
Fonts: use TexGlyphPadding. Fixed packing issues. Removed old code.
ocornutandocornut2024-11-29 15:16:22 +01:00
0f553c57bd
Fonts: AddFont() actually does the work, so we can handle errors & return an accurate return value.
ocornutandocornut2024-11-29 14:28:16 +01:00
1269467fa0
imgui_freetype: Removing old code.
ocornut2024-11-28 15:27:17 +01:00
08e1e7681e
imgui_freetype: Added Freetype implementation for new architecture.
ocornut2024-11-28 15:26:52 +01:00
c20e160e0f
Textures: added texture list pointer in ImDrawData.
ocornut2025-05-09 21:41:01 +02:00
208705368e
Textures: Adding a RefCount to textures so backend can avoid destroying them on shutdown if atlas is shared.
ocornutandocornut2025-03-07 16:14:11 +01:00
a21a2e855b
Textures: Single Textures[] array allows backend to not have to care about atlases.
ocornut2025-01-31 19:12:58 +01:00
201899b611
Backends: OpenGL3: Fixed using non-existing features on GLES 3.20 which would push a GL error. (#8664)
Dylam De La Torreandocornut2025-06-04 23:08:19 +02:00
c3a3a39e92
Nav: fixed abnormal clipping disable over large ranges, could lead to stall. (#3841, #1725)
ocornut2025-05-30 21:46:33 +02:00
19289d587a
Nav: fixed scroll fallback (when there are no interactive widgets to jump to) not being enabled on windows with menu or title bar.
ocornut2025-05-30 21:33:09 +02:00
c53c9a8644
Clipper: further mitigation/improvements for abnormally large contents ranges (larger than e.g. 2^31). (#3609, #8215)
ocornut2025-05-30 21:11:23 +02:00
87a6443c5b
Scroll: fixed contents size, scrollbar visibility and scrolling reet issue with abnormally large contents ranges. (#3609, #8215)
ocornut2025-05-30 20:47:50 +02:00
77f1d3b317
Refactor: move SetCurrentFont(), PushFont(), PopFont() to a section.
ocornut2025-05-26 19:32:28 +02:00
415dddf0fa
Tooltips: tooltips have a maximum size corresponding to host display/monitor size.
ocornut2025-05-19 18:26:15 +02:00
10a0eb3e1c
Alter windows min/max size logic to prioritize enforcing size_max bounds rather than size_min.
ocornut2025-05-19 18:40:45 +02:00
cdb5cbe6f8
(Breaking) Commented out ImGuiListClipper::ForceDisplayRangeByIndices() which was obsoleted in 1.89.6.
ocornut2025-05-15 17:44:10 +02:00
d93d918eca
(Breaking) Commented out PushAllowKeyboardFocus()/PopAllowKeyboardFocus() which was obsoleted in 1.89.4. (#3092)
ocornut2025-05-15 17:38:45 +02:00
6d939fcedc
(Breaking) TreeNode: renamed ImGuiTreeNodeFlags_NavLeftJumpsBackHere to ImGuiTreeNodeFlags_NavLeftJumpsToParent for clarity. (#1079, #8639)
ocornut2025-05-15 17:35:29 +02:00
9361c35176
Backends: SDL2, SDL3: maximum room for sanitizer to not be zealous.
ocornut2025-05-15 15:36:42 +02:00
4e487cfa99
stb_textedit: subsequent comments to match ocornut/stb branch. (#8635, #7925)
ocornut2025-05-14 14:05:19 +02:00
1387d356aa
stb_textedit: subsequent fixes for next/prev word impl (not used by imgui) + PageUp/Home/End (no side effect but more correct) (#8635, #7925)
ocornut2025-05-14 13:37:30 +02:00
5c3ac93335
stb_textedit: minor edits to match PR submitted upstream.
ocornut2025-05-14 13:14:31 +02:00
61242e2e6a
InputText: fixed cursor positioning issue using up/down keys on non-ASCII text. (#8635, #7925)
ocornut2025-05-14 11:35:38 +02:00
08689c51a9
Backends: GLFW, SDL2, SDL3: include GLFW/SDL version number in io.BackendPlatformName.
ocornut2025-05-13 15:48:00 +02:00
b9ac32a0d5
Backends: DirectX12: Make sure texture sampling in the dx12 backend is not limited to the highest mip. (#8631)
tamas-rabelandGitHub2025-05-11 23:04:44 +01:00