ocornut
05877c14df
Fixed nested BeginDisabled()/EndDisabled() bug in Docking branch due to bad merge. ( #4655 , #4452 , #4453 , #4462 )
ago%!(EXTRA string=4 years)
ocornut
9b59455184
Merge branch 'master' into docking
...
# Conflicts:
# imgui.h
ago%!(EXTRA string=4 years)
ocornut
e3bd9434b1
1.86 WIP + internals: tweaks table temp data code.
ago%!(EXTRA string=4 years)
Rokas Kupstys
13cdf2ff0e
CI: Add MinGW DLL builds,
ago%!(EXTRA string=4 years)
ocornut
29653273c1
Docking: reinstate io.ConfigDockingWithShift option. ( #4643 )
...
This more or less reverts commit 3ed07a8f0b
.
ago%!(EXTRA string=4 years)
Rokas Kupstys
be03b8ff93
Misc: Fix build with MinGW when using IMGUI_API.
ago%!(EXTRA string=4 years)
ocornut
1b215ecb01
Merge branch 'master' into docking
...
# Conflicts:
# docs/CHANGELOG.txt
# imgui.cpp
ago%!(EXTRA string=4 years)
ocornut
55d35d8387
Version 1.85
ago%!(EXTRA string=4 years)
ocornut
75c54e6384
Nav: Fixed vertical scoring offset when wrapping on Y in a decorated window.
ago%!(EXTRA string=4 years)
ocornut
ba5c105c01
Menus: Fixed an assertion happening in some situations when closing nested menus (broken in 1.83). ( #4640 )
...
Broken since 936f5322
Weirdly chain-reaction caused by the fact following #4640 repro, the SourceWindow assignment in OpenPopupEx() picks Menu_04 before its closure. Value of SourceWindow since bda2cde6
#2517
ago%!(EXTRA string=4 years)
ocornut
44f801186f
SetItemDefaultFocus() use ScrollToRectEx(), don't tab when Alt is held either, TabItemEx() uses ItemAdd's extra_flags, misc comments.
ago%!(EXTRA string=4 years)
ocornut
ec6ca06898
InputText: Fixed selection rectangle appearing one frame late when selecting all.
ago%!(EXTRA string=4 years)
ocornut
dde31030e9
Backends: SDL_Renderer: use SDL_RenderIsClipEnabled() to pass NULL to SDL_RenderSetClipRect ( #3926 , #4582 , #4633 )
ago%!(EXTRA string=4 years)
Basil Fierz
30a6873a44
Backends: WebGPU: Fix missing initialization of local variable ( #4634 )
ago%!(EXTRA string=4 years)
ocornut
31d033c9d8
Nav: refactor SetKeyboardFocusHere() into using Nav facility. Fix it for clipped items. ( #343 , #4079 , #2352 , #432 )
...
+ Removed references to counter used by previous implementation of SetKeyboardFocus functions (the TabStop ones will be removed after)
ago%!(EXTRA string=4 years)
ocornut
fbe78b1a3a
Stack Tool: Docs ( #4631 ) + also prevent Metrics window from displaying twice.
ago%!(EXTRA string=4 years)
ocornut
1780579403
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
ago%!(EXTRA string=4 years)
Basil Fierz
25332fa5ac
Backends: Emscripten: Update the webgpu API to be compatible with chrome 4633 ( #4512 )
ago%!(EXTRA string=4 years)
ocornut
2de96c4bd5
Stack Tool: Added Stack Tool (ShowStackToolWindow() function and available from Demo and Metrics window). ( #4631 )
ago%!(EXTRA string=4 years)
ocornut
e443ea139d
Backends: SDL_Renderer: Backup and restore modified ClipRect/Viewport. ( #3926 , #4582 )
ago%!(EXTRA string=4 years)
Guus Waals
30db674147
Fix printf format warnings on mingw clang ( #4626 , #4183 , #3592 )
ago%!(EXTRA string=4 years)
ocornut
164a86d3b0
Moved !IsActiveIdUsingKey(ImGuiKey_Tab) check to UpdateTabFocus(). Added asserts to IsItemHovered() and IsWindowHovered().
ago%!(EXTRA string=4 years)
ocornut
677fe33990
Backends: DX12: use dxgiformat.h to fix using forward declared DXGI_FORMAT ( #4594 )
ago%!(EXTRA string=4 years)
ocornut
8f495e5543
Internal: added ScrollToItem() upcoming replacement to ScrollToBringRectIntoView() + ImGuiScrollFlags (WIP) ( #3692 , #3208 , #2812 , #4242 , #2900 )
ago%!(EXTRA string=4 years)
ocornut
835a5344b0
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_win32.cpp
# imgui.cpp
# imgui.h
# imgui_demo.cpp
# imgui_internal.h
ago%!(EXTRA string=4 years)
ocornut
65ad63de84
Added ImGuiFocusedFlags_NoPopupHierarchy and ImGuiHoveredFlags_NoPopupHierarchy (followup #4527 )
...
IsWindowFocused: fix flag usage (amend 6b1e094c
) was technically harmless because of light typing.
ago%!(EXTRA string=4 years)
ocornut
fc4988ffb0
Added ImGuiFocusedFlags_NoPopupHierarchy and ImGuiHoveredFlags_NoPopupHierarchy (followup #4527 )
ago%!(EXTRA string=4 years)
ocornut
24a77824f2
Added ClosePopupsExceptModals() helper, unused for now (aimed at user being able to close popups on app focus loss, not necessarily a suitable default)
ago%!(EXTRA string=4 years)
ocornut
bbb95a5e06
IO: modify io.AddFocusEvent() to tolerate in/out for multi-viewports. Amend 2f40be6
. (merged from docking) ( #3532 )
ago%!(EXTRA string=4 years)
ocornut
ca097c2c68
Docking: Fixed IsItemHovered() and functions depending on it (e.g. BeginPopupContextItem()) when called after Begin() on a docked window ( #3851 )
...
Fix ee643b2a
ago%!(EXTRA string=4 years)
ocornut
fba756176d
Backends: SDL_Renderer: Amend 1d2d246, various tweaks, fixes, sync to latest. ( #3926 )
ago%!(EXTRA string=4 years)
Sylvain
62b17f928e
Backends: SDL_Renderer: Added renderer backend for SDL 2.0.17+ ( #3926 )
...
(Squashed 20 commits)
ago%!(EXTRA string=4 years)
Martin Ejdestig
d7260104b1
Added comments about sliders clamping and ImGuiSliderFlags_AlwaysClamp ( #4573 )
ago%!(EXTRA string=4 years)
Rokas Kupstys
15fe7ba31f
ColorPicker: Fix not being able to pick exactly (1.0f, 1.0f, 1.0f) color by dragging toward the edges of the SV square. ( #3517 )
...
Old code attempted to mitigate hue/saturation resetting for colors where these components are undefined. Since we now explicitly back up and restore these components this workaround is no longer necessary.
ago%!(EXTRA string=4 years)
Rokas Kupstys
30546bc0e7
ColorEdit: Fix multiple issues. ( #4014 )
...
* Change g.ColorEditLastColor type to ImU32 and store RGB color value.
- Fixes inability to change hue when saturation is 0. (#4014 )
- Fixes edgecases where lossy color conversion prevent restoration of hue/saturation.
- Fixes hue value jitter when modifying color using SV square.
* Fix hue resetting to 0 when it is set to 255 by explicitly restoring hue if it is 0 and previous value was 1.
* Further reduce hue jitter by restoring hue when color is modified using SV square.
ago%!(EXTRA string=4 years)
ocornut
15132217a3
Nav: Fixed an issue with losing focus on docked windows when pressing Alt while keyboard navigation is disabled. ( #4547 , #4439 )
ago%!(EXTRA string=4 years)
ocornut
fa0a314f59
Nav: Fixed an issue with losing focus on docked windows when pressing Alt while keyboard navigation is disabled. ( #4547 , #4439 )
ago%!(EXTRA string=4 years)
James McCartney
bc3d267c51
Backends: OSX: Use mach_absolute_time as CFAbsoluteTimeGetCurrent can jump backwards. ( #4557 , #4563 )
ago%!(EXTRA string=4 years)
ocornut
c6ca327fb2
Backends: Added more implicit asserts to detect invalid/redundant calls to Shutdown functions. ( #4562 )
ago%!(EXTRA string=4 years)
ocornut
ddddabdccf
InputText: amend validation test to allow pushing Activate events remotely. ( #4552 , #2321 )
ago%!(EXTRA string=4 years)
ocornut
2cffcbdc64
InputText: 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 )
ago%!(EXTRA string=4 years)
ocornut
3973de7933
Internals: removed last parameter to IsClippedEx() + fix PVS studio warnings.
ago%!(EXTRA string=4 years)
ocornut
2d0a6a4969
Misc: moved StacSizeOnBegin out of window instance into window stack data.
ago%!(EXTRA string=4 years)
ocornut
66cd21db88
Misc: extracted ErrorCheckEndWindowRecover() out of ErrorCheckEndFrameRecover(). ( #1651 )
ago%!(EXTRA string=4 years)
ocornut
d366694062
Disabled: Added assert guard for mismatching BeginDisabled()/EndDisabled() blocks. ( #211 ) + Added asserts for missing PopItemFlag() calls. Added both to ErrorCheckEndFrameRecover ( #1651 )
ago%!(EXTRA string=4 years)
ocornut
4f10fe0a27
TreePush: removed arbitrary/weird suppot for TreePush((const char*)NULL)
ago%!(EXTRA string=4 years)
ocornut
c58fb46411
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
# imgui.h
ago%!(EXTRA string=4 years)
ocornut
e7cc534367
Docking: Improved resizing system so that non-central zone are better at keeping their fixed size.
ago%!(EXTRA string=4 years)
ocornut
29828d0469
Docking: floating node with a central node hides properly when nothing is docked + rename.
ago%!(EXTRA string=4 years)
ocornut
7b8bc864e9
Menus: Fixed vertical alignments of MenuItem() calls within a menu bar. (broken by f8fae022
). ( #4538 )
ago%!(EXTRA string=4 years)