Commit Graph

  • cfe83c4b44
    Removed deprecated flag stopping compilation (#3902) CheckmateAt7 2021-03-12 18:02:46 +0100
  • 1bc6f82091 Misc: added imgui.gdb and imgui.natstepfilter debugger helpers for gdb and msvc. Rokas Kupstys 2021-03-11 14:17:00 +0200
  • 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 +0100
  • 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 +0100
  • f1bf642e8f Merge branch 'master' into docking ocornut 2021-03-11 16:31:29 +0100
  • fdc2324d9a Moved 'misc/natvis/imgui.natvis' to 'misc/debuggers/imgui.natvis' ocornut 2021-03-11 16:21:46 +0100
  • 39432bfd9c Amend 0c93238a ImDrawList: upgraded AddRect(), AddRectFilled(), PathRect() to use general ImDrawFlags instead of ImDrawCornersFlags ocornut 2021-03-11 12:25:24 +0100
  • c2d6d26139 ImDrawList: upgraded AddRect(), AddRectFilled(), PathRect() to use general ImDrawFlags instead of ImDrawCornersFlags Rokas Kupstys 2021-03-10 12:15:08 +0200
  • 8b9fedba28 Moved Obsolete function block lower in the file + obsoleted old SetScrollHere (->SetScrollHereY) ocornut 2021-03-11 12:15:20 +0100
  • e45847d99a Add version of PathArcTo() and PathArcToFast() with adaptive rendering quality. (#3491) thedmd 2021-02-13 19:42:23 +0100
  • 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 +0100
  • a3ebd160cb
    Fix unused variable warning in ImGui::EndListBox() (#3897) C.Even 2021-03-11 17:04:50 +0800
  • 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 +0100
  • 6ba1334903 Nav: internals: renaming ImGuiInputSource so it is not specific to nav. Comments. ocornut 2021-03-10 16:27:19 +0100
  • 01a2bac7d5 DrawList: Replace "bool close" in drawing functions with flags. Rokas Kupstys 2021-03-09 10:28:14 +0200
  • a64e0eb3a4 Nav: merged SetNavID() and SetNavIDWithRectRel() to improve sanity, moved flags overwrite off them. (#787) ocornut 2021-03-08 18:52:42 +0100
  • 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 +0100
  • 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 +0100
  • 954b06afe2 Drag and Drop: can use BeginDragDropSource() for other than the left mouse button (#1637, #3885) ocornut 2021-03-08 15:44:56 +0100
  • 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 +0100
  • 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 +0200
  • 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 +0100
  • 705f082674 Internals: rename RootWindow->RootWindowDockTree, RootWindowDockStop->RootWindow. ocornut 2021-03-05 16:21:39 +0100
  • 80533ea5e1 Merge branch 'master' into docking ocornut 2021-03-05 16:04:15 +0100
  • fdebb2e093 Internals: removed HoveredRootWindow, tweak IsWindowHovered(). ocornut 2021-03-05 15:56:59 +0100
  • f5bc5e8630 Freetype: Enable FreeType bitmap glyphs. (#3879) TAiGA 2021-03-05 11:16:30 +0800
  • 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 +0100
  • b53b8f58df Demo: Use correct string formats on non-windows platforms. Rokas Kupstys 2021-03-04 16:27:43 +0200
  • 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 +0100
  • 8dd692c29c Android: Amend backend and examples with minor consistency tweaks. (#3446) ocornut 2021-03-04 11:03:40 +0100
  • fb85c0341b
    Add Android backend and example (#3446) duddel 2021-03-04 10:35:44 +0100
  • d8c88bd943 Tables: Fixed unaligned accesses when using TableSetBgColor(ImGuiTableBgTarget_CellBg). (#3872) ocornut 2021-03-04 09:52:00 +0100
  • 1ddaff83d8 Demo: Tweak inputs display. ocornut 2021-03-03 18:45:52 +0100
  • 662535f357 Backends: DX9: Fix handling of colored textures (#3844, #3868) ocornut 2021-03-03 18:34:07 +0100
  • 6aee4bcdc5 Merge branch 'master' into docking ocornut 2021-03-02 18:27:07 +0100
  • 25679a411e Window, Nav: Fixed crash when calling SetWindowFocus(NULL) as the time a new window appears. (#3865) ocornut 2021-03-02 18:22:01 +0100
  • 4537d98d46 Backends: DX9: Fix to support colored glyphs, using newly introduced 'TexPixelsUseColors' info. (#3369, #3844) ocornut 2021-03-02 15:03:16 +0100
  • eb57484935 Backends: DX9: add missing IMGUI_USE_BGRA_PACKED_COLOR support. Remove dinput.h headers. (#3844) Xiliusha 2021-02-26 10:40:22 +0800
  • 23ab4978e4 ImFontAtlas: Added 'bool TexPixelsUseColors' output to help backend decide of underlying texture format. (#3369, #3844) ocornut 2021-03-02 14:08:36 +0100
  • b794ecc079 Internals: Docking: some renaming. ocornut 2021-02-25 15:36:52 +0100
  • 732cd837a9
    Added missing IMGUI_API to internal docking-related structs. (#3850) David Maas 2021-02-27 14:15:38 -0600
  • 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 +0200
  • cdf1926f21
    Fix a typo in the demo text (#3840) chirsz 2021-02-25 20:33:47 +0800
  • 5aaab7424f
    Update FAQ.md omar 2021-02-25 13:10:02 +0100
  • 760c394707 Added links to Discussions. Closed Discord, yeah! (#2748) ocornut 2021-02-25 00:40:23 +0100
  • 3776ba565f Internals: TabBar: minor tweaks and renaming. ocornut 2021-02-24 16:05:47 +0100
  • 6f4b9c65ae Added commentary about DLL boundaries. Added GetAllocatorFunctions(). Tidying up. (#3836) ocornut 2021-02-24 19:34:42 +0100
  • 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 +0200
  • 9b32f7bf2d Fix example_null Makefile for Mingw (#2590) ocornut 2021-02-22 14:44:06 +0100
  • edf135c18d Win32+MinGW: Re-enabled IME functions by default even under MinGW. (#2590, #738) ocornut 2021-02-22 14:39:44 +0100
  • ece854564a
    Log/Capture: Added LogTextV, a va_list variant of LogText. (#3828) David Maas 2021-02-22 04:58:51 -0600
  • 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 +0100
  • 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 +0100
  • c154629152 Backends: Win32: Added ImGui_ImplWin32_EnableAlphaCompositing() helper. (#2766, #3447) ocornut 2021-02-18 15:51:07 +0100
  • 3ec14186cb Viewports: Fix setting of ImGuiViewportFlags_NoRendererClear. (#3213) ocornut 2021-02-18 14:08:50 +0100
  • 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 +0100
  • ffa863a3ba Merge branch 'master' into docking ocornut 2021-02-18 11:40:39 +0100
  • 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 +0100
  • 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 +0100
  • 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 +0100
  • fb15d8c858 Improve on automatic circle segment count calculation. (#3808) Amends ocornut 2021-02-17 13:06:26 +0100
  • f107693d9b Improve on automatic circle segment count calculation. (#3808) thedmd 2021-02-17 12:55:25 +0100
  • 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 +0100
  • 9576dfd5e7 CI: Use workflow_run to trigger scheduled builds and static analysis. Rokas Kupstys 2021-02-16 10:33:29 +0200
  • 30b7545841 Version 1.82 WIP ocornut 2021-02-15 18:10:14 +0100
  • 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 +0100
  • 61b19489f1 Made a change to CalcWindowSizeAfterConstraint() which MSVC optimizer seems to trip on. (read on) ocornut 2021-02-12 16:34:22 +0100
  • 7180e9ac66
    Remove redundant GetMainViewport decl in imgui.h (#3801, #3800) Adam Kewley 2021-02-11 10:03:14 +0100
  • 239d09804d Merge branch 'master' into docking ocornut 2021-02-10 21:28:16 +0100
  • 4df57136e9 Version 1.81 v1.81 ocornut 2021-02-10 18:47:46 +0100
  • 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
  • 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
  • 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
  • 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
  • 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