ocornut
3418d50949
Viewports: Fixes erroneous popup closure on closing a previous popup. ( #6462 , #6299 )
...
Avoid applying imgui-side focus when focus change is due to a viewport destruction.
ago%!(EXTRA string=2 years)
ocornut
7e03ae3240
Window: Fixed resizing from upper border when io.ConfigWindowsMoveFromTitleBarOnly is set. ( #6390 )
ago%!(EXTRA string=2 years)
ocornut
7947f327de
Demo: added casing swap demo to clarify use of ImGuiInputTextFlags_CallbackCharFilter. ( #6457 ) + Metrics: simplified some code.
ago%!(EXTRA string=2 years)
ocornut
47579f8a40
Nav: set NavJustMovedToXXX fields on NavInit result + BeginChild() clears ActiveId on N+1 on entering instead of waiting for ID to elapse on N+2.
...
# Conflicts:
# imgui_internal.h
ago%!(EXTRA string=2 years)
ocornut
45c8c3b611
Listbox: commented out obsolete/redirecting functions that were marked obsolete more than two years ago: ListBoxHeader(), ListBoxFooter().
...
+ Added default parameter to SeparatorEx() amend 2c558d5
ago%!(EXTRA string=2 years)
ocornut
e590b5114e
Viewports: Fixed loss of imgui-side focus when dragging a secondary viewport back in main viewport. ( #6299 )
...
Amend d2291df55
, 63370be0e
, dcb6335bfe
ago%!(EXTRA string=2 years)
GamingMinds-DanielC
e489e40a85
Clipper: Amend ecb0aaa
( #6424 , #3841 )
ago%!(EXTRA string=2 years)
ocornut
ecb0aaa7c2
Clipper: Renamed ForceDisplayRangeByIndices() to IncludeRangeByIndices(). ( #6424 , #3841 ) + commented out obsolete ImGuiListClipper() constructor.
ago%!(EXTRA string=2 years)
ocornut
a550263d6c
Misc: made ErrorCheckEndWindowRecover() handle font stack. ( #6431 , #1651 )
ago%!(EXTRA string=2 years)
ocornut
bcfc1ad8f6
Nav: Forwarded (wrap/loop) request don't mistakenly wreck reference pos.
...
Amend 6656553
ago%!(EXTRA string=2 years)
ocornut
430c05991c
Docs: added more detailed information about UTF-8 encoding.
...
+ Revert mistakenly committed Win32+DX11 main.cpp from last commit.
ago%!(EXTRA string=2 years)
ocornut
0397321be0
Debug Tools: Added 'io.ConfigDebugIgnoreFocusLoss' option. ( #4388 , #4921 )
ago%!(EXTRA string=2 years)
ocornut
6656553fa4
Nav: Record/restore preferred position on each given axis.
...
Tagging #6344 #6003 #2694 #1688 as it relates to scoring, however this doesn't technically fix any of them fully yet.
But e.g. once we restore axial path for #2694 this commit will allow going back and forth to initial location.
ago%!(EXTRA string=2 years)
ocornut
15da1a9abc
Fixed misleading local name ( #4493 ) + minor typo ( #6369 )
ago%!(EXTRA string=2 years)
ocornut
b47507951e
Nav: Fixed CTRL+Tab into a root window with only childs with _NavFlattened flags erroneously initializing default nav layer to menu layer.
ago%!(EXTRA string=2 years)
ocornut
eed7b0e9c5
Nav: remove other-axis clamping, now that columns themselves are clamped. ( #2221 )
...
Amend 00d3f92
+ older f2d14724
, 0cc20fca8
+ Add ImGuiNavMoveFlags_WrapMask_ for good measure.
ago%!(EXTRA string=2 years)
ocornut
da3d7e1587
Focus: added an early out in FocusWindow() for the common case.
ago%!(EXTRA string=2 years)
ocornut
d2291df551
Viewports: Fixed setting focus from platform decoration from accidentally closing modals ( #6299 , #6357 )
...
+ Fixed double-assignment static analyzer warning.
# Conflicts:
# imgui.cpp
ago%!(EXTRA string=2 years)
ocornut
4d42450a73
Focus: amend ImGuiFocusRequestFlags_UnlessBelowModal to bring to front-most below the modal, simplify code in Begin(). ( #6357 , #4317 )
ago%!(EXTRA string=2 years)
ocornut
01ca196530
Focus: move focused child restore code in FocusWindow() with ImGuiFocusRequestFlags_RestoreFocusedChild flag. ( #6357 )
...
# Conflicts:
# imgui.cpp
ago%!(EXTRA string=2 years)
ocornut
30eceaf95f
Focus: start moving modal check into FocusWindow(), add ImGuiFocusRequestFlags_UnlessBelowModal (currently opt-in, should try to make opt-out). ( #6357 , #4317 )
ago%!(EXTRA string=2 years)
ocornut
f0fe1957a8
Focus: merge extra param for FocusTopMostWindowUnderOne() from docking branch to facilitate merge.
ago%!(EXTRA string=2 years)
ocornut
ac38c8e6fe
IO: removed ImGuiBackendFlags_HasMouseHoveredViewport assert in AddMouseViewportEvent().
...
In theory shouldn't accept them, but a backend overriding another would be prevented from doing so because of this (test engine).
ago%!(EXTRA string=2 years)
ocornut
00d3f9295e
Nav: Fixed navigation within tables/columns where item boundaries goes beyond columns limits. ( #2221 )
ago%!(EXTRA string=2 years)
ocornut
8d9e50c807
Nav: fixed IMGUI_DEBUG_NAV_SCORING not setting NavMoveClipDir, leading to debug result not matching real results.
ago%!(EXTRA string=2 years)
ocornut
662ce46971
Debug Log: Fixed not parsing 0xXXXXXXXX values when the identifier is at the end of the line.
ago%!(EXTRA string=2 years)
ocornut
d6a7aca2f4
Nav: Debug: tweak debug facilities.
ago%!(EXTRA string=2 years)
ocornut
064153fca4
Version 1.89.6 WIP
ago%!(EXTRA string=2 years)
ocornut
1ebb913827
Version 1.89.5
ago%!(EXTRA string=2 years)
ocornut
995f92a456
Nav: Made PageUp/PageDown/Home/End navigation also scroll parent windows.
...
+ Added ImGuiDebugLogFlags_EventSelection unused in this branch.
ago%!(EXTRA string=2 years)
ocornut
18d72a9142
Inputs: added a unique event identifier in ImGuiInputEvent.
ago%!(EXTRA string=2 years)
Michael Martz
506f7e0074
Using nullptr in locations where warning disable is not convenient. ( #6313 , #4537 )
ago%!(EXTRA string=2 years)
ocornut
9203883bbe
Comments + Metal using SetTexID(0) for consistency.
ago%!(EXTRA string=2 years)
ocornut
8738ed88f0
Fixed FindWindowSettingsByID() being able to return a deleted setting.
ago%!(EXTRA string=2 years)
ocornut
63370be0e5
Viewports: fix/amend dcb6335
to (1) avoid refocusing when focus action was actionned from a click within imgui boundaries and (2) restore a null focus as well. ( #6299 )
ago%!(EXTRA string=2 years)
ocornut
1f0b46b93c
Viewports: moved Platform_GetWindowFocus queries in UpdateViewportsNewFrame(). Added ImGuiViewportFlags_IsFocused status flag. ( #1542 )
...
Not sure why queries were in UpdatePlatformWindows().
- initially added there on 2018/04/26 f1ae07e532
(squashed)
- slightly moved in cd51f37fc0
for the purpose of putting less constraint on backend but that check is now done on our side anyhow.
Seems more consistent to do it nxt to other polling in UpdateViewportsNewFrame().
Not using ImGuiViewportFlags_IsFocused yet.
ago%!(EXTRA string=2 years)
ocornut
ed72fcd12a
Viewports: Internal: rename LastFrontMostStampCount -> LastFocusedStampCount. Rename ImGuiViewportFlags_Minimized -> ImGuiViewportFlags_IsMinimized
...
Effectively it is currently the later, but see comment "Even without focus, we assume the window becomes front-most." in UpdatePlatformWindows().
+ Moved Window field at top since it is most useful.
ago%!(EXTRA string=2 years)
ocornut
dcb6335bfe
Viewports: Setting focus from Platform/OS sets corresponding focus at Dear ImGui level. ( #6299 )
ago%!(EXTRA string=2 years)
ocornut
c9fe7ebc7b
IO: Input queue trickling adjustment for touch screens. ( #2702 , #4921 )
...
+ amend two comments in imgui.h
ago%!(EXTRA string=2 years)
ocornut
a16f99c6a2
IO: Added io.AddMouseSourceEvent() and ImGuiMouseSource enum. ( #2702 , #2334 , #2372 , #3453 , #5693 )
ago%!(EXTRA string=2 years)
ocornut
13931fd851
Redirecting domain name
...
Tired of paying/maintaining two domains names and .org tend to be fluctuating + changing host company for sponsoring.
ago%!(EXTRA string=2 years)
ocornut
5f301914a0
TabBar: Tab-bars with ImGuiTabBarFlags_FittingPolicyScroll can be scrolled with horizontal mouse-wheel (or Shift + WheelY). ( #2702 )
ago%!(EXTRA string=2 years)
ocornut
84fd0c7ff4
Inputs, IO: record MouseWheelRequestAxisSwap information. Apply in UpdateMouseWheel() before legacy ctrl+wheel.
ago%!(EXTRA string=2 years)
ocornut
bf87fbcbcc
Docking: Fixed using GetItemXXX() or IsItemXXX() functions after a DockSpace(). ( #6217 )
ago%!(EXTRA string=2 years)
ocornut
89d09070e3
Nav: Made Ctrl+Tab/Ctrl+Shift+Tab windowing register ownership to held modifier. ( #4828 , #3255 , #5641 )
ago%!(EXTRA string=2 years)
ocornut
e55a0ef107
IO: avoid changing context in AddKeyAnalogEvent(). Amend 7269498
. ( #6199 , #6256 , #4921 , #5856 )
ago%!(EXTRA string=2 years)
cfillion
7269498ecc
IO: actually fixed adding events from inactive context ( #6199 , #6256 , #4921 , #5856 )
ago%!(EXTRA string=2 years)
ocornut
5a2b1e8482
InputText: Fixed a tricky edge case, ensuring value is always written back on the frame where IsItemDeactivated() returns true ( #4714 )
...
Altered ItemAdd() clipping rule to keep previous-frame ActiveId unclipped to support that late commit.
Also, MarkItemEdited() may in theory need to do:
if (g.ActiveIdPreviousFrame == id)
g.ActiveIdPreviousFrameHasBeenEditedBefore = true;
But this should already be set so not adding now.
ago%!(EXTRA string=2 years)
ocornut
314e6443c9
Internals: removed ImGuiInputSource_Nav enum,
...
Essentially finishing the work of removing Nav a dual input source (with e.g. removal of NavInput[]).
ago%!(EXTRA string=2 years)
ocornut
24a44b9abe
Version 1.89.5 WIP
ago%!(EXTRA string=2 years)