Commit Graph

  • 24be26e00e imgui_freetype: Add support for colored glyphs. Font: add support for untinted glyphs (#3369) ocornut 2021-01-28 17:26:41 +0100
  • 24aa6654df imgui_freetype: add support for colored glyphs with ImGuiFreeTypeBuilderFlags_LoadColor (#3369) Petr Shurgalin 2021-01-28 16:57:37 +0100
  • 4622fa4b66 Fonts: Fixed CalcTextSize() width rounding so it behaves more like a ceil. (#3776) ocornut 2021-02-01 12:48:33 +0100
  • 577e7cb493 Merge branch 'master' into docking ocornut 2021-01-28 21:02:13 +0100
  • 9499afdf5e imgui_freetype: clarify breaking changes, and add BuildFontAtlas() to be consistent with planned obsolescence. Rename mislabelled internal helper. Demo: clarify labels in nested table demo. (#3765) ocornut 2021-01-28 20:52:26 +0100
  • cff8162454 Viewports, Backends: Vulkan: handle VK_ERROR_OUT_OF_DATE_KHR when resizing secondary viewport (#3766, #3758) ocornut 2021-01-28 16:03:44 +0100
  • dff0044d4e Backends, Examples: Added support for WebGPU and corresponding example. Amend 5853fbd (#3632) ocornut 2021-01-28 12:11:26 +0100
  • 5853fbd68b Backends, Examples: Added support for WebGPU and corresponding example (#3632) Basil Fierz 2021-01-28 11:37:34 +0100
  • 6487860aae Backends: Vulkan: Rework support for custom function/symbol loader (#3759, #3227), add ImGui_ImplVulkan_LoadFunctions (amend 6001c54) ocornut 2021-01-27 13:23:28 +0100
  • 6001c54598 Backends: Vulkan: Support for custom function/symbol loader (#3759, #3227) Hossein Noroozpour 2021-01-26 21:04:12 +0330
  • 066406b9be Backends: OSX: Fix mouse position not being reported when mouse buttons other than left one are down. (#3762) Rokas Kupstys 2021-01-27 13:24:52 +0200
  • e28b51786e Tables: Fixed PopItemWidth() or multi-components items not restoring per-colum ItemWidth correctly. (#3760) rework local stacks to facilitate modifying current value without altering the stack. ocornut 2021-01-27 12:18:48 +0100
  • 3867c6c5f0 Fonts: (Breaking) Rename ImGuiFreeType:: flags to ImGuiFreeTypeBuilderFlags_XXX. Remove ImGuiFreeType::BuildFontAtlas() flags. Rename ImFontConfig::RasterizerFlags to FontBuilderFlags. Add ImFontBuilderIO (opaque). Amend 53d59f3 with a dozen of small fixes. ocornut 2021-01-25 17:57:12 +0100
  • 9417acc20f Fonts: if IMGUI_ENABLE_FREETYPE, use library by default for font rasterization Also renamed IMGUI_DISABLE_STB_TRUETYPE to IMGUI_ENABLE_STB_TRUETYPE Louis Schnellbach 2021-01-12 09:24:51 +0100
  • 6b32d0ebc7 Fixed minor title bar text clipping issue when FramePadding is small/zero and there are no close button in the window. (#3731) ocornut 2021-01-26 16:07:41 +0100
  • a8d2d8ee97 Fixed uninitialized variable, amend f3f2578. (#3753) ocornut 2021-01-26 15:26:41 +0100
  • f3f2578e8f Internals: Added context hook removal support (#3580, #3626, #3753) Sammy Fatnassi 2021-01-26 15:14:56 +0100
  • 376c88a864 Fixed some compile warnings with Clang on Windows (#3754) Sammy Fatnassi 2021-01-26 14:09:18 +0100
  • f139846750 Backends: Win32: dynamically load XInput library (amends) (#3646, #3645, #3248, #2716) ocornut 2021-01-25 16:19:43 +0100
  • 633d1033af Backends: Win32: dynamically load XInput library (#3646, #3645, #3248, #2716) Kuanlan 2021-01-23 13:23:59 +0800
  • 2ed47e5822 Version 1.81 WIP ocornut 2021-01-25 16:30:37 +0100
  • 695a4bd1a9 Backends: Metal: Fixed texture storage mode when building on Mac Catalyst. (#3748) Belinsky-L-V 2021-01-22 17:04:54 +0100
  • f144c67676 ImDrawList: fixed AddCircle, AddCircleFilled buffer read overflow with (rad > 0.0f && rad < 1.0f && num_segments == 0). (#3738) ocornut 2021-01-25 14:58:52 +0100
  • bb26751b94 Merge branch 'master' into docking ocornut 2021-01-21 20:38:42 +0100
  • 58075c4414 Version 1.80 v1.80 ocornut 2021-01-21 16:59:34 +0100
  • 5178c3ce21 Tables: added ImGuiTableFlags_NoHostExtendX instead of using outer_size.x == 0.0f. Changed default outer_size to (0.0f, 0.0f). (#3605) ocornut 2021-01-21 16:20:31 +0100
  • 3b409d2b68 BeginChild: half-fixed child window name longer than 255 conflicting, merely raised the limit by using our shared large buffer. Comments. ocornut 2021-01-20 20:53:22 +0100
  • 6737037743 Tab Bar: fix 0ea4408 (#3414) ocornut 2021-01-20 19:35:10 +0100
  • 74b3b7cf58 Added experimental io.ConfigDragClickToInputText feature to enable turning DragXXX widgets into text input with a simple mouse click-release (without moving). (#3737) ocornut 2021-01-20 19:16:45 +0100
  • dc0f3d982c DragFloat, DragInt: very slightly increased mouse drag threshold + expressing it as a factor of default value + disabled experimental click-to-input on DragXXX functions. (#3737) ocornut 2021-01-20 17:38:55 +0100
  • ae0d2dd614 Tables: rework submission of content size and ideal content size to outer window (now using IdealMaxPos introduced in 6af92b0). ocornut 2021-01-19 23:08:12 +0100
  • f379dc28a3 ImBitArray: Rename ClearBits() to ClearAllBits() and add SetAllBits(). ImBitArraySetBitRange work on range [n..n2) instead of [n..n2] thedmd 2021-01-19 20:23:06 +0100
  • 3fef132f62 Tables: Clear scroll value when reactivating scroll. Assert when passing width/weight to TableSetupColumn() without an explicit sizing policy at either table or column label. ocornut 2021-01-19 21:53:35 +0100
  • ebbb98d519 Docking: docked window honor tab and text colors by storing them. (#2771) ocornut 2021-01-18 16:10:58 +0100
  • 9e4956d86b Docking: added comments. added experimental TabItemFlagsOverrideSet to ImGuiWindowClass. ocornut 2021-01-18 12:32:26 +0100
  • 0ea4408fd4 Tab Bar: Requested ideal content size (for auto-fit) doesn't affect horizontal scrolling. Followup to afa01d8. (#3414) ocornut 2021-01-14 15:56:23 +0100
  • 6af92b05bf Internals: Layout: maintain two content sizes, optionally writing to IdealMaxPos to distinguish used from ideal size, later is used for auto-fit. Unused in this commit, should be no-op. (#3414) ocornut 2021-01-14 15:48:28 +0100
  • 6470681d87
    Use GitHub URL for Tracy Profiler. (#3721) Bartosz Taudul 2021-01-15 22:39:27 +0100
  • 388ca563db Merge branch 'master' into docking ocornut 2021-01-15 19:20:42 +0100
  • 4d419d1211 Tables: fixed ColumnsAutoFitWidth for resizable fixed columns reporting ideal width. ocornut 2021-01-15 17:48:15 +0100
  • 3e712631da Tables: more moving of code in EndTable(), should have no side-effect. ocornut 2021-01-15 14:03:15 +0100
  • 626e3e2b3b Tables: fix reported inner-width for scrolling tables off by a small padding amount + moved code. ocornut 2021-01-15 12:11:34 +0100
  • 3edfc042ff Tables: Internals: Renaming, tweaks preparing ahead for trickier changes (should be all no-op). ocornut 2021-01-15 10:36:20 +0100
  • 9e281c12a8 Tables: Fixed very small tables edge cases: inverted clip rect with freezing + scroll, missing borders. ocornut 2021-01-14 17:41:00 +0100
  • b0db741770 Demo tweaks. Moved Tabs to Widgets section. Added to Tables demo. Increased version following 00b35c08. ocornut 2021-01-14 11:21:13 +0100
  • 00b35c081e Tables: (breaking) removed ImGuiTableColumnFlags_WidthAuto which now can be expressed as _Fixed + _NoResize. WidthRequest gets updated when RequestOutputMaskByIndex is set rather than Visible. ocornut 2021-01-13 18:04:27 +0100
  • 8cea3e3ed3 Tables: fixed border straying out of rect when using ImGuiTableFlags_NoBordersInBody with small height. ocornut 2021-01-13 11:45:58 +0100
  • 002ba1a69f Tables: comments, tweak. CollapsingHeader: comments. (#3715) ocornut 2021-01-12 14:43:48 +0100
  • feaa7ea003 Examples: Emscripten: Amend ba636c5. (#3705) ocornut 2021-01-11 18:45:53 +0100
  • 0f14dd9781 Examples: Emscripten: Add 'make serve' helper, move output to web/ folder. (#3705) Horki 2021-01-11 18:25:15 +0100
  • 31a2f0c164 Tables: fixed outer_width misreported to layout for use with SameLine when ScrollY is set but not ScrollX (#3704, #3414) ocornut 2021-01-11 11:25:30 +0100
  • e485d451d1 Backends: DX12: improve Windows 7 compatibility (#3696) Matthijs Lavrijsen 2021-01-04 09:27:15 +0100
  • 36535514d5 Backends: DX12: Fix warning (#3706). Disable obsolete Tables enums, leave them commented out. Using _MSVC_LANG to enable offsetof() and static_assert() on VS2015.3+ ocornut 2021-01-11 10:26:17 +0100
  • 70703da782 Merge branch 'master' into docking ocornut 2021-01-08 18:55:16 +0100
  • e18abe3619 Tables: (Breaking) Added ImGuiTableFlags_SizingFixedSame, ImGuiTableFlags_SizingStretchProp. Removed ImGuiTableFlags_SameWidths. ocornut 2021-01-08 18:38:55 +0100
  • 0e3ba37e6d Tables: Tidying up. Shuffle some columns fields to facilitate debugging + comments + demo tweaks + metrics highlight. ocornut 2021-01-08 18:08:35 +0100
  • 414f82254b Tables: (Breaking) rename ImGuiTableFlags_SizingPolicyFixed > ImGuiTableFlags_SizingFixedFit, ImGuiTableFlags_SizingPolicyStretch > ImGuiTableFlags_SizingStretchSame in prevision for new policies. ocornut 2021-01-08 18:07:16 +0100
  • 8b5f3798e0 Tables: Moved demo chunks. Made right-most non-resizable same-width column hidden to alleviate the issue where they are off by 1 pixel. ocornut 2021-01-06 17:39:41 +0100
  • b11518d7d7 Merge branch 'master' into docking ocornut 2021-01-05 16:46:38 +0100
  • 94a432275b ImDrawList: Internals: Add ability to scale anti-alias fringe. This enable users to keep geometry sharp while scaling vertex buffer content. thedmd 2018-05-26 13:10:04 +0200
  • 9bcf77eb81 Fixed using IsItemEdited() after Combo() not matching the return value from Combo(). (#2034) + fix some PVS warnings, fix typo, blanks. ocornut 2021-01-04 19:12:35 +0100
  • 7d5d5711c2 Backends: OpenGL2, OpenGL3: Backup and restore GL_SHADE_MODAL, GL_STENCIL_TEST, clear GL_NORMAL_ARRAY. Comments., (#3671, #3668) ocornut 2021-01-03 15:55:12 +0100
  • 0a5f399805 Tables: Fix hiding column right after the frozen line. Fix hovering/resising column delimiter scrolled under frozen columns. (#3678) ocornut 2021-01-03 15:10:35 +0100
  • 1c1d3b7ab5 Added 64-bit variants of CheckboxFlags() in imgui_internal.h. Improve assert on mismatched ListBoxFooter() call. Fix FAQ index. (#3687) ocornut 2021-01-03 11:31:30 +0100
  • 8ec5daf35d Happy new year! ocornut 2021-01-03 14:59:32 +0100
  • fa963b9aaf Inputs: Internal: added SetItemUsingMouseWheel() and mechanism to request mouse wheel for both HoveredId and ActiveId. (#2891) ocornut 2020-12-25 17:52:01 +0100
  • eb88fee052 Tables: internal tidying up, calculate WidthAuto in first loop of layout + TableSetupColumn() with unspecified stretch weight leaves it at -1.0f (unset) rather than overrding default. Amend 3b3503e. ocornut 2020-12-25 16:10:12 +0100
  • 68faa16e1d Tables: report auto-fit width in EndTable(), extracted TableGetColumnWidthAuto(). fix minor flickering with IsPreserveWidthAuto (which is a debug feature still), moved some code. ocornut 2020-12-25 14:35:57 +0100
  • 3573195112 Tables: (breaking) rename ImGuiTableFlags_ColumnsWidthStretch > ImGuiTableFlags_SizingPolicyStretch, ImGuiTableFlags_ColumnsWidthFixed > ImGuiTableFlags_SizingPolicyFixed in prevision for other policies. ocornut 2020-12-24 18:32:27 +0100
  • b015ea93fd Style tweaks, disabled default window rounding by default, reduced size of resize grip, made less prominent, increased WindowBg alpha in classic style. ocornut 2020-12-24 11:42:28 +0100
  • 3fbb928c9f Tables: explicit/custom width in TableSetupColumn() is reapplied when table or column becomes not resizable. Comments. ocornut 2020-12-23 12:11:39 +0100
  • 956435768f Tables: (breaking) renamed ImGuiTableColumnFlags_WidthAutoResize to _WidthAuto., default to WidthFixed policy when host window has auto-resize. ocornut 2020-12-22 22:32:30 +0100
  • 7b53551032 Merge branch 'master' into docking ocornut 2020-12-22 17:17:49 +0100
  • d497f112e7 Tables: simplified and tidying up TableSetColumnWidth(), fixes resizing a fixed column surrounded by stretch column (manually or via auto-fit menu). TableHeader() showing highlighted when held. ocornut 2020-12-22 16:55:40 +0100
  • 972ca8166f Tables: extracted code for TableGetMaxColumnWidth(), fixing "stuck" resize being lossy as it used an older calculation for it and didn't honor e.g. _NoKeepColumnsVisible ocornut 2020-12-22 16:40:52 +0100
  • 1aa59f90d0 Minor API comments and tweaks, standardize index used in imgui.h. Tables: tweaked TableSetupColumn() assert to use IM_ASSERT_USER_ERROR(). ocornut 2020-12-22 14:57:43 +0100
  • 2e48c2da81 Removed redirecting functions/enums names that were marked obsolete in 1.63 (August 2018) + tables tweaks. ocornut 2020-12-21 19:09:11 +0100
  • 4d8e839ddf Renamed ImDrawList::AddBezierCurve() to ImDrawList::AddBezierCubic(), ImDrawList::PathBezierCurveTo() to ImDrawList::PathBezierCubicCurveTo(). (#3127, #3664, #3665) ocornut 2020-12-21 17:11:33 +0100
  • 550bfcfc59 Amend defce31 Add ImDrawList::AddQuadBezierCurve(), ImDrawList::PathQuadBezierCurveTo() (#3127, #3664, #3665) ocornut 2020-12-21 16:25:56 +0100
  • defce31c2e Add ImDrawList::AddQuadBezierCurve(), ImDrawList::PathQuadBezierCurveTo() (#3127, #3664, #3665) Aiekick 2020-12-20 20:04:48 +0100
  • a640698123 Clipper: Fixed incorrect end-list positioning when using ImGuiListClipper with 1 item (bug in 1.79). (#3663) nyorain 2020-12-21 15:52:02 +0100
  • ae63d56426 Tables: remove ImGuiTableFlags_NoHeadersWidth since it is so rarely used and can be specified on a per-column basis. ocornut 2020-12-18 19:03:10 +0100
  • 532aa5a69b Tables: (breaking) change outer_size.x default value to -FLT_MIN, make outer_size.x == 0.0f act as ImGuiTableFlags_NoHostExtendX (#3605, ad83976b) when no scrolling and no stretch column. Which is more consistent. ocornut 2020-12-18 17:27:41 +0100
  • 22ace4438c Tables: clarify assumption that rendering of bg/borders in bg0/bg1 are cpu-clipped allowing frozen/unfrozen to share drawcmd + remove offset on outer borders of scrolling tables. ocornut 2020-12-18 14:14:15 +0100
  • 30468829c2 Tables: Internal: Maintain InnerRect to further clarify some code. Renamed Bg1 fields to Bg2 (used by Selectable) as the other handles Bg0+Bg1. ocornut 2020-12-18 12:18:34 +0100
  • ad83976b35 Tables: Added ImGuiTableFlags_NoHostExtendX (#3605) marked as WIP, will probably rename. ocornut 2020-12-17 22:29:11 +0100
  • c4dbab8f5e Tables: reset all width apply to hidden stretch columns. Comments. ocornut 2020-12-16 16:06:07 +0100
  • 1fb26d18c4 Tables: fixed seemingly unnecessarily copy of ImGuiTableColumnFlags_NoDirectResize_ which broken resizing from W3| in a F1 W3 F2 setup. Header only allow overlap on hover, not when active (amend f2df804f) ocornut 2020-12-16 15:27:17 +0100
  • 892b48e2d6 Tables: Lock contents width while resizing down an horizontal scrolling table. Headers declare ideal width regardless of clipping. Misc comments. ocornut 2020-12-14 19:24:48 +0100
  • bd899efbd0 Tables: fixed "resize to default" of multiple stretch column (added 3b3503e, broken 7a61f340). ocornut 2020-12-14 11:59:01 +0100
  • f2df804fcc Tables: four small fixes. ocornut 2020-12-13 19:19:23 +0100
  • 06e87014f2 Merge branch 'master' into docking ocornut 2020-12-11 23:10:06 +0100
  • 738606a294 Tables: added ImGuiTableFlags_SortTristate. Renamed ImGuiTableFlags_MultiSortable to ImGuiTableFlags_SortMulti. Removed now unused FlagsIn storage. ocornut 2020-12-11 21:33:37 +0100
  • cad8935bfd Tables: revert setting colum cliprect.max.x to WorkMax.x instead of Max.x at it complicates header code. Fix clipped sort arrow. (amend 17536f9a) ocornut 2020-12-11 18:20:07 +0100
  • bff1836922 Internals: added facility to hide windows from render without interfering with the HiddenFramesCanSkipItems/HiddenFramesCannotSkipItems fields which have effects on layout. Compact some fields. ocornut 2020-12-11 14:29:42 +0100
  • 1ad5502f18 Tables: Closer to zero-clear constructor. Lazily clearing name offsets to avoid an iteration in BeginTable(). Removed unused TableSetColumnIsEnabled(), signature went faulty anyway. ocornut 2020-12-10 18:53:57 +0100
  • 76964a27ce Tables: moved TableNextRow(), TableBeginRow(), TableEndRow(), TableNextColumn(), TableBeginCell(), TableEndCell() to their own section. ocornut 2020-12-10 18:39:37 +0100
  • e6b875c09b Tables: Ditch old columns flags/setting if not called again. Displaying right-most border when using _SameWidths. Moving Width-related functions to their own section. ocornut 2020-12-10 16:09:11 +0100
  • e32b72c12c Begin: WIP consistent Begin/End behavior, ListBoxHeader() fix. features/new_begin_end ocornut 2020-10-19 18:25:53 +0200
  • f0c7981b01 WIP NoDiscard ocornut 2020-10-19 17:46:09 +0200