75c54e6384Nav: Fixed vertical scoring offset when wrapping on Y in a decorated window.
ocornut
2021-10-11 14:40:42 +0200
ba5c105c01Menus: Fixed an assertion happening in some situations when closing nested menus (broken in 1.83). (#4640)
ocornut
2021-10-11 11:37:31 +0200
44f801186fSetItemDefaultFocus() use ScrollToRectEx(), don't tab when Alt is held either, TabItemEx() uses ItemAdd's extra_flags, misc comments.
ocornut
2021-10-07 18:25:29 +0200
ec6ca06898InputText: Fixed selection rectangle appearing one frame late when selecting all.
ocornut
2021-10-08 13:00:47 +0200
dde31030e9Backends: SDL_Renderer: use SDL_RenderIsClipEnabled() to pass NULL to SDL_RenderSetClipRect (#3926, #4582, #4633)
ocornut
2021-10-07 15:07:43 +0200
Backends: WebGPU: Fix missing initialization of local variable (#4634)
Basil Fierz
2021-10-07 14:58:09 +0200
31d033c9d8Nav: refactor SetKeyboardFocusHere() into using Nav facility. Fix it for clipped items. (#343, #4079, #2352, #432)
ocornut
2021-10-06 18:33:01 +0200
fbe78b1a3aStack Tool: Docs (#4631) + also prevent Metrics window from displaying twice.
ocornut
2021-10-06 18:16:43 +0200
1780579403Merge branch 'master' into docking
ocornut
2021-10-06 17:57:11 +0200
25332fa5acBackends: Emscripten: Update the webgpu API to be compatible with chrome 4633 (#4512)
Basil Fierz
2021-09-05 23:40:01 +0200
2de96c4bd5Stack Tool: Added Stack Tool (ShowStackToolWindow() function and available from Demo and Metrics window). (#4631)
ocornut
2021-09-30 12:15:34 +0200
30db674147Fix printf format warnings on mingw clang (#4626, #4183, #3592)
Guus Waals
2021-09-17 18:14:13 +0200
164a86d3b0Moved !IsActiveIdUsingKey(ImGuiKey_Tab) check to UpdateTabFocus(). Added asserts to IsItemHovered() and IsWindowHovered().
ocornut
2021-10-05 22:06:12 +0200
677fe33990Backends: DX12: use dxgiformat.h to fix using forward declared DXGI_FORMAT (#4594)
ocornut
2021-09-30 11:53:20 +0200
835a5344b0Merge branch 'master' into docking
ocornut
2021-09-24 15:49:28 +0200
65ad63de84Added ImGuiFocusedFlags_NoPopupHierarchy and ImGuiHoveredFlags_NoPopupHierarchy (followup #4527)
ocornut
2021-09-24 13:58:00 +0200
fc4988ffb0Added ImGuiFocusedFlags_NoPopupHierarchy and ImGuiHoveredFlags_NoPopupHierarchy (followup #4527)
ocornut
2021-09-24 14:51:14 +0200
24a77824f2Added ClosePopupsExceptModals() helper, unused for now (aimed at user being able to close popups on app focus loss, not necessarily a suitable default)
ocornut
2021-09-22 15:50:40 +0200
bbb95a5e06IO: modify io.AddFocusEvent() to tolerate in/out for multi-viewports. Amend 2f40be6. (merged from docking) (#3532)
ocornut
2021-08-19 17:35:27 +0200
ca097c2c68Docking: Fixed IsItemHovered() and functions depending on it (e.g. BeginPopupContextItem()) when called after Begin() on a docked window (#3851)
ocornut
2021-09-22 14:05:21 +0200
fba756176dBackends: SDL_Renderer: Amend 1d2d246, various tweaks, fixes, sync to latest. (#3926)
ocornut
2021-09-21 19:29:39 +0200
Added comments about sliders clamping and ImGuiSliderFlags_AlwaysClamp (#4573)
Martin Ejdestig
2021-09-21 19:18:21 +0200
15fe7ba31fColorPicker: Fix not being able to pick exactly (1.0f, 1.0f, 1.0f) color by dragging toward the edges of the SV square. (#3517)
Rokas Kupstys
2021-04-12 12:42:04 +0300
30546bc0e7ColorEdit: Fix multiple issues. (#4014)
Rokas Kupstys
2021-04-08 14:37:03 +0300
15132217a3Nav: Fixed an issue with losing focus on docked windows when pressing Alt while keyboard navigation is disabled. (#4547, #4439)
ocornut
2021-09-21 13:16:00 +0200
fa0a314f59Nav: Fixed an issue with losing focus on docked windows when pressing Alt while keyboard navigation is disabled. (#4547, #4439)
ocornut
2021-09-21 13:16:00 +0200
bc3d267c51Backends: OSX: Use mach_absolute_time as CFAbsoluteTimeGetCurrent can jump backwards. (#4557, #4563)
James McCartney
2021-09-20 00:20:04 -0700
c6ca327fb2Backends: Added more implicit asserts to detect invalid/redundant calls to Shutdown functions. (#4562)
ocornut
2021-09-20 18:43:05 +0200
ddddabdccfInputText: amend validation test to allow pushing Activate events remotely. (#4552, #2321)
ocornut
2021-09-17 16:44:14 +0200
2cffcbdc64InputText: fix Space key with nav enabled interfering with input text boxes (fix bd6c9e99). made it possible to activate InputText with tweak gamepad button (why not, now that we can cancel) (#4552, #2321)
ocornut
2021-09-17 15:44:43 +0200
3973de7933Internals: removed last parameter to IsClippedEx() + fix PVS studio warnings.
ocornut
2021-09-15 16:50:20 +0200
2d0a6a4969Misc: moved StacSizeOnBegin out of window instance into window stack data.
ocornut
2021-09-15 15:36:03 +0200
66cd21db88Misc: extracted ErrorCheckEndWindowRecover() out of ErrorCheckEndFrameRecover(). (#1651)
ocornut
2021-09-15 15:23:55 +0200
d366694062Disabled: Added assert guard for mismatching BeginDisabled()/EndDisabled() blocks. (#211) + Added asserts for missing PopItemFlag() calls. Added both to ErrorCheckEndFrameRecover (#1651)
ocornut
2021-09-15 15:16:58 +0200
82754561e2Nav: Fixed a few widgets from not setting reference keyboard/gamepad navigation ID when activated with mouse.
ocornut
2021-09-13 15:17:54 +0200
5d95e7eef9Viewports: extracted DestroyViewport() out of UpdateViewportsNewFrame() function.
ocornut
2021-09-11 14:06:43 +0200
92a39f78b9Fixed IsWindowFocused/IsWindowHovered with _ChildWindows for not following through popup parents (amend 6b1e094c, fix#4527)
ocornut
2021-09-11 14:05:53 +0200
17a7084b57Menus: Fixed crash when navigating left inside a child window inside a sub-menu. (#4510).
ocornut
2021-09-10 15:37:59 +0200
79d39b190bViewports: fix window with viewport ini data immediately merged into a host viewport from leaving a temporary viewport alive for a frame (would leak into backend).
ocornut
2021-09-10 14:58:45 +0200
6b77668171Viewports: Fixed a crash while a window owning its viewport disappear while being dragged.
ocornut
2021-09-09 21:05:40 +0200
9a49c1ddbdViewports: fixed unnecessary creation of temporary viewports when multiple docked windows got reassigned to a new node (created mid-frame) which already has a HostWindow
ocornut
2021-09-09 20:51:53 +0200
6b1e094cfbFixed _ChildWindows from leaking docking hierarchy. Added ImGuiFocusedFlags_DockHierarchy and ImGuiHoveredFlags_DockHierarchy.
ocornut
2021-09-08 16:49:35 +0200
cfb837203cInternals: refactored IsWindowHovered()/IsWindowFocused() to make their logic more similar + change underlying value of ImGuiHoveredFlags_AllowWhenBlockedByPopup + comment out docking only flags.
ocornut
2021-09-08 15:05:27 +0200
321b84f01fInternals: refactored IsWindowHovered()/IsWindowFocused() to make their logic more similar + change underlying value of ImGuiHoveredFlags_AllowWhenBlockedByPopup + comment out docking only flags.
ocornut
2021-09-08 15:05:27 +0200
40caab4748Fixed bad merge of Changelog in docking branch
ocornut
2021-09-07 18:21:47 +0200
fa9fc05ac6Merge branch 'master' into docking
ocornut
2021-09-07 18:20:12 +0200
d9b427cce0Nav: clarified/renamed NavInputId as NavAcivateInputId, added flags shared by both.
ocornut
2021-09-06 19:15:20 +0200
755bf985d2Backends: OpenGL3: Made our custom GL loader a bit more tolerant of use of another loader in same compilation unit. (#4445, #4514)
ocornut
2021-09-07 14:48:26 +0200
607ad8c949Drag and Drop: Fixed using BeginDragDropSource() within a Begin()/BeginChild() that returned false. (#4515) + BeginDragDropTarget()
ocornut
2021-09-06 20:42:40 +0200
bd6c9e99fcInputText: Allow cancelling/validating input with gamepad nav events.
ocornut
2021-09-06 18:45:50 +0200
0a154b30adNav, ButtonBehavior: reworked old code which ended up 1) calling SetActiveId repeately and 2) misleadingly set g.NavActivateId (amend af38749e)
ocornut
2021-09-03 17:27:17 +0200
ade4c15eeaNav: Tidying up, renaming + update AnyRequest flag in NavMoveRequestSubmit().
ocornut
2021-09-02 18:41:00 +0200
528104a89bMenus: adjust closing logic to accomodate for varying font size and dpi + remove seemingly redundant use of g.NavActivateId where pressed was enough.
ocornut
2021-09-03 16:34:38 +0200
5ee40c8d34Nav: always disable highlight if nav is disabled, fix for IMGUI_DEBUG_NAV_SCORING, minor renaming.
ocornut
2021-09-01 17:36:17 +0200
dff15acdb5Nav: Fixed toggling menu layer with Alt exiting menu layer with Esc not moving mouse when NavEnableSetMousePos config flag is set.
ocornut
2021-09-01 15:51:21 +0200
3d9d3b49aeInternals: folded ImGuiItemAddFlags into ImGuiItemFlags. ImGuiItemAddFlags_Focusable > ImGuiItemFlags_Inputable. One step in the big nav/tab/focus rework.
ocornut
2021-09-01 14:41:24 +0200
73a5e82e04Nav: removed parameters from NavScoreItem(), NavProcessItem(), NavApplyItemToResult(): made little sense / misleading because pulling from other current state anyway.
ocornut
2021-09-01 12:39:12 +0200
a735a8c084Nav: storing NavRect in LastItemData. Fix race condition where framed items (Rect != NavRect) calling SetFocusID() would store the wrong NavRectRel until next frame
ocornut
2021-09-01 12:07:17 +0200
7b913db1ceNav: split NavMoveRequest into NavMoveSubmitted + NavMoveScoringItems to allow operation to defer a move request and provide result immediately + fix regular scoring needlesly running during init + some renaming.
ocornut
2021-08-31 17:44:58 +0200
53589092b2Docking: warning fix for when IM_ASSERT() is empty
ocornut
2021-08-30 20:53:22 +0200
eb6c16d3ddPlotHistogram: Fixed zero-line position when manually specifying min<0 and max>0. (#4349)
Filippo Crocchini
2021-07-22 00:29:42 +0200
bb6a60b1ffNav: extracted sections of NavUpdate() into a NavUpdateCreateMoveRequest() function. Only clearing results when a request is activated.
ocornut
2021-08-27 20:57:21 +0200
ccfb20095eNav: small refactor of forwarding, clarified that MoveDir only set when RequestActive, removed one indent level in NavUpdatePageUpPageDown().
ocornut
2021-08-27 20:48:01 +0200
4351febe9fNav: moved enums/struct declarations in imgui_internal.h
ocornut
2021-08-27 18:01:01 +0200
20a1edef89Nav: made EndMenuBar() use NavMoveRequestForward() for consistency. Moved forward clearing to NavMoveRequestApplyResult(). Improved/fixed comments.
ocornut
2021-08-27 16:21:28 +0200
b08ed61907CI: Build with empty IM_ASSERT() macro.
Rokas Kupstys
2021-08-27 16:06:59 +0300
84890a3074Nav: simplify wrap requests code (may soon be useable for tabbing)
ocornut
2021-08-27 12:31:11 +0200
4c31c98d22Nav: extracted code out of NavUpdate() into NavUpdateCancelRequest()
ocornut
2021-08-27 12:26:42 +0200