Commit Graph

  • 5fed6bdc72 Demo: Improved popups demo and comments. ocornut 2021-04-15 15:53:50 +0200
  • 7c9c5dbe9a Internals: Added ImFloorSigned() + use our own ImFloorSigned() for stb_truetype, compared as matching output for variety of font data. (#2884) ocornut 2021-04-15 14:27:45 +0200
  • 858ea17eba Backends: DirectX10, DirectX11: fixed a crash when backing/restoring state if nothing is bound when entering the rendering function. (#4045) ocornut 2021-04-15 13:29:42 +0200
  • 05a20ca738 Examples: Android: Make Android build compatible with Gradle 7.0. (#3446) duddel 2021-04-14 21:43:53 +0200
  • 76902c482f Changelog: added docking+entries from 1.72 to 1.82 to increase their visibility. ocornut 2021-04-14 19:31:40 +0200
  • b957300260 Documentation tweaks (#4042) ocornut 2021-04-14 15:44:56 +0200
  • e5efa01920 Docking: Fix window menu button. Broken by 3f16a52 (#4043) ocornut 2021-04-14 14:33:10 +0200
  • 3f16a524c8 Docking: move NavWindow to SelectedTabId application lower to leave a chance for in-between code to alter focus. + store per-node window menu button id to simplify usage. ocornut 2021-04-13 16:22:30 +0200
  • 646c873598 Docking: Fixed reappearing docked windows with no close button showing a tab with extraneous space for one frame. ocornut 2021-04-13 15:50:15 +0200
  • e87dd0e65d Docking: Fixed multiple simultaneously reappearing window from appearing undocked in their initial frame. ocornut 2021-04-12 19:21:49 +0200
  • 539de4387b Docking: Fixed restoring of tab order within a dockspace or a split node. ocornut 2021-04-12 16:51:05 +0200
  • d6a5cc7934 Metrics: hotfix (fix 6ba13349 + f08566b4, #4005) ocornut 2021-04-07 17:57:14 +0200
  • bcdc8bcc4b Examples: Vulkan: Update GPU selection to pick discrete GPU if available, or use first GPU otherwise. (#4012) Rokas Kupstys 2021-04-06 11:11:59 +0300
  • c283a1da5b Fixed clipping of multi-line value text when label is single-line + Fixed vertical alignment of single-line value text when label is multi-line. (#4004) ocornut 2021-04-06 18:35:06 +0200
  • 92b7b1f72b Scrolling: Fix mouse wheel axis swap when using SHIFT on macOS (system already does it). (#4010) ocornut 2021-04-06 17:51:21 +0200
  • 5f45047fb6 Update example makefiles to check the new homebrew paths (#4003) Peter Kristensen 2021-04-03 16:03:37 +0200
  • 71dda216ef Backends: OpenGL3: Don't try to read GL_CLIP_ORIGIN unless we're OpenGL 4.5. (#3998, #2366, #2186) Sam Jones 2021-04-06 12:36:52 +0200
  • f08566b4d7 InputText: Do not filter private unicode codepoints (e.g. icons) when pasted from clipboard. (#4005) Doug Binks 2021-04-06 12:00:38 +0200
  • feb8b1e32d
    Update URLs to HTTPS (#4011) TotalCaesar659 2021-04-06 10:16:35 +0300
  • 00d570e280 Added OpenPopup() ImGuiID overload (#3993, #331) ocornut 2021-04-01 17:18:18 +0200
  • 65cd14502c Fix popup positioning, broken by 84e6fe4. (#3991, #3982) ocornut 2021-03-31 19:09:08 +0200
  • f0fc822837 Fix popup positioning, broken by 84e6fe4. (#3991, #3982) ocornut 2021-03-31 19:09:08 +0200
  • 6ddcdbe3e8 Merge branch 'master' into docking ocornut 2021-03-31 16:41:17 +0200
  • 2403ed92a3 Added build/ to gitignore (#3027), Examples: SDL2: Link with shell32.lib required by SDL2main.lib since SDL 2.0.12. [#3988, #3884] + added batch file for SDL+Vulkan. ocornut 2021-03-31 16:14:18 +0200
  • 3c7177c6a7 Internals: storing WindowsHoverPadding in context for external access. + Docs update binaries ocornut 2021-03-31 15:53:30 +0200
  • 9251eac585 Docking: fix undocking from tab-bar by moving mouse horizontally, amend 3ed07a8 + d705192. ocornut 2021-03-30 19:01:37 +0200
  • 45c45d2506 Internals: shallow tidying up of the old resize border structure. Make them match the ImGuiDir order. Split GetWindowResizeID() into GetWindowResizeCornerID() and GetWindowResizeBorderID(). ocornut 2021-03-30 16:13:16 +0200
  • 3ed07a8f0b Docking: removed io.ConfigDockingWithShift option. (#2109) ocornut 2021-03-30 14:30:36 +0200
  • 0e0a783b8c Docking: fix undocking from tab-bar by moving mouse horizontally, broken by d705192. ocornut 2021-03-30 14:52:10 +0200
  • 84e6fe4fc7 Fix IsWindowAppearing() from returning true twice in most cases. (#3982, #1497, #1061) ocornut 2021-03-29 19:45:55 +0200
  • 951c84969b Popups: fix comment about OpenPopupOnItemClick(). (#3981) ocornut 2021-03-29 15:41:28 +0200
  • eab3ae473c
    Fix warning message C4100 (#3974) Chris Ohk 2021-03-28 01:11:57 +0900
  • 5991851eb9 Docking: DockSpace() returns its node ID + adding branch changelog. ocornut 2021-03-26 18:40:19 +0100
  • c6c15a44fa Examples: Add OpenGL ES 2.0 support to modern GL examples. (#2837, #3951) Nikolai Wuttke 2021-03-20 14:46:38 +0100
  • a4adf60576 Backends, Viewports: GLFW: Add a workaround for stuck keys after closing a GLFW window (#3837). Rokas Kupstys 2021-03-08 10:25:07 +0200
  • 1dcd3a45cc ColorEdit4: Alpha default to 255 (instead of 0) when omitted in hex input. (#3973) ocornut 2021-03-26 11:34:07 +0100
  • b79b1cb9c0 TabBar: Amend previous commit. Fix tab reordering when tab bar has scrolling. ocornut 2021-03-25 18:35:24 +0100
  • 688e06490e TabBar: Amend previous commit. Fix tab reordering when tab bar has scrolling. ocornut 2021-03-25 18:35:24 +0100
  • d7051928d9 TabBar: Use mouse position instead of hardcoded +1/-1 offset when reordering tabs. Rokas Kupstys 2021-03-22 10:55:59 +0200
  • 475c0fcc39 TabBar: Use mouse position instead of hardcoded +1/-1 offset when reordering tabs. Rokas Kupstys 2021-03-22 10:55:59 +0200
  • b305953bd1 Viewports: Hotfix for crash in monitor array access, caused by 4b9bc4902. (#3967) ocornut 2021-03-25 17:13:25 +0100
  • e7577d570e Merge branch 'master' into docking ocornut 2021-03-25 16:56:19 +0100
  • a58271c079 Internals: extracted a more reusable BeginViewportSideBar() out of BeginMainMenuBar(). (#3966, #3518) ocornut 2021-03-25 16:16:48 +0100
  • ca34c81ce9 BeginMainMenuBar(): remove expectation that we don't know menu bar height ahead, allowing up to generalize placement in any direction (will be done in master) ocornut 2021-03-25 15:21:19 +0100
  • aa5431fde2 Tables: Expose TableSetColumnEnabled() in public api. (#3935) ocornut 2021-03-24 14:33:28 +0100
  • 6f360d6040 Examples: Win32: using a more explicit loop for PeekMessage polling to make the code easier to copy and paste and less error-prone. ocornut 2021-03-23 18:09:21 +0100
  • 1491d2c916 Backends: Win32: Clearing keyboard down array when losing focus (WM_KILLFOCUS). (#2062, #3532, #3961) ocornut 2021-03-23 16:48:10 +0100
  • 186b734db0 Backends: SDL2: Extend global mouse pos availability check (#3950) Nikolai Wuttke 2021-03-20 15:06:53 +0100
  • 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 -0400
  • 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 +0100
  • 085cff2fe5 Viewports, Backends: Vulkan: Rebuild swapchain on VK_SUBOPTIMAL_KHR. (#3881) ocornut 2021-03-18 18:16:49 +0100
  • 6e4770ea5c Examples: Vulkan: Rebuild swapchain on VK_SUBOPTIMAL_KHR. (#3881) ocornut 2021-03-18 18:12:52 +0100
  • 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 +0100
  • 412d6f7efe Fixes zealous MSVC static analyzers warnings (#3938) ocornut 2021-03-18 16:10:25 +0100
  • 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 +0200
  • 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 +0200
  • 81e0b18e38 Merge branch 'master' into docking ocornut 2021-03-16 16:10:13 +0100
  • 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 +0100
  • a1a39c632a Version 1.83 WIP ocornut 2021-03-16 14:45:30 +0100
  • 2231e1a369 Docking: Dockspace() never draws a background. (#3924) ocornut 2021-03-16 14:30:36 +0100
  • 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 +0100
  • 64aab8480a DragScalar: Add default value for v_speed argument in DragScalar(), DragScalarN(). (#3922) Elias Daler 2021-03-16 03:49:00 +0300
  • ebe6ac5fb5 Improvements to minor mistakes in documentation comments (#3923) ANF-Studios 2021-03-16 12:30:55 +0100
  • 256594575d Merge branch 'master' into docking ocornut 2021-03-15 20:38:34 +0100
  • 35b1148efb Version 1.82 v1.82 ocornut 2021-03-15 20:12:26 +0100
  • 352f64697c Internals: rename legagy tab focus fields to TabFocusXXXX for clarity + removed one unnecessary FocusWindow() call. ocornut 2021-03-15 17:24:55 +0100
  • d94644261d Drags, Sliders: Support ImGuiSliderFlags_Logarithmic flag with integers. Because why not? (#3786) ocornut 2021-03-15 12:21:10 +0100
  • 287bd9b984 InputText: renamed ImGuiInputTextFlags_AlwaysInsertMode to ImGuiInputTextFlags_AlwaysOverwrite. (#2863) ocornut 2021-03-12 17:33:10 +0100
  • 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