Commit Graph

  • 8db94cd992 Internals: Scroll related, comments & shallow tweaks. ocornut 2020-09-03 16:11:01 +0200
  • 36c331ff74 Merge branch 'master' into docking ocornut 2020-09-02 12:47:07 +0200
  • b73305be11 Examples: Vulkan: Reworked buffer resize handling, amend df89a16d (#3390, #2626) ocornut 2020-09-02 12:43:05 +0200
  • 8dacb4da20 Docking: Fixed DockNode tab bar initial order broken by 8c80d533d ocornut 2020-09-01 19:43:46 +0200
  • 9a9ee7f813
    NavInitWindow: Change IMGUI_DEBUG_LOG to IMGUI_DEBUG_LOG_NAV (#3450) Valentin Vanelslande 2020-09-01 16:19:33 -0500
  • f4d062fa11 Nav: Added debug logging, extract bits of code into NavUpdateInitResult(). ocornut 2020-09-01 18:33:51 +0200
  • 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 +0200
  • 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 +0200
  • 34077c0140 Merge branch 'master' into docking ocornut 2020-09-01 12:07:35 +0200
  • ce230fc370 Internals: TabBar renaming and shuffling stuff around. ocornut 2020-08-31 17:25:16 +0200
  • 600b8f60b4 Docking: Fixed crash in metrics. ocornut 2020-08-28 20:20:28 +0200
  • 13f718337a Internals: Added support for overriding locale decimal point, undocumented. (#2278) + Misc doc update. ocornut 2020-08-28 16:49:46 +0200
  • 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 +0200
  • 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 +0200
  • 093afd4f7f Internals: Added Name to ImGuiDataTypeInfo + minor misc comments in BeginGroup(). ocornut 2020-08-26 20:50:19 +0200
  • 45499b8f2f Window: Fixed using non-zero pivot in SetNextWindowPos() when the window is collapsed. (#3433) ocornut 2020-08-26 20:18:54 +0200
  • 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 +0200
  • b30d33378d Nav: Activate InputSource as Gamepad when pressing any of the digital d-pad button. ocornut 2020-08-26 12:41:05 +0200
  • 8d71bc2132 Internals: Nav: shallow refactor. ocornut 2020-08-26 12:39:29 +0200
  • 833eb771f2 Nav: Fix navigation resuming on first visible item when using gamepad. Rokas Kupstys 2020-08-26 12:21:37 +0300
  • 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 +0200
  • 4448734041 ImVector: added max_size() to facilitate usage with sol2 binding generator (#3429) ocornut 2020-08-26 11:03:55 +0200
  • 32be6c064b InputText: Fixed using ImGuiInputTextFlags_Password with InputTextMultiline(). (#3427, #3428) ocornut 2020-08-25 20:08:24 +0200
  • e9053515bb Merge branch 'master' into docking ocornut 2020-08-25 19:29:06 +0200
  • 5919a6fa89 Tab Bar: Keep tab item close button visible while dragging a tab (independent of hovering state). ocornut 2020-08-25 19:28:20 +0200
  • 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 +0200
  • 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 +0300
  • 08108cf9ee Tab Bar: Hide tab item close button while dragging a tab. ocornut 2020-08-25 11:49:16 +0200
  • 2e50d0706b Selectable: Tweaks. Added internal ImGuiSelectableFlags_NoPadWithHalfSpacing. omar 2020-08-24 16:26:47 +0200
  • 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 +0200
  • 7b0570d6ba Revert "Drags, Sliders: internal ReadOnly flag gets forwarded properly to temp InputText()." ocornut 2020-08-21 20:15:07 +0200
  • fdf952108d Drags, Sliders: internal ReadOnly flag gets forwarded properly to temp InputText(). ocornut 2020-08-21 19:16:59 +0200
  • 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 +0200
  • cf312545e8 Docking: Fixed docking while hovering a child window. (#3420) broken by 85a661d27. Improve metrics debugging. ocornut 2020-08-21 16:21:51 +0200
  • df89a16d26 Examples: Vulkan: Reworked buffer resize handling, fix for Linux/X11. (#3390, #2626) ocornut 2020-08-07 15:34:25 +0200
  • d6f3a8848d Viewports: Backends: DirectX9: Allow D3DERR_DEVICELOST on secondary viewports. (#3424) ocornut 2020-08-21 15:02:52 +0200
  • 9d20a5f0a5 Docking: DockSpace() emits ItemSize() properly + dockspace demo (works now since 05a25e5f3) ocornut 2020-08-20 16:21:48 +0200
  • ad8fdc917f Merge branch 'master' into docking ocornut 2020-08-20 22:42:14 +0200
  • 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 +0200
  • 97dad66516 Metrics: Various tweaks, listing windows front-to-back, greying inactive items when possible. ocornut 2020-08-20 16:49:11 +0200
  • 9262609eaf Version 1.79 WIP ocornut 2020-08-20 12:19:39 +0200
  • 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 +0200
  • fc9ccad6b9 InputText: Add ImGuiInputTextFlags_CallbackEdit, selection helpers in ImGuiInputTextCallbackData(). Add simple InputText() callbacks demo. ocornut 2020-08-20 11:25:39 +0200
  • 024993adf9 Revert leftovers from 4c201994d4 ocornut 2020-08-20 11:25:05 +0200
  • 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 +0200
  • 5dc5610ad5 Docs: TODO, FAQ ocornut 2020-08-19 13:25:56 +0200
  • 05bc204dbd Merge branch 'master' into docking ocornut 2020-08-18 17:51:43 +0200
  • 95c99aaa4b Version 1.78 v1.78 ocornut 2020-08-18 17:50:45 +0200
  • c6b01e8e1d Drag, Sliders: Merged ImGuiDragFlags back into ImGuiSliderFlags. (#3361, #1823, #1316, #642, #1829, #3209) ocornut 2020-08-18 17:02:58 +0200
  • b36d1d465d Docking: Untangle a little bit of the ActiveIdClickOffset mess. omar 2020-08-11 11:53:04 +0200
  • 14539b3ed2
    Update Emscripten readme about emrun (#3412) omar 2020-08-18 12:34:19 +0200
  • d3fcc37e9e
    Update Emscripten readme about local XHR requests (#3412) omar 2020-08-18 12:27:40 +0200
  • 25a9209b75 Merge branch 'master' into docking ocornut 2020-08-17 23:26:56 +0200
  • 3c65b650e8 Merge branch 'features/logarithmic_sliders' ocornut 2020-08-17 22:11:09 +0200
  • f32663b33c Drags, Sliders: Removed locking behavior with min > max (added in 1.73) omar 2020-07-27 16:23:38 +0200
  • 7f8f0096d8 Internals: Renamed SliderCalcRatioFromValueT() -> ScaleRatioFromValueT(), SliderCalcValueFromRatioT() -> ScaleValueFromRatioT(). omar 2020-07-27 15:34:14 +0200
  • fb0f2ebd41 Drags, Sliders: Tweaks. omar 2020-07-27 15:15:09 +0200
  • 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 +0900
  • 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 +0200
  • 8018623c5b Drags, Sliders: Added ImGuiDragFlags_NoRoundToFormat / ImGuiSliderFlags_NoRoundToFormat flags (#642) omar 2020-07-23 23:01:10 +0200
  • 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 +0200
  • 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 +0200
  • 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 +0200
  • 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 +0200
  • 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 +0900
  • 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 +0900
  • 46d75202b8 Tab Bar: Allow calling SetTabItemClosed() after a tab has been submitted (will process next frame). ocornut 2020-08-17 12:55:42 +0200
  • 0e5b1ea297
    CI: imscripten fastcomp backend is now deprecated (#3402) Louis Schnellbach 2020-08-12 16:26:42 +0200
  • a9626e1162 Docking: Made DockBuilderAddNode() automatically call DockBuilderRemoveNode(). (#3399, #2109) omar 2020-08-11 11:51:47 +0200
  • 214dd68ec1 Comments, clarifying ClosePopupsOverWindow(). omar 2020-08-10 22:05:26 +0200
  • a4dd4d60b4 CI: moved static analysis to a separate project + fix (uninitialized variable, was harmless in this case). omar 2020-08-10 17:34:14 +0200
  • 8241cd6284 Make moving window prevent its active id from being stolen (#3392, #3243, #1738) omar 2020-08-10 16:28:46 +0200
  • a5ba26806f Make moving window prevent its active id from being stolen (#3392, #3243, #1738) omar 2020-08-10 16:28:46 +0200
  • 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 +0200
  • 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 +0200
  • 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 +0200
  • 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 +0200
  • 2c13a74a9d Merge branch 'master' into docking omar 2020-08-10 11:35:51 +0200
  • 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 +0200
  • 89ac87cd91 Internals: Added SetLastItemData, rename ImGuiItemHoveredDataBackup to ImGuiLastItemDataBackup. omar 2020-08-10 11:30:19 +0200
  • 90b152f265 ImFontAtlas: Fixed multiple rebuild with same inputs erroneously increased ConfigDataCount. CI: Update Ubuntu 18.04 > 20.04 (motivated by #3369) ocornut 2020-08-07 16:26:16 +0200
  • ede8825fb2 Examples: Vulkan: Fixed GLFW+Vulkan and SDL+Vulkan clear color not being set. Broken by a06eb833 (#3390) ocornut 2020-08-07 15:24:00 +0200
  • b15b25bccd TabBar: made a change to that declared ideal width (for auto-resize) won't lag by an extra frame. omar 2020-08-06 16:35:29 +0200
  • 8074b49148 Selectable: Fixed highlight/hit extent when used with horizontal scrolling (in or outside columns). (#3187, #3386) omar 2020-08-05 19:23:00 +0200
  • fc61018b1c Demo: Renamed "Layout" -> "Layout & Scrolling". Fixed usage of local struct as template class (c++11). omar 2020-08-05 17:10:06 +0200
  • 473a01adb0 Scrolling: Avoid SetScroll, SetScrollFromPos functions from snapping on the edge of scroll limits. (#3379) + Demo: Rename "Layout" to "Layout & Scrolling". omar 2020-08-05 17:09:40 +0200
  • a24578ec09 Examples: Switch most VS projects to enable Edit & Continue by default (may need to upgrade projects to latest toolchain) omar 2020-08-05 14:58:44 +0200
  • db886f3953 Demo: Rework Clipping section. Fix for static analysis. Added bindings in Readme. omar 2020-08-04 12:05:15 +0200
  • 963839373c Demo tweaks + general removal of the word dummy were possible with no issues (kept the API call). omar 2020-08-03 21:19:12 +0200
  • de1588928b Merge branch 'master' into docking omar 2020-08-03 19:54:31 +0200
  • 55041ac3be Demo: Removed thin triangle and aligned code. omar 2020-08-03 19:25:41 +0200
  • 912c45ab23 Demo: Improve "Custom Rendering"->"Canvas" demo with a grid, scrolling and context menu. omar 2020-08-03 19:13:42 +0200
  • 4929a8e4a5 InvisibleButton: Made public a small selection of ImGuiButtonFlags (previously in imgui_internal.h) and allowed to pass them to InvisibleButton(). omar 2020-08-03 18:37:19 +0200
  • a876ad877d Window: Fixed clicking over an item which hovering has been disabled (e.g inhibited by a popup) from marking the window as moved. omar 2020-08-03 18:04:58 +0200
  • 5d87941451 Fixed ImFontConfig::GlyphExtraSpacing and ImFontConfig::PixelSnapH settings being pulled from the merged/target font settings when merging fonts, instead of being pulled from the source font settings. omar 2020-08-02 11:54:34 +0200
  • 76ddacd2a1 Internals: Backport HoveredWindowUnderMovingWindow code from Docking branch. omar 2020-07-29 15:26:31 +0200
  • 70fa37527d Merge branch 'master' into docking omar 2020-07-29 15:15:14 +0200
  • 218ff3a2a5 Internals: Backport one ->WasActive test in NavRestoreLastChildNavWindow() from 9bf6509c6 + minor/shallow bits from docking branch. omar 2020-07-29 15:04:29 +0200
  • c7f5876f8a Internals: backport window HitTestHole code from docking branch + RenderRectFilledWithHole() helper. (#1512, #3368) omar 2020-07-29 14:44:58 +0200
  • bbd061538c Internals: Drag/Sliders: simplified some code. omar 2020-07-24 13:00:56 +0200