Commit Graph

  • bbb0f0ade4 TreeNode: fixed incorrect clipping of arrow/bullet when using ImGuiTreeNodeFlags_SpanAllColumns. ocornut 2025-04-10 14:08:10 +0200
  • 06c2c9f456 Merge branch 'master' into docking ocornut 2025-04-09 19:08:45 +0200
  • 43caca05c2 TreeNode: DrawLines: tweak X2 offset to avoid losing line when ItemSpacing is large. (#2920) ocornut 2025-04-09 17:58:23 +0200
  • bcbbfdaad4 TreeNode: DrawLines: latch X1 offset during TreePush(). (#2920) ocornut 2025-04-09 17:43:48 +0200
  • 5e7174dec6 TreeNode: removed TreeLinesSize > 0.0f optimization check. (#2920) ocornut 2025-04-09 17:39:22 +0200
  • 74e453cf15 Backends: SDL2, SDL3: don't attempt to call SDL_CaptureMouse() on drivers where we don't call SDL_GetGlobalMouseState(). (#8561) Zane van Iperen 2025-04-09 14:56:54 +0200
  • b811c42034 Backends: SDL2/SDL3: revert updating monitors and work area info every frame. Workaround for Windows. (#8415, #8558) ocornut 2025-04-09 14:28:43 +0200
  • b241cc5537
    Backends: SDL2: don't try to capture mouse if we can't use global mouse state Zane van Iperen 2025-04-09 20:33:27 +0900
  • 789de09dda TreeNode: extracted TreeNodeDrawLineToChildNode() for usage by custom widgets (#2920) ocornut 2025-04-09 12:04:09 +0200
  • 47d1ab192a Merge branch 'master' into docking ocornut 2025-04-08 19:59:38 +0200
  • 39f34e1e58 TreeNode: Don't latch GetColorU32(ImGuiCol_TreeLines). (#2920) ocornut 2025-04-08 19:56:14 +0200
  • e5b218e6d1 TreeNode: added ImGuiTreeNodeFlags_DrawTreeXXX flags. (#2920) ocornut 2024-07-03 19:03:25 +0200
  • 048cdb53eb Fix dynamic linking warning Mohamd Johmani 2025-04-08 13:58:29 +0300
  • bb22cd34d5 Backends: Win32: Optimized the Gamepad input processing part MidTerm-CN 2025-04-08 00:21:52 +0800
  • faa03031b4 Windows: loosened code to handle ImGuiButtonFlags_FlattenChildren so that master matches docking. (#8554) ocornut 2025-04-07 18:16:23 +0200
  • 974bf58a21 Backends: Vulkan: Build and warning fixes. (#8282) ocornut 2025-04-07 17:38:28 +0200
  • 91652c317e Backends: Vulkan: Deep-copy ImGui_ImplVulkan_InitInfo::PipelineRenderingCreateInfo's pColorAttachmentFormats buffer when set, in order to reduce common user-error of specifying a pointer to data that gets out of scope. (#8282) ocornut 2025-04-07 16:38:05 +0200
  • 9701810bc3 TreeNode: adding ImGuiTreeNodeFlags_NoNavFocus in imgui_internal.h (#8551) ocornut 2025-04-07 11:41:21 +0200
  • c7cc02f428 Backends: vulkan: add possibility for custom internal frag and vertex shaders johan0A 2025-04-05 21:36:20 +0200
  • df7050c614 WIP - Fonts: changing loader/backend or loader flags may be done without losing custom rects. Sharing more code. ocornut 2025-04-03 19:10:16 +0200
  • 4be415f566 WIP - Fonts: tidying up. ocornut 2025-04-02 15:10:11 +0200
  • ecc3bf2988 WIP - Fonts: add optional out parameter to AddCustomRect() ocornut 2025-03-31 22:18:42 +0200
  • cde97ff692 WIP - Fonts: GC Compact All exposed in Metrics->Memory Allocations includes compacting texture data. ocornut 2025-03-31 21:43:15 +0200
  • f31f39f32e WIP - Fonts: added RemoveCustomRect(). ocornut 2025-03-31 19:24:59 +0200
  • d001a8e93c WIP - Fonts: moved ImFontAtlasRectId back to public API. ocornut 2025-03-31 18:37:11 +0200
  • d32fe2eaee WIP - Fonts: added ImFontAtlasRectId_Invalid == -1 ocornut 2025-03-31 18:36:32 +0200
  • e6ebebfc5a WIP - Fonts: (Breaking) rework GetCustomRect() api. Reintroduce ImFontAtlasRect. ocornut 2025-03-31 17:36:24 +0200
  • 142f8de163 WIP - Fonts: (Breaking) renamed AddCustomRectRegular() -> AddCustomRect(). ocornut 2025-03-31 17:03:03 +0200
  • d415e338e5 WIP - Fonts: Comments. ocornut 2025-03-30 16:00:29 +0200
  • eb14a408bf WIP - Fonts: fixed GetCustomRectUV(). ocornut 2025-03-22 15:15:10 +0100
  • 8b65586e9a WIP - Fonts: fixed calling AddFontXXX not invalidating texture for legacy backends. ocornut 2025-03-26 14:38:49 +0100
  • 9915038673 WIP - (Breaking) Fonts: PushFont() default to preserve current font size. ocornut 2025-03-21 19:13:23 +0100
  • 153269671b WIP - Fonts: Tools: added option to hide font preview text. Move code. ocornut 2025-03-21 17:55:04 +0100
  • 5071564562 WIP - Fonts: removed size rounding in AddFont() which breaks relative sizing of merged fonts (8502) ocornut 2025-03-20 15:45:27 +0100
  • 2f3c2a9a8c WIP - Fonts: fixed legacy backend path preloading all sources sizes erroneously + failing to use ellipsis. ocornut 2025-03-20 15:44:35 +0100
  • 83f2b3f193 WIP - Fonts: awkwardly alias old TexID name to TexRef using an union (may backtrack and just keep old name) ocornut 2025-03-19 20:12:02 +0100
  • 650b552be9 WIP - Fonts: detect if backend assign to texture on creation but doesn't update Status. ocornut 2025-03-19 19:57:03 +0100
  • 9e30d59d3c WIP - Fonts: avoid both ImTextureRef being set simultaneously. ocornut 2025-03-19 15:00:13 +0100
  • 9045493e06 WIP - Fonts: comments, tweaks, minor amends. ocornut 2025-03-19 14:06:08 +0100
  • 25014ac03e WIP - Fonts: fixed ImTextureID() being zero-cleared instead of using ImTextureUserID_Invalid. . ocornut 2025-03-18 18:03:40 +0100
  • 7dc98e3303 WIP - Fonts: Fixed PopFont() recovery. ocornut 2025-03-17 23:19:22 +0100
  • 359c313110 WIP - Fonts: Added ImTextureRef::GetTexID() mostly for consistency. ocornut 2025-03-17 22:08:58 +0100
  • e9eb986f65 WIP - Fonts: fixed crashing password fields. ocornut 2025-03-17 17:18:05 +0100
  • 0a91619273 WIP - (Breaking) Fonts: renamed CalcCustomRectUV() to GetCustomRectUV() for simplicity. ocornut 2025-03-13 19:14:10 +0100
  • b0e2c71f3e WIP - Fonts: rename ImFontAtlasBuildClearTexture() to ImFontAtlasBuildClear() ocornut 2025-03-13 17:28:13 +0100
  • ad6caff397 WIP - (Breaking) Fonts: rename GetCustomRectByIndex() to GetCustomRect(). Made return struct const. ocornut 2025-03-13 17:10:52 +0100
  • 18b88a7891 WIP - Fonts: narrowed invalid value for ImFontAtlasRectId to -1 a we will change implementation. ocornut 2025-03-13 16:54:39 +0100
  • 0bb29b821d WIP - Fonts: change uses of ImFontAtlasRect to ImTextureRect for simplicity. ocornut 2025-03-13 16:50:19 +0100
  • 6b694dfe96 WIP - Fonts: fixed implicit init when calling AddCustomRectRegular(). LoaderShutdown match BuildDestroy. ocornut 2025-03-13 16:30:20 +0100
  • c98dc05bc3 WIP - Fonts: fixed an issue calling legacy ImFontAtlas::Clear(). ocornut 2025-03-11 19:54:33 +0100
  • 8097e63d4b WIP - Fonts: fixed memory leaks, shutting down font loader, and on AddFont() failure in Freetype backend. ocornut 2025-03-11 11:46:18 +0100
  • 23c6cecef7 WIP - ImTextureData pixels are not immediately destroyed on setting ImTextureStatus_WantDestroy. ocornut 2025-03-10 10:55:29 +0100
  • 15cfb4ed01 WIP - Fonts: fixed a bug using size specified by secondary font sources. ocornut 2025-03-09 21:36:44 +0100
  • 28a9070d79 WIP - Exposed some basic UI in demo for sanity. ocornut 2025-03-06 20:50:00 +0100
  • 26cc0cbc54 WIP - Added UI to edit FreeType loader flags. Added ImFontAtlasBuildReloadAll() / ImFontAtlasBuildReloadFont() ocornut 2025-03-06 20:34:18 +0100
  • b1799e01aa
    Merge branch 'ocornut:master' into master Manciu 2025-04-02 15:03:27 +0800
  • b4bd596a39 Fonts: word-wrapping code handle ideographic comma & full stop (U+3001, U+3002). (#8540) ocornut 2025-04-01 22:56:59 +0200
  • fcab22f80f Fonts: fixed CalcWordWrapPositionA() fallback when width is too small to wrap with multibyte codepoints.. (#8540) ocornut 2025-04-01 22:53:00 +0200
  • 85137d4212
    Merge branch 'ocornut:master' into master Manciu 2025-04-01 16:42:09 +0800
  • 8098d79ca2
    Docs: fixed link typo (#8538) Shixian Sheng 2025-04-01 03:10:30 -0400
  • 885bbe68bf
    Merge b7d8140b75 into 4bdb0ac685 runzh 2025-04-01 09:41:38 +0800
  • cac656956a
    Update EXAMPLES.md Shixian Sheng 2025-03-31 20:03:52 -0400
  • 9fdeb41e52
    Backends: Vulkan: Suppress trivially-copyable warning (#8537) Andrew Zonenberg 2025-03-31 11:42:18 -0700
  • 715f127a74 Removed redundant prototype after upstream added it too Andrew D. Zonenberg 2025-03-31 11:34:58 -0700
  • 68f48db177 Added void* cast to suppress warning when initializing RenderBuffers Andrew D. Zonenberg 2025-03-31 11:31:27 -0700
  • d4f6b79fa5 Merge branch 'docking' of github.com:ocornut/imgui into docking Andrew D. Zonenberg 2025-03-31 11:29:38 -0700
  • 6ddcbc149e WIP - In ShowFontAtlas() preserve open-state for latest texture. Improve debug display. ocornut 2025-03-06 19:57:49 +0100
  • 6f34f382cf WIP - ImFontConfig::GlyphExcludeRanges is owner and copied. ocornut 2025-03-06 18:39:32 +0100
  • 9395af9231 WIP - Update font documenttion. ocornut 2025-03-06 18:15:34 +0100
  • a408133dae WIP - Obsolete GetGlyphRangesXXX() functions. ocornut 2025-03-06 18:15:25 +0100
  • 27bd2a6fba WIP - Fixed various small warnings / build issues. ocornut 2025-03-05 18:42:41 +0100
  • a5b879e6ea WIP - Added a ImFontFlags_NoLoadError flag to let user code try file paths. (3611) ocornut 2025-03-05 20:08:00 +0100
  • 342c211182 WIP - Detect when using a texture that's about to be destroyed. ocornut 2025-03-05 17:18:54 +0100
  • 6a41bccf3d WIP - Demo: Add a "Fonts" section for visibility. ocornut 2025-03-05 17:05:24 +0100
  • 48c0166f43 WIP - GetFontBaked() default to searching for closest size font. ocornut 2025-03-03 16:14:41 +0100
  • e782ffbbb8 WIP - Added ImTextureData::UsedRect. ocornut 2025-02-19 15:41:26 +0100
  • 79150af29a WIP - Tidying up font scale logic. ocornut 2025-02-19 15:16:19 +0100
  • a856035678 WIP - Removed LockSingleSrcConfigIdx which isn't needed anymore since we don't load glyphs in ImFontAtlasBuildAddFont(). ocornut 2025-02-10 22:53:33 +0100
  • 2c060d4a07 WIP - Fallback glyph is now lazily loaded on demand (yay!). Moving ImFontBaked:: functions outside of class. ocornut 2025-02-10 22:32:09 +0100
  • 1beaabb4d0 WIP - imgui_freetype: no need to store metrics locally. ocornut 2025-02-10 15:09:46 +0100
  • 5b0ff5e36a WIP - Rework ImFontLoader signatures. ocornut 2025-02-07 18:48:01 +0100
  • 9b5a3a05d1 WIP - A font source can specify its own loader/backend. ocornut 2025-02-06 19:31:13 +0100
  • 8d3f361b02 WIP - Core allocates per-baked-per-src backend buffers, to allow having custom backend per font source. Backend BakedInit/Destroy/AddGlyph process a single source. ocornut 2025-02-06 15:19:23 +0100
  • a85f7b434b WIP - Reinstated ImFontAtlasBuildSetupFontCreateEllipsisFromDot() compatible with baked system, lazily baked. ocornut 2025-02-07 15:58:16 +0100
  • 8c7fbbc6ad WIP - Added ImFontAtlasBakedSetFontGlyphBitmap(). ocornut 2025-02-07 14:51:37 +0100
  • 4f8f7ff999 WIP - Baked system, fix subsequent sources overriding shared font metrics. ocornut 2025-02-06 13:06:05 +0100
  • de9cd4116d WIP - ImFontFlags: ImFontFlags_NoLoadGlyphs + add ImFontFlags_LockBakedSizes ocornut 2025-02-06 11:57:30 +0100
  • 811672e6fc WIP - Exposed CompactCache(). Hide ClearCache(). ocornut 2025-02-05 18:25:52 +0100
  • 61d975c8f7 WIP - Restore a functional AddCustomRectFontGlyph(). ocornut 2025-02-05 17:51:46 +0100
  • 9b583b9da2 WIP - ImFontConfig: added GlyphExcludeRanges ocornut 2025-02-05 14:41:59 +0100
  • 86fb2ce55b WIP - Create a fallback glyph if none is available (fix crash on fonts with no fallback) ocornut 2025-02-05 14:04:05 +0100
  • 4f236b0361 WIP - Fixed _OnChangedTextureID() asserting when calling on e.g. finalized drawlists. ocornut 2025-02-04 20:02:10 +0100
  • 810f905469 WIP - PushFontSize() with -1 uses sources[0]'s size for now (backward compat design) ocornut 2025-02-03 19:36:11 +0100
  • ea3b921611 WIP - Allow PushFont/NewFrame/PopFont idioms to function. ocornut 2025-02-03 19:15:26 +0100
  • c59cfc6302 WIP - Reordered ImFont fields. ocornut 2025-02-07 19:47:41 +0100
  • ad9bff0b4c WIP - Baked system, v12: support GlyphOffset / GlyphMinAdvanceX / GlyphMaxAdvanceX by scaling from ref value. ocornut 2025-02-03 17:46:59 +0100
  • e4348fd58e WIP - Baked system, v11. ocornut 2025-02-03 17:16:34 +0100
  • 4b79ddf461 WIP - Comments around ImTextureUserID/ImTextureID types. ocornut 2025-01-30 17:49:52 +0100
  • a08f35fee6 WIP - Debug dump to disk, debug log ocornut 2025-01-28 14:36:06 +0100
  • 8fab706f31 WIP - Texture resizing favor growing height, halve pack nodes. ocornut 2025-01-28 14:31:13 +0100