Commit Graph

  • d2939ce0a1 Columns: Make sure the ClipRect is valid. (#3475) Bartosz Szreder 2020-09-16 15:17:45 +02:00
  • 6bc526676c Viewports: Comments, removed unnecessary use of ViewportFrontMostStampCount (the LastFrontMostStampCount is enough) ocornut 2020-09-10 11:02:40 +02:00
  • e230ec5a01 Viewports, Backends: DX12: Make secondary viewport format match main viewport one (#3462) {@BeastLe9enD] omar 2020-09-16 11:05:02 +02:00
  • a1597cff08 Backends: DX12: Fix D3D12 Debug Layer warning if scissor rect is 0 width or 0 height. (#3472, #3462) Pierre-Loup Pagniez 2020-09-15 12:39:55 +02:00
  • a8f409a848 Examples: DX12: Enable breaking on any warning/error when debug interface is enabled. (#3462, #3472) + misc comments & minor fixes. omar 2020-09-16 10:28:58 +02:00
  • 770c995365 Backends: Vulkan: Removed unused shader code. Fix leaks. Avoid unnecessary pipeline creation for main viewport. Amend 41e2aa2. (#3459) + Add ImGui_ImplVulkanH_CreateWindowSwapChain in ImGui_ImplVulkanH_CreateOrResizeWindow(). omar 2020-09-08 22:39:53 +02:00
  • e8447dea45 Backends: Vulkan: Removed unused shader code. Fix leaks. Avoid unnecessary pipeline creation for main viewport. Amend 41e2aa2. (#3459) omar 2020-09-08 22:39:53 +02:00
  • d8d58b038e Backends, Examples: DX12: Clarify support for 32-bit building in project files and comments. (#301) omar 2020-09-08 20:02:28 +02:00
  • 78f753ffff Merge branch 'master' into docking + incl add wd->Pipeline in ImGui_ImplVulkan_RenderDrawData platform code (#3455, #3459) omar 2020-09-08 16:55:09 +02:00
  • 41e2aa2e7a Backends: Vulkan: Separate the pipeline of the dear imgui created windows from the one created with the user's render-pass. (#3455, #3459) Michel Lesoinne 2020-09-08 16:47:06 +02:00
  • 6a546a500f ImVector: fix max_size() for signed int value. Amend 444873404 (#3429, #3460) xndcn 2020-09-08 11:49:30 +08:00
  • 8a9ee9cded Add const qualifier for parameter ImFontConfig of ImFont::AddGlyph (#3461) HALX99 2020-09-08 03:18:28 -07:00
  • 206d78a524 InputText: Fixed minor glitch when erasing trailing lines in InputTextMultiline(). Fixed cursor being partially covered after using Ctrl+End key. omar 2020-09-08 11:39:56 +02:00
  • 36af398056 Sliders: Fixed using ImGuiSliderFlags_ClampOnInput with reverse sliders. (#3432, #3449) omar 2020-09-07 19:52:11 +02:00
  • b2039aac67 Slider: Fixed to reach maximum value with inverted integer min/max ranges, both with signed and unsigned types. Added reverse Sliders to Demo. (#3432, #3449) Rokas Kupstys 2020-09-07 17:38:56 +02:00
  • 6461fd40ab Examples: Fixed SDL+OpenGL2 and SDL+Vulkan examples not processing SDL_WINDOWEVENT_CLOSE events which tends to be needed in multi-viewport setting. omar 2020-09-07 12:19:50 +02:00
  • b25756be4a Examples: Vulkan: Switch validation layer. Fix CMakeLists to find Vulkan the standard way. (#3459) Michel Lesoinne 2020-05-08 17:58:05 -06:00
  • aa8e09d7f1 Backends: GLFW: workaround for cases where glfwGetMonitorWorkarea fails (#3457) Doug Binks 2020-09-04 16:26:31 +01:00
  • 751d153ca9 InputText: Fixed callback's helper DeleteChars() function when cursor is inside the deleted block. (#3454). ocornut 2020-09-03 19:09:57 +02:00
  • 70289ab42c Scrolling: Fixed edge snapping being applied prior to knowing ContentSize. (#3452) ocornut 2020-09-03 17:38:51 +02:00
  • 8db94cd992 Internals: Scroll related, comments & shallow tweaks. ocornut 2020-09-03 16:11:01 +02:00
  • 36c331ff74 Merge branch 'master' into docking ocornut 2020-09-02 12:47:07 +02:00
  • b73305be11 Examples: Vulkan: Reworked buffer resize handling, amend df89a16d (#3390, #2626) ocornut 2020-09-02 12:43:05 +02:00
  • 8dacb4da20 Docking: Fixed DockNode tab bar initial order broken by 8c80d533d ocornut 2020-09-01 19:43:46 +02:00
  • 9a9ee7f813 NavInitWindow: Change IMGUI_DEBUG_LOG to IMGUI_DEBUG_LOG_NAV (#3450) Valentin Vanelslande 2020-09-01 16:19:33 -05:00
  • f4d062fa11 Nav: Added debug logging, extract bits of code into NavUpdateInitResult(). ocornut 2020-09-01 18:33:51 +02:00
  • fc625d249f Internals: Begin: update ->Hidden flags only on first begin of the frame. (ignore whitespace to see simple diff) ocornut 2020-09-01 15:24:24 +02:00
  • a456d17dfc Internals: Begin: update ->Hidden flags only on first begin of the frame. (ignore whitespace to see simple diff) ocornut 2020-09-01 15:24:24 +02:00
  • 34077c0140 Merge branch 'master' into docking ocornut 2020-09-01 12:07:35 +02:00
  • ce230fc370 Internals: TabBar renaming and shuffling stuff around. ocornut 2020-08-31 17:25:16 +02:00
  • 600b8f60b4 Docking: Fixed crash in metrics. ocornut 2020-08-28 20:20:28 +02:00
  • 13f718337a Internals: Added support for overriding locale decimal point, undocumented. (#2278) + Misc doc update. ocornut 2020-08-28 16:49:46 +02:00
  • 901d432cb7 Nav: Fixed using Alt to toggle the Menu layer when inside a Modal window. (#787) Tidying up todo items. ocornut 2020-08-27 19:51:25 +02:00
  • 302896d488 Basic optimization for ShadeVertsLinearColorGradientKeepAlpha() - especially for debug overhead - since it's used massively by some of our experiments. ocornut 2020-08-27 12:19:13 +02:00
  • 093afd4f7f Internals: Added Name to ImGuiDataTypeInfo + minor misc comments in BeginGroup(). ocornut 2020-08-26 20:50:19 +02:00
  • 45499b8f2f Window: Fixed using non-zero pivot in SetNextWindowPos() when the window is collapsed. (#3433) ocornut 2020-08-26 20:18:54 +02:00
  • 8c80d533d9 Tab Bar: Fixed a small bug where toggling a tab bar from Reorderable to not Reorderable would leave tabs reordered in the tab list popup. Louis Schnellbach 2020-08-26 12:18:02 +02:00
  • b30d33378d Nav: Activate InputSource as Gamepad when pressing any of the digital d-pad button. ocornut 2020-08-26 12:41:05 +02:00
  • 8d71bc2132 Internals: Nav: shallow refactor. ocornut 2020-08-26 12:39:29 +02:00
  • 833eb771f2 Nav: Fix navigation resuming on first visible item when using gamepad. Rokas Kupstys 2020-08-26 12:21:37 +03:00
  • 1e8b9f84da Nav: Removed stateful NavMoveFromClampedRefRect and made it more explicit that nav move request from gamepad start from a clipped location. ocornut 2020-08-26 11:28:35 +02:00
  • 4448734041 ImVector: added max_size() to facilitate usage with sol2 binding generator (#3429) ocornut 2020-08-26 11:03:55 +02:00
  • 32be6c064b InputText: Fixed using ImGuiInputTextFlags_Password with InputTextMultiline(). (#3427, #3428) ocornut 2020-08-25 20:08:24 +02:00
  • e9053515bb Merge branch 'master' into docking ocornut 2020-08-25 19:29:06 +02:00
  • 5919a6fa89 Tab Bar: Keep tab item close button visible while dragging a tab (independent of hovering state). ocornut 2020-08-25 19:28:20 +02:00
  • 30f0900b1c Docking: Fix honoring payload filter with overlapping nodes. (we incorrectly over-relied on g.HoveredDockNode when making change for #3398) ocornut 2020-08-25 19:03:08 +02:00
  • 021c28ae39 Nav: Fix ScrollToBringRectIntoView() not bringing entire item into view when nav moves to the left. Correct some comments. Rokas Kupstys 2020-08-25 13:13:03 +03:00
  • 08108cf9ee Tab Bar: Hide tab item close button while dragging a tab. ocornut 2020-08-25 11:49:16 +02:00
  • 2e50d0706b Selectable: Tweaks. Added internal ImGuiSelectableFlags_NoPadWithHalfSpacing. omar 2020-08-24 16:26:47 +02:00
  • d451f6cc30 Nav tweaks. Demo: Fixed drag and drop demo state (broken by f152fac4f1). Fixed incorrect format string (which would work without IMGUI_DISABLE_OBSOLETE_FUNCTIONS). omar 2020-08-24 14:13:18 +02:00
  • 7b0570d6ba Revert "Drags, Sliders: internal ReadOnly flag gets forwarded properly to temp InputText()." ocornut 2020-08-21 20:15:07 +02:00
  • fdf952108d Drags, Sliders: internal ReadOnly flag gets forwarded properly to temp InputText(). ocornut 2020-08-21 19:16:59 +02:00
  • 831e2c920e Docking, Viewport: Fixed a rare edge-case if the window targetted by CTRL+Tab stops being rendered. ocornut 2020-08-21 18:44:56 +02:00
  • cf312545e8 Docking: Fixed docking while hovering a child window. (#3420) broken by 85a661d27. Improve metrics debugging. ocornut 2020-08-21 16:21:51 +02:00
  • df89a16d26 Examples: Vulkan: Reworked buffer resize handling, fix for Linux/X11. (#3390, #2626) ocornut 2020-08-07 15:34:25 +02:00
  • d6f3a8848d Viewports: Backends: DirectX9: Allow D3DERR_DEVICELOST on secondary viewports. (#3424) ocornut 2020-08-21 15:02:52 +02:00
  • 9d20a5f0a5 Docking: DockSpace() emits ItemSize() properly + dockspace demo (works now since 05a25e5f3) ocornut 2020-08-20 16:21:48 +02:00
  • ad8fdc917f Merge branch 'master' into docking ocornut 2020-08-20 22:42:14 +02:00
  • 9b50e691ed TreeNode: Made clicking on arrow toggle toggle the open state on the Mouse Down event. Amend 05420ea2c. ocornut 2020-08-20 22:26:10 +02:00
  • 97dad66516 Metrics: Various tweaks, listing windows front-to-back, greying inactive items when possible. ocornut 2020-08-20 16:49:11 +02:00
  • 9262609eaf Version 1.79 WIP ocornut 2020-08-20 12:19:39 +02:00
  • 05a25e5f36 BeginMenuBar: Fixed minor bug where CursorPosMax gets pushed to CursorPos prior to calling BeginMenuBar(), so e.g. calling the function at the end of a window would often add +ItemSpacing.y to scrolling range. ocornut 2020-08-20 16:19:53 +02:00
  • fc9ccad6b9 InputText: Add ImGuiInputTextFlags_CallbackEdit, selection helpers in ImGuiInputTextCallbackData(). Add simple InputText() callbacks demo. ocornut 2020-08-20 11:25:39 +02:00
  • 024993adf9 Revert leftovers from 4c201994d4 ocornut 2020-08-20 11:25:05 +02:00
  • 4c201994d4 DragFloat, DragScalar: Fixed ImGuiSliderFlags_ClampOnInput not being honored in the special case where v_min == v_max. (#3361) ocornut 2020-08-20 11:21:15 +02:00
  • 5dc5610ad5 Docs: TODO, FAQ ocornut 2020-08-19 13:25:56 +02:00
  • 05bc204dbd Merge branch 'master' into docking ocornut 2020-08-18 17:51:43 +02:00
  • 95c99aaa4b Version 1.78 v1.78 ocornut 2020-08-18 17:50:45 +02:00
  • c6b01e8e1d Drag, Sliders: Merged ImGuiDragFlags back into ImGuiSliderFlags. (#3361, #1823, #1316, #642, #1829, #3209) ocornut 2020-08-18 17:02:58 +02:00
  • b36d1d465d Docking: Untangle a little bit of the ActiveIdClickOffset mess. omar 2020-08-11 11:53:04 +02:00
  • 14539b3ed2 Update Emscripten readme about emrun (#3412) omar 2020-08-18 12:34:19 +02:00
  • d3fcc37e9e Update Emscripten readme about local XHR requests (#3412) omar 2020-08-18 12:27:40 +02:00
  • 25a9209b75 Merge branch 'master' into docking ocornut 2020-08-17 23:26:56 +02:00
  • 3c65b650e8 Merge branch 'features/logarithmic_sliders' ocornut 2020-08-17 22:11:09 +02:00
  • f32663b33c Drags, Sliders: Removed locking behavior with min > max (added in 1.73) omar 2020-07-27 16:23:38 +02:00
  • 7f8f0096d8 Internals: Renamed SliderCalcRatioFromValueT() -> ScaleRatioFromValueT(), SliderCalcValueFromRatioT() -> ScaleValueFromRatioT(). omar 2020-07-27 15:34:14 +02:00
  • fb0f2ebd41 Drags, Sliders: Tweaks. omar 2020-07-27 15:15:09 +02:00
  • fa279a6aa0 Drags, Sliders: Added deadzone to make selecting 0.0 on linear sliders easier, slider navigation delta accumulation. (#3361, #1823, #1316, #642) Ben Carter 2020-07-26 11:42:06 +09:00
  • f75b29e7be Drags, Sliders: Added ImGuiDragFlags_NoInput/ImGuiSliderFlags_NoInput to disable turning widget into a text input with CTRL+Click or Nav Enter. omar 2020-07-24 13:41:14 +02:00
  • 8018623c5b Drags, Sliders: Added ImGuiDragFlags_NoRoundToFormat / ImGuiSliderFlags_NoRoundToFormat flags (#642) omar 2020-07-23 23:01:10 +02:00
  • 170d02bd99 Drags, Sliders: Added ImGuiDragFlags_ClampOnInput/ImGuiSliderFlags_ClampOnInput flags to force clamping value when using CTRL+Click to type in a value manually. (#1829, #3209) omar 2020-07-23 17:39:22 +02:00
  • 7607aea018 Drags, Sliders: Removed power features. Old entry points will pass-through if power=1.0f, otherwise assert + safe fallback. Remove 3 redirection functions (#3361, #1823, #1316, #642) omar 2020-07-22 19:33:03 +02:00
  • 43c099f31e Drags, Sliders: Logarithmic: Moved flags to internals, allowing 1.0f to pass by. (#3361, #1823, #1316, #642) omar 2020-07-22 18:00:50 +02:00
  • 152dae9e2a Drags, Sliders: Logarithmic: Split back flags into drag/slider flags. Moved to an obsolete section. (#3361, #1823, #1316, #642) omar 2020-07-22 14:52:26 +02:00
  • 9f98b4e7f2 Drags, Sliders: Logarithmic: Added logarithmic mode support to drag widgets, extended API to add flags to drag/sliders (#3361, #1823, #1316, #642) Ben Carter 2020-06-02 15:36:20 +09:00
  • a252a287bf Drags, Sliders: Logarithmic: WIP experiments with trying to make logarithmic sliders sensible (#3361, #1823, #1316, #642) Ben Carter 2020-05-24 18:05:09 +09:00
  • 46d75202b8 Tab Bar: Allow calling SetTabItemClosed() after a tab has been submitted (will process next frame). ocornut 2020-08-17 12:55:42 +02:00
  • 0e5b1ea297 CI: imscripten fastcomp backend is now deprecated (#3402) Louis Schnellbach 2020-08-12 16:26:42 +02:00
  • a9626e1162 Docking: Made DockBuilderAddNode() automatically call DockBuilderRemoveNode(). (#3399, #2109) omar 2020-08-11 11:51:47 +02:00
  • 214dd68ec1 Comments, clarifying ClosePopupsOverWindow(). omar 2020-08-10 22:05:26 +02:00
  • a4dd4d60b4 CI: moved static analysis to a separate project + fix (uninitialized variable, was harmless in this case). omar 2020-08-10 17:34:14 +02:00
  • 8241cd6284 Make moving window prevent its active id from being stolen (#3392, #3243, #1738) omar 2020-08-10 16:28:46 +02:00
  • a5ba26806f Make moving window prevent its active id from being stolen (#3392, #3243, #1738) omar 2020-08-10 16:28:46 +02:00
  • dbc70f21a9 Docking: Fixed docking overlay bits appearing at (0,0), because of 43bd80a4. Most typically noticable when disabling multi-viewport. omar 2020-08-10 15:53:34 +02:00
  • 009276b6cb Backends: Allegro 5: Fixed horizontal scrolling direction with mouse wheel / touch pads (#3394, #2424, #1463) [@nobody-special666] omar 2020-08-10 15:31:48 +02:00
  • 85a661d276 Docking: Storing HoveredDockNode in context which can be useful for easily detecting e.g. hovering an empty node. (#3398) omar 2020-08-10 12:52:33 +02:00
  • acf043a675 Docking: Moved code unjustly in DockNodeTreeFindNodeByPos() out of it and into caller (should have no side-effect ideally). Removed dupe in Begin() from earlier merge. omar 2020-08-10 11:58:37 +02:00
  • 2c13a74a9d Merge branch 'master' into docking omar 2020-08-10 11:35:51 +02:00
  • 209a6a751c Revert "Examples: Switch most VS projects to enable Edit & Continue by default (may need to upgrade projects to latest toolchain)" omar 2020-08-10 11:33:30 +02:00
  • 89ac87cd91 Internals: Added SetLastItemData, rename ImGuiItemHoveredDataBackup to ImGuiLastItemDataBackup. omar 2020-08-10 11:30:19 +02:00