Commit Graph

  • bdc4dfebf5 Tables: Amend support for cross-cell SameLine() for first column. Amend 9a93fb5 + 8f5ce73. ocornut 2023-09-04 12:10:31 +02:00
  • 9a93fb5716 Tables: Fixed support for cross-cell SameLine() by preserving Line Y1 position. Amend 8f5ce73. ocornut 2023-09-04 11:55:32 +02:00
  • e8a5c9e1b8 Tables: Made it possible to change style.CellPadding.y between rows. Added demo. ocornut 2023-09-04 11:20:20 +02:00
  • 3816d478df ImDrawList: small debug-mode optimization when calling AddRect() without rounding + Selectable: small debug-mode optimization. ocornut 2023-09-01 15:18:28 +02:00
  • 8c497793f9 Demo: Tweak table sorting demo code. ocornut 2023-09-01 14:35:57 +02:00
  • 303dc091b4 Revert "IO: ImGuiMod_Shortcut (Ctrl/Cmd depending on platform) is reflected in io.KeyMods. (#5923, #456)" ocornut 2023-09-01 12:24:03 +02:00
  • b8f93a8fe0 IO: ImGuiMod_Shortcut (Ctrl/Cmd depending on platform) is reflected in io.KeyMods. (#5923, #456) ocornut 2023-09-01 12:15:08 +02:00
  • a066074054 Clipper: Fixed a bug if attempt to force-include a range which matches an already included range. (#3841) ocornut 2023-08-31 21:39:27 +02:00
  • bdd9b96fa3 Demo: Reorganized "Examples" menu. Tweak Property Editor. ocornut 2023-08-31 19:49:39 +02:00
  • 300464a487 Docking: when io.ConfigDockingWithShift is enabled, staying stationary while moving a window displays an help tooltip to increase affordance. (#6709, #4643) ocornut 2023-08-30 17:36:09 +02:00
  • 7d6e83efca Docking: Fixed non-root dockspace not having their background rendered properly. ocornut 2023-08-30 15:26:46 +02:00
  • 08b3a1a34a ImDrawList: Automatically calling ChannelsMerge() if not done after a split. ocornut 2023-08-30 15:22:36 +02:00
  • f93d0befaf Slider: fixed support for ImGuiItemFlags_ReadOnly/ImGuiSliderFlags_ReadOnly although it is technically unused/undocumented. (#6758) ocornut 2023-08-29 12:11:07 +02:00
  • d6e9fad60e Tables: Fix typo in TableGetSortSpecs comment + amend comment. (#6755) Diego Mateos 2023-08-28 14:08:04 +02:00
  • 82d177ccbd Using range-based for where it makes sense. (#4537) ocornut 2023-08-28 12:21:16 +02:00
  • 762ec445e6 Docking: Fixed bad bug, dock node host wouldn't merge background. (#6753, #6716) ocornut 2023-08-28 11:24:29 +02:00
  • 33ea1e8b78 ColorEdit, ColorPicker: Manipulating options popup don't mark item as edited. (#6722) ocornut 2023-08-25 22:48:16 +02:00
  • 475453668d Backends: SDL2/SDL3: Fixed bad merge in docking branch (#6735) ocornut 2023-08-26 11:45:21 +02:00
  • f617fe7890 Clipper: Renamed IncludeRangeByIndices()/ForceDisplayRangeByIndices() to IncludeItemsByIndex(). (#6424, #3841) ocornut 2023-08-25 18:20:57 +02:00
  • 200053771a Clipper: Added IncludeIndex() helper to include a single item. (#6424, #3841) ocornut 2023-08-25 17:52:44 +02:00
  • 4a7810e992 Update README.md omar 2023-08-25 15:48:32 +02:00
  • 981abb4612 Examples: Emscripten+webgpu: Fixed WGPUInstance creation process + use preferred framebuffer format. (#6640, #6748) wushiyang 2023-08-24 16:04:50 +08:00
  • 61d35972e2 CloseButton, CollapseButton: don't include FramePadding into size. Use ItemInnerSpacing.x between title bar buttons. Amend for Docking. (#6749) ocornut 2023-08-25 14:29:42 +02:00
  • 676497fe05 Merge branch 'master' into docking ocornut 2023-08-25 14:20:51 +02:00
  • 4a81424492 CloseButton, CollapseButton: don't include FramePadding into size. Use ItemInnerSpacing.x between title bar buttons. (#6749) ocornut 2023-08-25 14:02:31 +02:00
  • b41811a68c CollapseButton: handle clipping better + align circle like in docking branch. ocornut 2023-08-25 13:54:18 +02:00
  • 040e818d72 Fix typo in SameLine comment (#6745) Diego Mateos 2023-08-23 10:11:42 +02:00
  • 162f8e01aa Backends: SDL3: fixed typo in 1e17d59 (#6735) ocornut 2023-08-21 13:12:50 +02:00
  • ba1fa904a9 IO: Exposed io.PlatformLocaleDecimalPoint to configure decimal point ('.' or ','). (#6719, #2278) ocornut 2023-08-17 13:11:30 +02:00
  • a1a7a1bc03 InputFloat, SliderFloat, DragFloat: always turn both '.' and ',' into the current decimal point character. (#6719, #2278) ocornut 2023-08-17 13:02:56 +02:00
  • a6857ede03 IO: fix writing to incorrect union section for MouseSource in AddMousePosEvent and AddMouseButtonEvent. (#6727, #2702) Rick Huang 2023-08-16 15:18:02 +00:00
  • c06c796242 TreeNode: added note about ImGuiTreeNodeFlags_Bullet. ocornut 2023-08-15 16:09:49 +02:00
  • 1161301386 Backends: amend "Missing features" sections for multi-viewports support. ocornut 2023-08-15 13:02:56 +02:00
  • 1e17d59965 Backends: SDL2,SDL3: added ImGui_ImplSDL2_InitForOther() / ImGui_ImplSDL3_InitForOther(). ocornut 2023-08-15 12:48:46 +02:00
  • 983b95bc87 Demo: tweak explanation about static keyword. (#6718) ocornut 2023-08-14 16:55:03 +02:00
  • d2c7cbcbf9 Misc: Made multiple calls to Render() during the same frame early out faster. ocornut 2023-08-14 16:23:04 +02:00
  • ac64b65634 Render: draw dimmed background earlier to match docking code. (#6716) ocornut 2023-08-14 16:16:39 +02:00
  • f422e7826f ImDrawData: Fixed an issue where TotalVtxCount/TotalIdxCount does not match the sum of individual ImDrawList's buffer sizes. (#6716) ocornut 2023-08-14 16:12:15 +02:00
  • 8f5ce73140 Tables: Made it possible to use SameLine(0,0) after TableNextColumn() or TableSetColumnIndex() in order to reuse line height from previous cell. ocornut 2023-08-14 13:02:44 +02:00
  • 1362fc0c56 Debug, Internals: Added DebugDrawCursorPos(), DebugDrawLineExtents() helpers. ocornut 2023-08-09 10:39:56 +02:00
  • 63b6300c39 Merge branch 'master' into docking ocornut 2023-08-08 14:16:13 +02:00
  • bc3c0ce772 Nav, TreeNode: Pressing Left with ImGuiTreeNodeFlags_NavLeftJumpsBackHere now goes through proper navigation logic: honor scrolling and selection. (#1079, #1131) ocornut 2023-08-08 14:03:58 +02:00
  • edebb90a9a Demo: amend/fix for MinGW ocornut 2023-08-07 18:25:56 +02:00
  • 4d6fbaff11 Demo: define standard PRI names we use (if missing) instead of defininig IM_PRId64, IM_PRIu64. ocornut 2023-08-07 15:23:59 +02:00
  • 226923fa7e Metrics: Fixed "Drawlists" section and per-viewport equivalent appearing empty (regression from c649aca). ocornut 2023-08-06 20:30:07 +02:00
  • 2b1fc6f765 Demo: Demonstrate out-of-order rendering using ImDrawListSplitter. ocornut 2023-08-06 20:13:05 +02:00
  • cf3726bcbc Internals: rename bg/fg drawlist holders in structs to reduce confusion. ocornut 2023-08-06 19:46:27 +02:00
  • 52587c28d6 ImDrawList: Fixed OOB access in _CalcCircleAutoSegmentCount when passing excessively large radius to AddCircle(). (#6657, #5317) EggsyCRO 2023-07-27 21:56:18 +02:00
  • f8c768760b Typo fix: _NoHostExtenY -> _NoHostExtendY (#6687) András Kucsma 2023-08-04 18:18:57 +02:00
  • c00e68102c Docs: update CONTRIBUTING.md omar 2023-08-04 11:44:51 +02:00
  • b7a7d673b9 Fixed an integer overflow and div-by-zero in SliderInt() when v_max is INT_MAX (#6675, #6679) Johannes Barthelmes 2023-08-02 22:35:15 +02:00
  • d6d94d90bf Version 1.89.9 WIP ocornut 2023-08-03 19:16:39 +02:00
  • f8704cd085 Merge branch 'master' into docking v1.89.8-docking ocornut 2023-08-01 13:11:26 +02:00
  • f7eea63872 Version v1.89.8 v1.89.8 ocornut 2023-08-01 12:53:57 +02:00
  • 30594c37d0 Merge branch 'master' into docking ocornut 2023-08-01 10:22:21 +02:00
  • ab490dc7b8 Fonts: Amends for support for OpenType SVG fonts using lunasvg (#6591, #6607) ocornut 2023-08-01 09:33:56 +02:00
  • 2ad8c60abc Fonts: Added support for OpenType SVG fonts using lunasvg (#6591, #6607) sakiodre 2023-08-01 09:27:08 +02:00
  • 19ae142bdd Mark alternative ImColor constructors as constexpr, second attempt (#6656) ocornut 2023-07-29 17:48:19 +02:00
  • dc2b0a2823 Disable -Wreserved-identifier warning on Clang (applying to member fields seems excessively weird). ocornut 2023-07-29 17:36:50 +02:00
  • 88a330ebef Revert "Mark alternative ImColor constructors as constexpr (#6656)" ocornut 2023-07-29 17:24:34 +02:00
  • fa2f1bfbb0 Examples: Vulkan: Fixed Vulkan descriptor pools. (#6642) Sascha Willems 2023-07-24 20:17:29 +02:00
  • 7c5b0e8292 Mark alternative ImColor constructors as constexpr (#6656) EggsyCRO 2023-07-29 16:56:21 +02:00
  • eefc9035f0 Fonts: ImFontConfig::OversampleH now defaults to 2 instead of 3. ocornut 2023-07-29 16:22:30 +02:00
  • c87b9fdb15 Docs update. Improved Fonts troubleshooting section. ocornut 2023-07-29 16:05:13 +02:00
  • 556ce9f543 imgui_stdlib: Fix warning (#6658) Johel Ernesto Guerrero Peña 2023-07-28 08:15:10 -04:00
  • 79d6f4e211 Misc: Avoid stb_textedit.h reincluding string.h while in a namespace. (#6653, #4791) ocornut 2023-07-27 19:45:28 +02:00
  • f1781c20a3 Added IMGUI_DISABLE_STB_SPRINTF_IMPLEMENTATION config macro to disable stb_sprintf implementation (#6626) septag 2023-07-21 11:38:54 +02:00
  • f8f805f046 Merge branch 'master' into docking ocornut 2023-07-20 23:18:47 +02:00
  • 1109de3827 Tooltips: fixed ImGuiHoveredFlags_ForTooltip conflicting with ImGuiHoveredFlags_NoNavOverride since 10c7709f. (#6622, #1485) ocornut 2023-07-20 22:59:15 +02:00
  • db66e33e9e Tables: fixed GetContentRegionAvail().y report not taking account of lower cell padding or of using ImGuiTableFlags_NoHostExtendY. (#6619) ocornut 2023-07-20 12:22:28 +02:00
  • 2bc5d17ac3 Tables: fixed calculation of multi-instance shared decoration/scrollbar width of scrolling tables. (#5920, #6619) ocornut 2023-07-20 10:31:39 +02:00
  • e5977f05d8 Backends: GLFW: revert support for GLFW_CURSOR_DISABLED, let user use ImGuiConfigFlags_NoMouse. (#5625, #6609) scorpion-26 2023-07-18 11:45:52 +02:00
  • d342ec10cc Overlap, IsItemHovered: clarification on using IsItemHovered() on a non-reactive item after a reactive overlappable one. (#6610) ocornut 2023-07-18 11:18:43 +02:00
  • 52125a54a5 Tables: added TableGetHoveredRow() in imgui_internal.h. (#6250, #6347, #6588, #3740) ocornut 2023-03-22 16:21:24 +01:00
  • 77eba4d0d1 CI: resume using latest Emscripten ocornut 2023-07-13 12:46:40 +02:00
  • 3dc3aef8a4 Backends: WebGPU: fix webgpu changes for Dawn. (#6602, #6188) williamhCode 2023-07-13 17:48:16 +08:00
  • 0e8eb8c48e Removed _MSC_VER <= 1500 checks for Visual Studio 2008 or earlier. ocornut 2023-07-13 12:20:14 +02:00
  • 863ac31f01 Doc: various tweaks + tweak imconfig comments. ocornut 2023-07-13 11:50:19 +02:00
  • 07d1709ca2 Doc: removed "generic" docking/viewport branch section of changelog since this is misleading. Will add formally when we reelase. (#2109, #1542) ocornut 2023-07-13 11:45:39 +02:00
  • 33e13c85e1 Backends: Made all backends sources files support global IMGUI_DISABLE. (#6601) ocornut 2023-07-13 11:27:52 +02:00
  • 023e59a5f2 ImDrawData: call _PopUnusedDrawCmd() later. as RenderDimmedBackgrounds() rely on a valid command being there (especially in docking branch). (#6406, #4879, #1878) ocornut 2023-07-12 18:22:34 +02:00
  • 6888e6cdff ImDrawData: call _PopUnusedDrawCmd() later. as RenderDimmedBackgrounds() rely on a valid command being there (especially in docking branch). (#6406, #4879, #1878) ocornut 2023-07-12 18:22:34 +02:00
  • 0110f4c8cc Merge branch 'master' into docking ocornut 2023-07-12 18:17:44 +02:00
  • dbeeeae593 ImDrawData: Slight refactor so internal logic uses same logic as AddDrawList(). (#6406, #4879, #1878) ocornut 2023-07-12 17:31:50 +02:00
  • 1a9ddd2396 ImDrawData: added AddDrawList() helper function. (#6406, #4879, #1878) ocornut 2023-07-12 16:57:38 +02:00
  • c649aca20a ImDrawData: changed CmdLists from raw array to ImVector<> owned by ImDrawData itself. Faclitate user-manipulation of the array (#6406, #4879, #1878) + deep swap. (#6597, #6475, #6167, #5776, #5109, #4763, #3515, #1860) ocornut 2023-07-12 16:04:26 +02:00
  • cc4c37dbac Nav: PageUp/PageDown always set NavJustMovedTo even when landing on same spot (which can trigger a selection). ocornut 2023-07-11 16:46:35 +02:00
  • 51b348095c Docking, Style: resizing separators use same colors as window borders. (#2522) ocornut 2023-07-11 15:17:54 +02:00
  • b7cdb5a31e Scrollbar: layout needs to take account of window border size, so a border size will slightly reduce scrollbar size. (#2522) ocornut 2023-07-11 15:00:51 +02:00
  • f4942bca32 Docking: follow to 27c735e to fix rendering of docked-window scrollbar above outer border. (#2522) ocornut 2023-07-11 15:01:20 +02:00
  • 27c735e3e9 Scrollbar: layout needs to take account of window border size, so a border size will slightly reduce scrollbar size. (#2522) ocornut 2023-07-11 15:00:51 +02:00
  • f6feddd1ee Merge branch 'master' into docking ocornut 2023-07-11 12:44:15 +02:00
  • b79751ebad Docking: Added DockingSeparatorSize to style: amends (#3481, #4721, #2522) ocornut 2023-07-11 12:42:42 +02:00
  • a5aff5fd3e Docking: Added DockingSeparatorSize to style (#3481, #4721, #2522) PossiblyAShrub 2020-09-19 22:32:18 -07:00
  • 5ce636b0ba Tweak to accomodate for build* directories anywhere. ocornut 2023-07-10 12:15:00 +02:00
  • 140726d23f Fixed CTRL+Tab dimming background assert when target window has a callback in the last ImDrawCmd. (#4857, #5937) ocornut 2023-07-10 15:10:42 +02:00
  • b32ef809c3 InputText: Fixed a case where deactivation frame would write to underlying buffer or call CallbackResize although unnecessary, in a frame where the return value was false. ocornut 2023-07-06 19:32:28 +02:00
  • 3349296370 InputText: Tweak ImGuiInputTextFlags_EscapeClearsAll handling so decision is taken on input buffer + Showcase a few more InputText() flags. (#5688, #2620) ocornut 2023-07-06 19:27:23 +02:00
  • 6aa408c6af IO: Added io.ClearEventsQueue(). Obsoleted io.ClearInputCharacters(). (#4921) ocornut 2023-07-06 15:55:17 +02:00
  • 9a15730c2a Demo: better showcase use of SetNextItemAllowOverlap(). (#6574, #6512, #3909, #517) ocornut 2023-07-05 14:19:01 +02:00