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)
ocornut
8dfb52245b
Docking: bits.
ago%!(EXTRA string=4 years)
ocornut
82754561e2
Nav: Fixed a few widgets from not setting reference keyboard/gamepad navigation ID when activated with mouse.
ago%!(EXTRA string=4 years)
ocornut
5d95e7eef9
Viewports: extracted DestroyViewport() out of UpdateViewportsNewFrame() function.
ago%!(EXTRA string=4 years)
ocornut
92a39f78b9
Fixed IsWindowFocused/IsWindowHovered with _ChildWindows for not following through popup parents (amend 6b1e094c
, fix #4527 )
ago%!(EXTRA string=4 years)
ocornut
17a7084b57
Menus: Fixed crash when navigating left inside a child window inside a sub-menu. ( #4510 ).
ago%!(EXTRA string=4 years)
ocornut
79d39b190b
Viewports: 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).
ago%!(EXTRA string=4 years)
ocornut
6b77668171
Viewports: Fixed a crash while a window owning its viewport disappear while being dragged.
...
t would manifest when e.g. reconfiguring dock nodes while dragging.
ago%!(EXTRA string=4 years)
ocornut
9a49c1ddbd
Viewports: fixed unnecessary creation of temporary viewports when multiple docked windows got reassigned to a new node (created mid-frame) which already has a HostWindow
ago%!(EXTRA string=4 years)
ocornut
6b1e094cfb
Fixed _ChildWindows from leaking docking hierarchy. Added ImGuiFocusedFlags_DockHierarchy and ImGuiHoveredFlags_DockHierarchy.
ago%!(EXTRA string=4 years)
ocornut
cfb837203c
Internals: refactored IsWindowHovered()/IsWindowFocused() to make their logic more similar + change underlying value of ImGuiHoveredFlags_AllowWhenBlockedByPopup + comment out docking only flags.
ago%!(EXTRA string=4 years)
ocornut
321b84f01f
Internals: refactored IsWindowHovered()/IsWindowFocused() to make their logic more similar + change underlying value of ImGuiHoveredFlags_AllowWhenBlockedByPopup + comment out docking only flags.
ago%!(EXTRA string=4 years)
ocornut
40caab4748
Fixed bad merge of Changelog in docking branch
ago%!(EXTRA string=4 years)
ocornut
fa9fc05ac6
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
ago%!(EXTRA string=4 years)
ocornut
d9b427cce0
Nav: clarified/renamed NavInputId as NavAcivateInputId, added flags shared by both.
...
(this commit should have no visible side effect but is designed to introduce the followup commit refactoring SetKeyboardFocusHere into using a Nav request)
ago%!(EXTRA string=4 years)
ocornut
755bf985d2
Backends: OpenGL3: Made our custom GL loader a bit more tolerant of use of another loader in same compilation unit. ( #4445 , #4514 )
ago%!(EXTRA string=4 years)
ocornut
607ad8c949
Drag and Drop: Fixed using BeginDragDropSource() within a Begin()/BeginChild() that returned false. ( #4515 ) + BeginDragDropTarget()
...
Note how 79ae6d3b
adedd a SkipItems test in BeginDragDropTargetCustom() only.
Catching this similar to work needed to neatly represent the error in #4375 #4158 , #4008 , #2562
ago%!(EXTRA string=4 years)
ocornut
bd6c9e99fc
InputText: Allow cancelling/validating input with gamepad nav events.
...
Amend 158995f2
(#2321 )
ago%!(EXTRA string=4 years)
ocornut
0a154b30ad
Nav, ButtonBehavior: reworked old code which ended up 1) calling SetActiveId repeately and 2) misleadingly set g.NavActivateId (amend af38749e
)
ago%!(EXTRA string=4 years)
ocornut
ade4c15eea
Nav: Tidying up, renaming + update AnyRequest flag in NavMoveRequestSubmit().
ago%!(EXTRA string=4 years)
ocornut
528104a89b
Menus: adjust closing logic to accomodate for varying font size and dpi + remove seemingly redundant use of g.NavActivateId where pressed was enough.
ago%!(EXTRA string=4 years)
ocornut
5ee40c8d34
Nav: always disable highlight if nav is disabled, fix for IMGUI_DEBUG_NAV_SCORING, minor renaming.
ago%!(EXTRA string=4 years)
ocornut
dff15acdb5
Nav: Fixed toggling menu layer with Alt exiting menu layer with Esc not moving mouse when NavEnableSetMousePos config flag is set.
ago%!(EXTRA string=4 years)
ocornut
3d9d3b49ae
Internals: folded ImGuiItemAddFlags into ImGuiItemFlags. ImGuiItemAddFlags_Focusable > ImGuiItemFlags_Inputable. One step in the big nav/tab/focus rework.
...
Bonus simplified Selectable() handling of its custom disabled flag. (#211 )
ago%!(EXTRA string=4 years)
ocornut
73a5e82e04
Nav: removed parameters from NavScoreItem(), NavProcessItem(), NavApplyItemToResult(): made little sense / misleading because pulling from other current state anyway.
...
Will readd in a more thorough manner is actually needed.
ago%!(EXTRA string=4 years)
ocornut
a735a8c084
Nav: storing NavRect in LastItemData. Fix race condition where framed items (Rect != NavRect) calling SetFocusID() would store the wrong NavRectRel until next frame
...
(haven't dugged in the possible side-effects of that race condition)
ago%!(EXTRA string=4 years)
ocornut
ee351d3548
Nav: move code into NavMoveRequestSubmit(). NavApplyItemToResult() takes absolute rect., comments
ago%!(EXTRA string=4 years)
ocornut
7b913db1ce
Nav: 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.
ago%!(EXTRA string=4 years)
ocornut
53589092b2
Docking: warning fix for when IM_ASSERT() is empty
ago%!(EXTRA string=4 years)
Filippo Crocchini
eb6c16d3dd
PlotHistogram: Fixed zero-line position when manually specifying min<0 and max>0. ( #4349 )
...
+ amended demo tweaks by ocornut
ago%!(EXTRA string=4 years)
Jackamilio
03ce17f0a5
Backends: Allegro: Fixed clipping rectangles ( #4498 ) broken by 2b0bd40b
( #4464 )
ago%!(EXTRA string=4 years)
ocornut
dedb381c51
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_opengl3.cpp
# examples/imgui_examples.sln
# imgui.cpp
# imgui.h
ago%!(EXTRA string=4 years)
ocornut
7c4ffe490d
Menus: added internal's BeginMenuEx() matching MenuItemEx() with icon parameter. (amend f8fae022
)
ago%!(EXTRA string=4 years)
ocornut
4aea1c5adb
IO: added io.WantCaptureMouseAllowPopupClose ( #4480 ) + comments
ago%!(EXTRA string=4 years)
ocornut
66102880a3
Updated links to Discussions
ago%!(EXTRA string=4 years)
ocornut
333807b483
Windows: fixed background order of overlapping childs submitted sequentially. ( #4493 )
...
Amend 07704496
ago%!(EXTRA string=4 years)
ocornut
11103f8253
Examples: SDL+OpenGL3: fixed build on ES2 target. ( #4492 )
ago%!(EXTRA string=4 years)
ocornut
0eb45a0577
Docking: fix 58f5092
( #4310 )
...
If we clear _ChildWindow flag we must remove it from here otherwise render loop will fail.
ago%!(EXTRA string=4 years)
ocornut
bb6a60b1ff
Nav: extracted sections of NavUpdate() into a NavUpdateCreateMoveRequest() function. Only clearing results when a request is activated.
ago%!(EXTRA string=4 years)