Commit Graph

  • 4399599de9 Fonts: ClearCache(), ImFontAtlasBuildGetTextureSizeEstimate(), tweak clearing functions. ocornut 2024-12-19 15:21:22 +01:00
  • ef1521b472 Fonts: fix for password fields ocornut 2024-12-19 14:40:45 +01:00
  • a51a26e2aa Fonts: use a structure for post-processing - easier to pass things around and iterate on. ocornut 2024-12-11 19:21:10 +01:00
  • 553b1c301d Fonts: repack without full reload, discard rectangle, fixed CustomRect api with stable id, remove public BuildInit(). ocornut 2024-12-05 18:52:30 +01:00
  • a6c7801926 Fonts: Measured and tweaked CalcTextSize() computation to minimize cost in our stress tests. ocornut 2024-12-04 19:26:45 +01:00
  • 076a1ab85c Fonts: Misc amends, remove _PackNodesFactor, comments. ocornut 2024-12-04 16:43:46 +01:00
  • ac13683c26 Fonts: ImFontAtlas accept DrawListSharedData not being set. ocornut 2024-12-02 21:07:26 +01:00
  • 43cc3fc8b1 Fonts: optimization bake FallbackAdvanceX into IndexAdvanceX[]. ocornut 2024-11-29 17:34:52 +01:00
  • 4f27792ffe (Breaking) Removed atlas->TexDesiredWidth now unnecessary (github 327) ocornut 2024-11-29 17:22:33 +01:00
  • b670f799d5 Fonts: use TexGlyphPadding. Fixed packing issues. Removed old code. ocornut 2024-11-29 15:16:22 +01:00
  • 0f553c57bd Fonts: AddFont() actually does the work, so we can handle errors & return an accurate return value. ocornut 2024-11-29 14:28:16 +01:00
  • 1269467fa0 imgui_freetype: Removing old code. ocornut 2024-11-28 15:27:17 +01:00
  • 08e1e7681e imgui_freetype: Added Freetype implementation for new architecture. ocornut 2024-11-28 15:26:52 +01:00
  • 26c017d5ea Backends: Metal: added ImGuiBackendFlags_RendererHasTextures support. thedmd 2024-12-17 00:42:57 +01:00
  • ee8941e0de Backends: Allegro5: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2025-01-15 10:38:11 +01:00
  • 16fe666e36 Backends: SDLGPU3: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2025-01-16 12:32:56 +01:00
  • e538883a20 Backends: SDL_Renderer3: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-12-05 15:57:32 +01:00
  • 9fa65cd190 Backends: SDL_Renderer2: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-12-05 15:52:52 +01:00
  • abe294bfd0 Backends: Vulkan: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-11-27 18:47:28 +01:00
  • 0430c55b84 Backends: OpenGL2: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-12-18 14:05:55 +01:00
  • dbb91a574f Backends: OpenGL3: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-11-27 18:47:14 +01:00
  • eefe5d5aac Backends: DirectX12: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-11-27 18:46:09 +01:00
  • 2d2b1bc1cc Backends: DirectX10: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-12-05 13:05:27 +01:00
  • 75efba7ec7 Backends: DirectX9: added ImGuiBackendFlags_RendererHasTextures support ocornut 2024-11-27 18:47:21 +01:00
  • 372fd27e71 Backends: DirectX11: added ImGuiBackendFlags_RendererHasTextures support. ocornut 2024-11-27 18:46:02 +01:00
  • c20e160e0f Textures: added texture list pointer in ImDrawData. ocornut 2025-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. ocornut 2025-03-07 16:14:11 +01:00
  • a21a2e855b Textures: Single Textures[] array allows backend to not have to care about atlases. ocornut 2025-01-31 19:12:58 +01:00
  • ee357aaddf Textures: Add ImTextureUserID_Invalid + introducing SetTexID(). ocornut 2025-01-30 15:35:32 +01:00
  • 2cde9125d6 Fonts: Selecting font config source list done by shared code. ocornut 2025-01-17 18:06:25 +01:00
  • 0f0473bf1c Fonts, Textures: main code for ImGuiBackendFlags_RendererHasTextures feature. ocornut 2024-11-29 13:42:35 +01:00
  • 191a728ecc (Breaking) added ImTextureRef struct. Changed ImDrawCmd::TextureId to TexRef. ocornut 2025-03-17 19:13:17 +01:00
  • e55415bfef (Breaking) renamed/moved ImGuiConfigFlags_DpiEnableScaleFonts -> ioConfigDpiScaleFonts, ImGuiConfigFlags_DpiEnableScaleViewports -> io.ConfigDpiScaleViewports ocornut 2025-06-04 20:42:08 +02:00
  • b2f39318cb Adding .cache to ignore list. (#8674) ocornut 2025-06-11 13:41:06 +02:00
  • 201899b611 Backends: OpenGL3: Fixed using non-existing features on GLES 3.20 which would push a GL error. (#8664) Dylam De La Torre 2025-06-04 23:08:19 +02:00
  • eaac68ca2c Merge branch 'master' into docking ocornut 2025-06-04 22:30:43 +02:00
  • c3d7ada9df Demo: add indentation to simplify upcoming merges. ocornut 2025-06-04 22:27:34 +02:00
  • 91f72bbe1c Demo: omit ImGui:: prefix from ShowStyleEditor(), ShowUserGuide() code. ocornut 2025-06-04 21:29:12 +02:00
  • 9485aeb5c8 Demo: changed default framed item width to use Min(GetFontSize() * 12, GetContentRegionAvail().x * 0.40f). ocornut 2025-06-04 17:30:17 +02:00
  • e877f78b0e TreeNode: minor amend to b7ab2b7. (#2920) ocornut 2025-06-02 20:57:21 +02:00
  • ef503ab0c8 TreeNode: fixed out of bound access in ImGuiTreeNodeFlags_DrawLinesXXX feature. (#2920) ocornut 2025-06-02 20:50:12 +02:00
  • b7ab2b7523 TreeNode: fixed an issue where tree lines are not drawn on node opening frame. (#2920) ocornut 2025-06-02 20:41:01 +02:00
  • a92b53df7b Backends: Win32: Viewports: handle WM_DPICHANGED in backend when ImGuiConfigFlags_DpiEnableScaleViewports flag is enabled. ocornut 2025-06-02 19:08:45 +02:00
  • ac6b84a7d7 Viewports: fixed handling of simultaneous move + resize (e.g. toggling maximized) when ImGuiConfigFlags_DpiEnableScaleViewports is enabled. ocornut 2025-06-02 17:11:09 +02:00
  • 5e17c08010 Merge branch 'master' into docking ocornut 2025-05-30 22:00:26 +02:00
  • 69e1fb50ca Docs: fixed missing commit credit. (#8656) ocornut 2025-05-30 21:59:13 +02:00
  • e6913f58b9 imgui_freetype: Update lunasvg API to support v3.0+ (#8656, #6842, #6591) Romain Moret 2025-05-26 19:02:18 +02:00
  • c3a3a39e92 Nav: fixed abnormal clipping disable over large ranges, could lead to stall. (#3841, #1725) ocornut 2025-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. ocornut 2025-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) ocornut 2025-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) ocornut 2025-05-30 20:47:50 +02:00
  • 2bf57bbad4 Refactor: move SetCurrentFont(), PushFont(), PopFont() to a section. ocornut 2025-05-26 19:32:28 +02:00
  • 77f1d3b317 Refactor: move SetCurrentFont(), PushFont(), PopFont() to a section. ocornut 2025-05-26 19:32:28 +02:00
  • 407a0b972e (Breaking) Fonts: CalcWordWrapPositionA() -> CalcWordWrapPosition(), takes size instead of scale. ocornut 2025-01-24 18:10:42 +01:00
  • 346f5c6819 Platform IME: Fixed multi-viewports IME support, affecting SDL backends. (#8648, #8584, #7492, #6341) ocornut 2025-05-23 11:53:55 +02:00
  • 5f0acadf7d RenderTextEllipsis() added breaking comments. ocornut 2025-05-20 18:06:12 +02:00
  • 143924bbf3 Image(), ImageWithBg(): added extra comments. (#8131, #8238) ocornut 2025-05-20 17:53:17 +02:00
  • 1ffa7a40ac TextLinkOpenURL(): added bool return value on click. (#8645, #8451, #7660) ocornut 2025-05-20 17:31:58 +02:00
  • e11ad6b77e Merge branch 'master' into docking ocornut 2025-05-19 18:48:22 +02:00
  • 415dddf0fa Tooltips: tooltips have a maximum size corresponding to host display/monitor size. ocornut 2025-05-19 18:26:15 +02:00
  • 10a0eb3e1c Alter windows min/max size logic to prioritize enforcing size_max bounds rather than size_min. ocornut 2025-05-19 18:40:45 +02:00
  • cdb5cbe6f8 (Breaking) Commented out ImGuiListClipper::ForceDisplayRangeByIndices() which was obsoleted in 1.89.6. ocornut 2025-05-15 17:44:10 +02:00
  • d93d918eca (Breaking) Commented out PushAllowKeyboardFocus()/PopAllowKeyboardFocus() which was obsoleted in 1.89.4. (#3092) ocornut 2025-05-15 17:38:45 +02:00
  • 6d939fcedc (Breaking) TreeNode: renamed ImGuiTreeNodeFlags_NavLeftJumpsBackHere to ImGuiTreeNodeFlags_NavLeftJumpsToParent for clarity. (#1079, #8639) ocornut 2025-05-15 17:35:29 +02:00
  • 9361c35176 Backends: SDL2, SDL3: maximum room for sanitizer to not be zealous. ocornut 2025-05-15 15:36:42 +02:00
  • c008c7d494 Merge remote-tracking branch 'origin/master' into docking ocornut 2025-05-15 14:45:15 +02:00
  • c90ea1315a Viewports: added per-viewport FramebufferScale, Platform_GetWindowFramebufferScale() + Backends: GLFW, SDL2, SDL3, Apple: added support. (#1065, #1542, #1676, #1786, #2826, #3757, #5081, #5580, #5592, #6465, #7273, #7779 etc.) ) ocornut 2025-05-15 14:31:26 +02:00
  • 63554bcee5 Backends: OSX: rename internal struct for consistency with other backends. ocornut 2025-05-15 13:48:48 +02:00
  • b5a73033ab Examples: Apple: Amend build scripts and gitignore, fix misc OSX warnings. (#8637) ocornut 2025-05-14 18:05:23 +02:00
  • 2df9e9b103 Examples: Apple: add Makefile for example_apple_metal, example_apple_opengl2. (#8637) Pascal Thomet 2025-05-14 17:27:26 +02:00
  • 2fd474132d Update pull_request_template.md omar 2025-05-14 16:53:36 +02:00
  • 4e487cfa99 stb_textedit: subsequent comments to match ocornut/stb branch. (#8635, #7925) ocornut 2025-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) ocornut 2025-05-14 13:37:30 +02:00
  • 5c3ac93335 stb_textedit: minor edits to match PR submitted upstream. ocornut 2025-05-14 13:14:31 +02:00
  • 61242e2e6a InputText: fixed cursor positioning issue using up/down keys on non-ASCII text. (#8635, #7925) ocornut 2025-05-14 11:35:38 +02:00
  • 08689c51a9 Backends: GLFW, SDL2, SDL3: include GLFW/SDL version number in io.BackendPlatformName. ocornut 2025-05-13 15:48:00 +02:00
  • 4a6ba95392 Backends: SDL3: Comments (#6146) ocornut 2025-05-12 19:19:23 +02:00
  • e33069ce56 Viewports: fallback DpiScale pulled from fallback Monitor for consistency. ocornut 2025-05-12 09:22:22 +02:00
  • b9ac32a0d5 Backends: DirectX12: Make sure texture sampling in the dx12 backend is not limited to the highest mip. (#8631) tamas-rabel 2025-05-11 23:04:44 +01:00
  • f484af34c2 Font: rename ImFont::AddRemapChar() parameters for clarity. (#609) ocornut 2025-05-08 18:05:05 +02:00
  • ba513ba804 Backends: DX10, DX11, DX12: honor FramebufferScale. (#8412) WSSDude 2025-02-19 14:00:06 +01:00
  • 0a222a3e2a Backends: Vulkan: fixed build with VK_NO_PROTOTYPES. ocornut 2025-05-07 15:42:23 +02:00
  • bf68040dc5 Backends: Vulkan: fixed build with VK_NO_PROTOTYPES. ocornut 2025-05-07 15:42:23 +02:00
  • 37fba4bed4 Backends: Vulkan: fixed validation errors during window detach in multi-viewport mode. [docking branch amend] (#8600, #8176) ocornut 2025-05-07 15:28:02 +02:00
  • 1c8fad73f8 Merge branch 'master' into docking ocornut 2025-05-07 15:24:46 +02:00
  • bbc89b6391 Backends: Vulkan: fixed validation errors during window detach in multi-viewport mode. (#8600, #8176) ChrisTom-94 2025-05-07 15:19:45 +02:00
  • 64a5e27486 Docs: bad merge error. ocornut 2025-05-07 14:22:19 +02:00
  • d1dc2a3298 Backends: Vulkan: Load dynamic rendering functions using vkGetDeviceProcAddr() + try both non-KHR and KHR versions. (#8600, #8326, #8365) ChrisTom-94 2025-05-07 11:47:58 +02:00
  • 46235e91f6 Examples: SDL3: specify SDL_WINDOW_HIGH_PIXEL_DENSITY and make centering consistent + call SDL_RenderScale(). ocornut 2025-05-05 20:04:12 +02:00
  • afd3a36f69 Demo: added basic Fonts section under main demo (same as Metrics one) for visibility. ocornut 2025-05-05 19:39:56 +02:00
  • c5e2bb7cd1 Backends: SDLGPU3: Fixed creating atlas texture earlier than other backends. ocornut 2025-05-05 19:19:33 +02:00
  • ef62aa7333 Backends: SDL3: macOS: Fixed secondary-viewports not appearing on a different monitor than the main viewport. ocornut 2025-05-05 19:03:50 +02:00
  • e3bfaab3f7 Examples: update xcode projects. ocornut 2025-05-05 17:12:06 +02:00
  • c0dfd65d67 Backends: Win32: Fixed an issue where externally losing mouse capture (due to e.g. focus loss) would fail to claim it again the next subsequent click. (#8594) ocornut 2025-04-30 16:23:58 +02:00
  • 20066a8964 Examples: DirectX12+Win32: also test for IsIconic() for sleeping since we don't seem to get a DXGI_STATUS_OCCLUDED signal when minimized. (#8603) ocornut 2025-04-30 11:30:06 +02:00
  • 3f8033324f Demo: Dual List Box: fix sorting function, in theory should return 0 when equal. (#8601) ocornut 2025-04-30 11:10:54 +02:00
  • 75ddd9a6cd Backends: SDLGPU3: added support for ImDrawCallback_ResetRenderState. (#8599) ocornut 2025-04-28 23:10:29 +02:00
  • b3c96bde8c Demo: use IM_ARRAYSIZE more consistently InputText calls in demo window (#8596) Ryan Jensen 2025-04-26 09:10:00 -05:00
  • cbb8edb0b7 Tables: fixed an assert when combining Tables, Frozen Rows, Clipper and BeginMultiSelect() in a certain order. (#8595, #8250) ocornut 2025-04-26 15:41:08 +02:00
  • fcdaa32793 Backends: GLFW: Disable multi-viewports under Wayland. (#8587) ocornut 2025-04-26 14:52:14 +02:00