Commit Graph

  • 647a308ad3 Backends: GLFW: Add ImGui_ImplGlfw_InitForOther() instead of ImGui_ImplGlfw_InitForWebGPU() so it can be used for e.g. DX11. (#3632) ocornut 2021-02-10 17:27:33 +0100
  • 04f7ea818d Viewports: Setting the new (currently dummy) flags on viewports. (#3789, #1542, #3680, #3350, #3012, #2471) ocornut 2021-02-10 16:42:22 +0100
  • ee59d7a266 Merge branch 'features/viewport_in_master' into docking (WIP need adding code for new ImGuiViewportFlags values) ocornut 2021-02-10 16:33:00 +0100
  • f14042ca78 Viewports Added ImGui::GetMainViewport() as a way to get the bounds and work area of the host display. (#3789, #1542) ocornut 2021-02-10 14:54:59 +0100
  • 3b4d3a9b73 Simplify CI scripts (#3764) Oleh Prypin 2021-01-27 00:45:13 +0100
  • 3607c42bec Viewports: Fix issue inferring viewport z-order when new popups gets created. (#3734) + Metrics updates. ocornut 2021-02-10 14:30:18 +0100
  • 2a5eaf239f Misc tweaks - mostly toward minimizing diff in upcoming backport merge of a few viewport structures in master ocornut 2021-02-10 14:24:19 +0100
  • 6f5f80a544 Fix for compiling imgui_internal.h without operators + made GetWorkRect() consistent with clamped WorkSize. ocornut 2021-02-09 14:06:30 +0100
  • 47cf59179e Merge branch 'layouts' of https://github.com/thedmd/imgui into docking_181_WIP soufianekhiat 2021-02-09 14:05:05 +0100
  • 7a516a266d Merge remote-tracking branch 'origin/master' into docking ocornut 2021-02-09 13:17:24 +0100
  • 73ccb7e4b8 Viewports: (Breaking) turned GetWorkPos(), GetWorkSize() into straight fields -> WorkPos, WorkSize before exposing in master branch. ocornut 2021-02-09 12:57:00 +0100
  • 1a3af8cb4c Viewports: trying to treat GetMainViewport() as const. Reducing unnecessary casts of ImGuiViewportP* ocornut 2021-02-09 12:02:55 +0100
  • 862bfc53d3 Viewports: Moved in own section of imgui.h ahead of merging a small part of viewport interface to master. ocornut 2021-02-09 11:47:55 +0100
  • fdbce6c016 fix scroll-x on touchpad (prevent bubbling scroll-y events and lock further wheeling events to parent window, if children window has interest for scroll-x) folays 2021-02-09 05:19:54 +0100
  • 56f7bdae99 ImDrawList: Clarified PathArcTo() need for a_min <= a_max with an assert. Fixed PathArcToFast() handling of a_min > a_max. ocornut 2021-02-08 16:37:51 +0100
  • 03038df1cc ImDrawList: fix divide by zero (for which result was unused but triggering on some archs/setup) added by f144c67676 (#3738) ocornut 2021-02-08 14:03:24 +0100
  • fa55b0cb60 Viewports: (breaking) removed ImGuiPlatformIO::MainViewport which is now pretty much unused and duplicate (and misleading as we will evolve the concept) ocornut 2021-02-05 16:00:17 +0100
  • b898281e3c Demo: Added 'Examples->Fullscreen Window' demo. (#3789) + repack and zero-clear ImDrawData. ocornut 2021-02-05 12:24:23 +0100
  • 29448054d5 Fix typos, fix code style, and simplify answer. PossiblyAShrub 2021-02-04 14:14:49 -0800
  • 18058484fa
    Add FAQ entry: How can I make an ImGui window fill the entire viewport? Aidan 2021-02-04 12:09:02 -0800
  • 58a0a7058c Backends: Using SetTexID() consistently instead of assigning to ->TexID. May make the later obsolete eventually. ocornut 2021-02-03 18:30:26 +0100
  • 82a9b599ab Backend: webgpu: Fixes blending issue on Chrome 90+ and makes backend forward compatible with Emscripten 2.0.14 (#3632, #3770) Basil Fierz 2021-01-30 20:25:20 +0100
  • 03d74a293d ListBox: renamed ListBoxHeader>BeginListBox, ListBoxFooter>EndListBox. Added demo bits. ocornut 2021-02-03 16:30:23 +0100
  • 6f6d4e0b70 ListBoxHeader: In version taking height in number of items, made vertical padding consistent regardless of if (items_count <= height_in_items) or not. ocornut 2021-02-03 14:55:17 +0100
  • e5cbf60def ListBox: tweaked default height calculation. simplifying code internally (rework passing of full rect). Should have no visible side-effects + misc comments. ocornut 2021-02-03 14:16:08 +0100
  • 90a518c501 Fixed typos (#3782) freddii 2021-02-03 02:50:57 +0100
  • 50cefb1bf5 fixed typos freddii 2021-02-03 02:50:57 +0100
  • d1a9efdd8f InputText: Fixed slightly off ScrollX tracking, noticeable with large values of FramePadding.x. Multiline: Fixed padding/cliprect not matching single-line version. (#3781) ocornut 2021-02-02 16:02:46 +0100
  • 22d9a61b33 Docking: fix gap in hit test hold when using ImGuiDockNodeFlags_PassthruCentralNode touching the edge of a viewport. (#3733) ocornut 2021-02-02 15:14:37 +0100
  • a3f0393351 Menus: Fixed an issue with child-menu auto-sizing (issue introduced by 6af92b0) (#3779) ocornut 2021-02-02 13:06:51 +0100
  • 929563c3a7 Log/Capture: Fixes for handling \n in strings. Improve the look of various widgets. Added LogSetNextTextDecoration helper. Fixup/amend dbaf74d75. ocornut 2021-02-02 09:42:23 +0100
  • dbaf74d758 Log/Capture: Fix various new line/spacing issue by using same render text position when there are both RenderText and LogRenderedText call in widget code. Also Buttons are now enclosed in bracket Louis Schnellbach 2021-01-15 11:05:25 +0100
  • 9d576a96a5 Tables: added internal TableSetColumnEnabled() helper. Comments. ocornut 2021-02-01 17:35:29 +0100
  • 84e8802891 Docking: on node split, update memorized DockId for currently closed windows (#3716) GamingMinds-DanielC 2021-01-14 17:42:59 +0100
  • 4dec436161 SliderInt: Fixed click/drag when v_min==v_max from setting the value to zero. (#3774) Erwin Coumans 2021-01-31 10:26:50 -0800
  • 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
  • 26e3660632 I maybe missing something, but an ImGui::SliderInt makes a value 0, while dragging, if min_range==max_range. Erwin Coumans 2021-01-31 10:26:50 -0800
  • 230ec26c2f Fixes blending issue on Chrome 90+ and makes backend forward compatible with Emscripten 2.0.14 Basil Fierz 2021-01-30 20:25:20 +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
  • 87da58f163
    Fix VK_ERROR_OUT_OF_DATE_KHR when resizing viewport Timothy Gibbons 2021-01-27 11:39:52 -0600
  • 304c9f6965
    Undo MSVC path simplification Oleh Prypin 2021-01-27 20:44:54 +0100
  • d0df92ffef
    More spacing Oleh Prypin 2021-01-27 17:54:34 +0100
  • d49a007501 Text typos in the ImGui::Text content for the "Nested tables" demo - ( e.g. "B0 Cell 1" should be "B1 Cell 0" and "B1 Cell 0 should be "B0 Cell 1" ...) FloatingFront 2021-01-27 15:59:39 +0000
  • 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
  • 6bdce705ff
    Simplify CI Oleh Prypin 2021-01-27 00:45:13 +0100
  • b87b1e832d [vulkan] Support for custom Vulkan function/symbol loader Hossein Noroozpour 2021-01-26 23:32:20 +0330
  • 58c3b7976d Support for custom Vulkan function/symbol loader Hossein Noroozpour 2021-01-26 21:04:12 +0330
  • 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
  • 35a764a9aa More pull change requests. Sammy Fatnassi 2021-01-26 23:03:26 +0900
  • 574465969b Hook removal support change request Sammy Fatnassi 2021-01-26 22:43:08 +0900
  • 376c88a864 Fixed some compile warnings with Clang on Windows (#3754) Sammy Fatnassi 2021-01-26 14:09:18 +0100
  • 9974bf66d6 Removed unecessary parameters and whitespace Sammy Fatnassi 2021-01-26 09:12:56 +0900
  • 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
  • 203b3ee961 Fixed some compile warnings with Clang on Windows Sammy Fatnassi 2021-01-23 18:36:39 +0900
  • 8f77946b7b Added Hook removal support Sammy Fatnassi 2021-01-23 17:56:05 +0900
  • b18a5d206a Backends: Win32: dynamically load XInput library Kuanlan 2021-01-23 13:23:59 +0800
  • 0962b4f77f Added support for hover events when window is unfocused to SDL2 and GLFW implementations Matt Haynie 2021-01-22 16:19:39 -0800
  • 370062306d Fix metal texture storage mode on mac catalyst Belinsky-L-V 2021-01-22 17:04:54 +0100
  • e039dbb238
    Merge pull request #3 from ocornut/docking Seokjin Lee 2021-01-22 11:32:15 +0900
  • 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
  • 12e919d585
    Merge 813bbf16b9 into ae0d2dd614 Seokjin Lee 2021-01-20 17:17:27 +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
  • d648b1d445 Use GitHub URL for Tracy Profiler. Bartosz Taudul 2021-01-15 22:25:31 +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
  • dc9d579129 Docking: on node split, update memorized DockId for currently closed windows GamingMinds-DanielC 2021-01-14 17:42:59 +0100