Commit Graph

  • 186b734db0 Backends: SDL2: Extend global mouse pos availability check (#3950) Nikolai Wuttke 2021-03-20 15:06:53 +01:00
  • 6d3a980f38 Backends: Vulkan: Fix mapped memory validation error when buffer sizes are not multiple of VkPhysicalDeviceLimits::nonCoherentAtomSize. (#3957) John Asper 2021-03-21 12:29:24 -04:00
  • 59da01901e Scrolling: Fix scroll tracking with e.g. SetScrollHereX/Y() when WindowPadding < ItemSpacing. Fix scroll snapping on edge of scroll region when both scrollbars are enabled. ocornut 2021-03-19 15:25:43 +01:00
  • 085cff2fe5 Viewports, Backends: Vulkan: Rebuild swapchain on VK_SUBOPTIMAL_KHR. (#3881) ocornut 2021-03-18 18:16:49 +01:00
  • 6e4770ea5c Examples: Vulkan: Rebuild swapchain on VK_SUBOPTIMAL_KHR. (#3881) ocornut 2021-03-18 18:12:52 +01:00
  • 61a0908713 Tables comments + Backends: DirectX9: calling IDirect3DStateBlock9::Capture() after CreateStateBlock() which appears to workaround/fix state restoring issues. . (#3857) ocornut 2021-03-18 18:04:38 +01:00
  • 412d6f7efe Fixes zealous MSVC static analyzers warnings (#3938) ocornut 2021-03-18 16:10:25 +01:00
  • 0c5b0c8b97 Internals: Add a way to request window to not process any interactions for specified number of frames. Rokas Kupstys 2021-02-25 14:04:07 +02:00
  • b17bfdd6f4 Docking: Add support for split_outer in DockContextCalcDropPosForDocking(). Misc: Add FIXME regarding behavior of some window fields. Rokas Kupstys 2021-02-02 17:20:30 +02:00
  • 81e0b18e38 Merge branch 'master' into docking ocornut 2021-03-16 16:10:13 +01:00
  • b202fa9063 Docking: undocking nodes/windows covering most of the monitor max their size down to 90% to ease further manipulations. ocornut 2021-03-16 16:01:12 +01:00
  • a1a39c632a Version 1.83 WIP ocornut 2021-03-16 14:45:30 +01:00
  • 2231e1a369 Docking: Dockspace() never draws a background. (#3924) ocornut 2021-03-16 14:30:36 +01:00
  • 4bf646e4b0 Drags, Sliders, Inputs: Specifying a NULL format to Float functions default them to "%.3f" to be consistent with the compile-time default. (#3922) ocornut 2021-03-16 12:59:35 +01:00
  • 64aab8480a DragScalar: Add default value for v_speed argument in DragScalar(), DragScalarN(). (#3922) Elias Daler 2021-03-16 03:49:00 +03:00
  • ebe6ac5fb5 Improvements to minor mistakes in documentation comments (#3923) ANF-Studios 2021-03-16 12:30:55 +01:00
  • 256594575d Merge branch 'master' into docking ocornut 2021-03-15 20:38:34 +01:00
  • 35b1148efb Version 1.82 v1.82 ocornut 2021-03-15 20:12:26 +01:00
  • 352f64697c Internals: rename legagy tab focus fields to TabFocusXXXX for clarity + removed one unnecessary FocusWindow() call. ocornut 2021-03-15 17:24:55 +01:00
  • d94644261d Drags, Sliders: Support ImGuiSliderFlags_Logarithmic flag with integers. Because why not? (#3786) ocornut 2021-03-15 12:21:10 +01:00
  • 287bd9b984 InputText: renamed ImGuiInputTextFlags_AlwaysInsertMode to ImGuiInputTextFlags_AlwaysOverwrite. (#2863) ocornut 2021-03-12 17:33:10 +01:00
  • cfe83c4b44 Removed deprecated flag stopping compilation (#3902) CheckmateAt7 2021-03-12 18:02:46 +01:00
  • 1bc6f82091 Misc: added imgui.gdb and imgui.natstepfilter debugger helpers for gdb and msvc. Rokas Kupstys 2021-03-11 14:17:00 +02:00
  • 0157502eab ImDrawFlags: rework/revert c2d6d26 + 39432bf in a way that is closer to old version and back to opt-in but with default 0 = all corners. ocornut 2021-03-12 14:04:40 +01:00
  • 033dfd9d35 ImDrawFlags: rework/revert c2d6d26 + 39432bf in a way that is closer to old version and back to opt-in but with default 0 = all corners. ocornut 2021-03-12 14:04:40 +01:00
  • f1bf642e8f Merge branch 'master' into docking ocornut 2021-03-11 16:31:29 +01:00
  • fdc2324d9a Moved 'misc/natvis/imgui.natvis' to 'misc/debuggers/imgui.natvis' ocornut 2021-03-11 16:21:46 +01:00
  • 39432bfd9c Amend 0c93238a ImDrawList: upgraded AddRect(), AddRectFilled(), PathRect() to use general ImDrawFlags instead of ImDrawCornersFlags ocornut 2021-03-11 12:25:24 +01:00
  • c2d6d26139 ImDrawList: upgraded AddRect(), AddRectFilled(), PathRect() to use general ImDrawFlags instead of ImDrawCornersFlags Rokas Kupstys 2021-03-10 12:15:08 +02:00
  • 8b9fedba28 Moved Obsolete function block lower in the file + obsoleted old SetScrollHere (->SetScrollHereY) ocornut 2021-03-11 12:15:20 +01:00
  • e45847d99a Add version of PathArcTo() and PathArcToFast() with adaptive rendering quality. (#3491) thedmd 2021-02-13 19:42:23 +01:00
  • 8ed34af6f8 ImDrawList: clarified that PathArcTo()/PathArcToFast() cannot take radius < 0.0f. (#3491) + changed poor-man ceiling in _CalcCircleAutoSegmentCount() to use 0.999999f to reduce gaps ocornut 2021-03-11 10:29:13 +01:00
  • a3ebd160cb Fix unused variable warning in ImGui::EndListBox() (#3897) C.Even 2021-03-11 17:04:50 +08:00
  • 4b9bc49020 Viewports, Internals: added GetViewportPlatformMonitor() will a safety net to keep code portable + simplified handling of disconnected monitor in Begin(). ocornut 2021-03-10 17:01:00 +01:00
  • 6ba1334903 Nav: internals: renaming ImGuiInputSource so it is not specific to nav. Comments. ocornut 2021-03-10 16:27:19 +01:00
  • 01a2bac7d5 DrawList: Replace "bool close" in drawing functions with flags. Rokas Kupstys 2021-03-09 10:28:14 +02:00
  • a64e0eb3a4 Nav: merged SetNavID() and SetNavIDWithRectRel() to improve sanity, moved flags overwrite off them. (#787) ocornut 2021-03-08 18:52:42 +01:00
  • 1c9cc7c117 Nav: tweaks so docking can use same code. NavRestoreLayer restore nav id but Menu key typicallys clears it for menu layer (+ less relying on _ChildWindow flag). ocornut 2021-03-09 16:07:08 +01:00
  • 4bb5a36f90 Nav: do not clear per-window NavId when window reappears. Process NavInit regardless of current highllight state. Consistently set g.NavLayer in SetNavID(). (#787) ocornut 2021-03-08 17:14:05 +01:00
  • 954b06afe2 Drag and Drop: can use BeginDragDropSource() for other than the left mouse button (#1637, #3885) ocornut 2021-03-08 15:44:56 +01:00
  • e842b196df Amend sanitization of format strings. Support ' without stb_printf. Simpler loops, will also be used for ImStrv branch. (8ee77f1) (#3604) Widgets: Sliders: Fix a bug where numbers after format specifier (eg. %d123) would cause RoundScalarWithFormatT() return incorrect value. ocornut 2021-03-05 18:26:30 +01:00
  • 8ee77f1b65 Widgets: Sliders: Skip custom stb_sprintf.h format flags (', #, _) in RoundScalarWithFormatT() as they break ImAtof()/ImAtoi() and cause Drag*()/Slider*() widgets display incorrect values. (#3604) Widgets: Sliders: Fix a bug where numbers after format specifier (eg. %d123) would cause RoundScalarWithFormatT() return incorrect value. Rokas Kupstys 2020-11-19 18:01:01 +02:00
  • d5a4d53000 Viewports, Backend: SDL: Fix missing ImGuiBackendFlags_HasSetMousePos flag in docking branch (ok in master), GLFW: Fix application of WantSetMousePos. (#1542, #787) ocornut 2021-03-05 16:35:05 +01:00
  • 705f082674 Internals: rename RootWindow->RootWindowDockTree, RootWindowDockStop->RootWindow. ocornut 2021-03-05 16:21:39 +01:00
  • 80533ea5e1 Merge branch 'master' into docking ocornut 2021-03-05 16:04:15 +01:00
  • fdebb2e093 Internals: removed HoveredRootWindow, tweak IsWindowHovered(). ocornut 2021-03-05 15:56:59 +01:00
  • f5bc5e8630 Freetype: Enable FreeType bitmap glyphs. (#3879) TAiGA 2021-03-05 11:16:30 +08:00
  • ee643b2ad9 IsItemHovered(): fixed return value false positive when used after EndChild(), EndGroup() or widgets using either... (#3851, #1370) ocornut 2021-03-04 19:59:59 +01:00
  • b53b8f58df Demo: Use correct string formats on non-windows platforms. Rokas Kupstys 2021-03-04 16:27:43 +02:00
  • 3e6dfd3c1a ImDrawList: AddImageRounded() compare texid from cmdheader as with other functions. + Made the ImGuiMemAllocFunc / ImGuiMemFreeFunc consistent with our other typedefs (#3836) ocornut 2021-03-04 13:37:14 +01:00
  • 8dd692c29c Android: Amend backend and examples with minor consistency tweaks. (#3446) ocornut 2021-03-04 11:03:40 +01:00
  • fb85c0341b Add Android backend and example (#3446) duddel 2021-03-04 10:35:44 +01:00
  • d8c88bd943 Tables: Fixed unaligned accesses when using TableSetBgColor(ImGuiTableBgTarget_CellBg). (#3872) ocornut 2021-03-04 09:52:00 +01:00
  • 1ddaff83d8 Demo: Tweak inputs display. ocornut 2021-03-03 18:45:52 +01:00
  • 662535f357 Backends: DX9: Fix handling of colored textures (#3844, #3868) ocornut 2021-03-03 18:34:07 +01:00
  • 6aee4bcdc5 Merge branch 'master' into docking ocornut 2021-03-02 18:27:07 +01:00
  • 25679a411e Window, Nav: Fixed crash when calling SetWindowFocus(NULL) as the time a new window appears. (#3865) ocornut 2021-03-02 18:22:01 +01:00
  • 4537d98d46 Backends: DX9: Fix to support colored glyphs, using newly introduced 'TexPixelsUseColors' info. (#3369, #3844) ocornut 2021-03-02 15:03:16 +01:00
  • eb57484935 Backends: DX9: add missing IMGUI_USE_BGRA_PACKED_COLOR support. Remove dinput.h headers. (#3844) Xiliusha 2021-02-26 10:40:22 +08:00
  • 23ab4978e4 ImFontAtlas: Added 'bool TexPixelsUseColors' output to help backend decide of underlying texture format. (#3369, #3844) ocornut 2021-03-02 14:08:36 +01:00
  • b794ecc079 Internals: Docking: some renaming. ocornut 2021-02-25 15:36:52 +01:00
  • 732cd837a9 Added missing IMGUI_API to internal docking-related structs. (#3850) David Maas 2021-02-27 14:15:38 -06:00
  • 839ecce571 Internals: Add a way to request window to not process any interactions for specified number of frames. Rokas Kupstys 2021-02-25 14:04:07 +02:00
  • cdf1926f21 Fix a typo in the demo text (#3840) chirsz 2021-02-25 20:33:47 +08:00
  • 5aaab7424f Update FAQ.md omar 2021-02-25 13:10:02 +01:00
  • 760c394707 Added links to Discussions. Closed Discord, yeah! (#2748) ocornut 2021-02-25 00:40:23 +01:00
  • 3776ba565f Internals: TabBar: minor tweaks and renaming. ocornut 2021-02-24 16:05:47 +01:00
  • 6f4b9c65ae Added commentary about DLL boundaries. Added GetAllocatorFunctions(). Tidying up. (#3836) ocornut 2021-02-24 19:34:42 +01:00
  • 3f5bb5939a Examples: Fix MinGW detection in makefiles. Fix example_null build due to missing IME input libs. (#2590) Rokas Kupstys 2021-02-24 10:26:13 +02:00
  • 9b32f7bf2d Fix example_null Makefile for Mingw (#2590) ocornut 2021-02-22 14:44:06 +01:00
  • edf135c18d Win32+MinGW: Re-enabled IME functions by default even under MinGW. (#2590, #738) ocornut 2021-02-22 14:39:44 +01:00
  • ece854564a Log/Capture: Added LogTextV, a va_list variant of LogText. (#3828) David Maas 2021-02-22 04:58:51 -06:00
  • a8f76c23a4 Window: Shrink close button hit-testing region when it covers an abnormally high portion of the window visible area (e.g. when window is collapsed and moved in a corner)to facilitate moving the window away. (#3825) ocornut 2021-02-18 17:21:12 +01:00
  • 0ecdf8167c DragScalar: Fixed crash when using DragScalar() directly with ImGuiSliderFlags_AlwaysClamp + only one of either p_min or p_max set. (#3824) [@harry75369] ocornut 2021-02-18 16:12:41 +01:00
  • c154629152 Backends: Win32: Added ImGui_ImplWin32_EnableAlphaCompositing() helper. (#2766, #3447) ocornut 2021-02-18 15:51:07 +01:00
  • 3ec14186cb Viewports: Fix setting of ImGuiViewportFlags_NoRendererClear. (#3213) ocornut 2021-02-18 14:08:50 +01:00
  • a4e4f57cb0 Examples: DX9-DX11: Removed half-assed DPI awareness enable. Updated Docking/Viewports part of Changelog (e.g. removed bits that are now already in master, clarified some added bits) ocornut 2021-02-18 12:53:15 +01:00
  • ffa863a3ba Merge branch 'master' into docking ocornut 2021-02-18 11:40:39 +01:00
  • 6a161b8789 Examples: Reworked setup of clear color to be compatible with transparent values. (#2693, #2764, #2766, #2873, #3447, #3813, #3816) ocornut 2021-02-17 19:29:39 +01:00
  • bda12e5fdd Backends: Rework blending equation to preserve alpha in output buffer accross all backends. (#2693, #2764, #2766, #2873, #3447, #3813, #3816) ocornut 2021-02-17 19:29:07 +01:00
  • 27a5bdb916 Backends: Win32: Fixed ImGui_ImplWin32_EnableDpiAwareness() attempting to get SetProcessDpiAwareness from shcore.dll on Windows 8 whereas it is only supported on Windows 8.1. ocornut 2021-02-17 19:41:02 +01:00
  • fb15d8c858 Improve on automatic circle segment count calculation. (#3808) Amends ocornut 2021-02-17 13:06:26 +01:00
  • f107693d9b Improve on automatic circle segment count calculation. (#3808) thedmd 2021-02-17 12:55:25 +01:00
  • b47aa46d81 Tables: TableSetupColumn() user id uses ImGuiID as intended (typedef ImU32). internals: added GetCurrentTable(), LeftMostEnabledColumn. Demo/docs tweaks. ocornut 2021-02-16 16:53:56 +01:00
  • 9576dfd5e7 CI: Use workflow_run to trigger scheduled builds and static analysis. Rokas Kupstys 2021-02-16 10:33:29 +02:00
  • 30b7545841 Version 1.82 WIP ocornut 2021-02-15 18:10:14 +01:00
  • 3d75f438bc Docking: Made close button enable logic consistent on dockspace. When no docked window have a close button or it is disabled on the node, the space is given to tabs. ocornut 2021-02-12 21:17:31 +01:00
  • 61b19489f1 Made a change to CalcWindowSizeAfterConstraint() which MSVC optimizer seems to trip on. (read on) ocornut 2021-02-12 16:34:22 +01:00
  • 7180e9ac66 Remove redundant GetMainViewport decl in imgui.h (#3801, #3800) Adam Kewley 2021-02-11 10:03:14 +01:00
  • 239d09804d Merge branch 'master' into docking ocornut 2021-02-10 21:28:16 +01:00
  • 4df57136e9 Version 1.81 v1.81 ocornut 2021-02-10 18:47:46 +01:00
  • 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 +01:00
  • 04f7ea818d Viewports: Setting the new (currently dummy) flags on viewports. (#3789, #1542, #3680, #3350, #3012, #2471) ocornut 2021-02-10 16:42:22 +01:00
  • ee59d7a266 Merge branch 'features/viewport_in_master' into docking (WIP need adding code for new ImGuiViewportFlags values) ocornut 2021-02-10 16:33:00 +01:00
  • 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 +01:00
  • 3b4d3a9b73 Simplify CI scripts (#3764) Oleh Prypin 2021-01-27 00:45:13 +01:00
  • 3607c42bec Viewports: Fix issue inferring viewport z-order when new popups gets created. (#3734) + Metrics updates. ocornut 2021-02-10 14:30:18 +01:00
  • 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 +01:00
  • 6f5f80a544 Fix for compiling imgui_internal.h without operators + made GetWorkRect() consistent with clamped WorkSize. ocornut 2021-02-09 14:06:30 +01:00
  • 7a516a266d Merge remote-tracking branch 'origin/master' into docking ocornut 2021-02-09 13:17:24 +01:00