omar
bf778ebb7e
Checkbox: Using checkmark. MenuItem: Tweaked checkmark, thicker.
ago%!(EXTRA string=8 years)
omar
78a85ba3fe
Begin: Work toward obsoleting the 5-arguments Begin() overload. Internal BeginEx() becomes the normal public Begin() again! (4)
ago%!(EXTRA string=8 years)
omar
2739b6ebcd
Begin: Work toward obsoleting the 5-arguments Begin() overload. Removed bg_alpha from internal BeginEx(). (3)
ago%!(EXTRA string=8 years)
omar
4aa9d2089d
Begin: Work toward obsoleting the 5-arguments Begin() overload. Removed size_on_first_use from internal BeginEx(). (2)
ago%!(EXTRA string=8 years)
omar
55d873875e
Begin: Work toward obsoleting the 5-arguments Begin() overload. (1)
ago%!(EXTRA string=8 years)
omar
d761825cfb
Nav: Renaming a field + Comments.
ago%!(EXTRA string=8 years)
omar
c42baf392a
Reluctantly exposed GetActiveID(), GetHoveredID() in imgui_internal because the demo code will need it.
ago%!(EXTRA string=8 years)
omar
f852b9a52a
Exposed Scrollbar() in imgui_internal.h and removed a bool arg
ago%!(EXTRA string=8 years)
omar
b667d5a9e7
Nav: Internals: Renamed ImGuiButtonFlags_NoNavOverride to ImGuiButtonFlags_NoNavFocus + fixed a theorically missing test in ButtonBehavior() ( #787 )
ago%!(EXTRA string=8 years)
omar
0371219222
Nav: Internals: Renamed SetActiveIDNoNav -> SetActiveID() and old SetActiveID() -> SetFocusID(), both functions needs to be called when both are desirabled. ( #787 )
...
May break code relying on imgui_internal.h, relying on nav and not calling ButtonBehavior().
ago%!(EXTRA string=8 years)
omar
4be967823f
Exposed Scrollbar() in imgui_internal.h and removed a bool arg
ago%!(EXTRA string=8 years)
omar
7a14d7dfdc
Nav: More consistently drawing a (thin) navigation rectangle hover filled frames such as tree nodes, collapsing header, menus. ( #787 )
ago%!(EXTRA string=8 years)
omar
69dd895358
Nav: Renaming NavInitDefaultRequest -> NavInitRequest
ago%!(EXTRA string=8 years)
omar
d2975115cd
Nav: Caching into g.NavAnyRequest to minimize hot path cost (and so we can add many more request sources)
ago%!(EXTRA string=8 years)
omar
c3105919ba
Nav: Minor tweaks also toward removing processing from ItemAdd()
ago%!(EXTRA string=8 years)
omar
042153d254
Internal: ItemAdd(), IsClippedEx(): removed unnecessary indirection for ID parameter
ago%!(EXTRA string=8 years)
omar
59c6f35bf6
Added ActivateItem(), GetItemID() functions.
ago%!(EXTRA string=8 years)
omar
80c4e2fe7b
Nav: Tidying up activation mechanism so that setting NavActivateId can trigger buttons.
ago%!(EXTRA string=8 years)
omar
2f27b733be
Nav: Fixed uninitialized context variables for sanity.
ago%!(EXTRA string=8 years)
omar
f2c9bd8d4f
Nav: Fixed uninitialized context variables for sanity.
ago%!(EXTRA string=8 years)
omar
f326fac64a
Nav: Menus and popups now have move request wrap around vertically (using the move request forward thing added recently). ( #787 )
ago%!(EXTRA string=8 years)
omar
42ee537be3
Comments
ago%!(EXTRA string=8 years)
omar
a56b71e866
Nav: Added code to render thin highlight type. ( #787 )
ago%!(EXTRA string=8 years)
omar
64a51327d3
Nav: Added NavMoveResultParentId internal info to record when the parent/context of a given NavId. Useful for various algorithms (currently looking at range selection stuff) ( #787 )
ago%!(EXTRA string=8 years)
omar
74da533c93
Nav: Added NavJustNavigatedId internal info to record when we land on a given item after a navigation request, useful for various algorithms (currently looking at range selection stuff) ( #787 )
ago%!(EXTRA string=8 years)
omar
88a354585a
Nav: It's now possible to navigate sibling of a menu-bar while navigating inside one of their child. If a Left<>Right navigation request fails to find a match we forward the request to the root menu. ( #787 , #126 )
...
Currently the sibling menu is isn't automatically opened, that's still left to it (and even that can be anoying in Windows when the first menu-item is a child menu)
ago%!(EXTRA string=8 years)
omar
587e637db0
Nav: Taking note that we should aim to remove MenuBarAppending later.
ago%!(EXTRA string=8 years)
omar
1eaa9d0621
Nav: Fixed uninitialized variable (that had no side-effects due to the code/data flow involved)
ago%!(EXTRA string=8 years)
omar
8a5a29f0be
Nav: Renamed internal field.
ago%!(EXTRA string=8 years)
omar
9712a81f85
Nav: Rectangle rectangle stored per window and per layer as well. Makes things simpler, allows enable us to visualize more data.
ago%!(EXTRA string=8 years)
omar
9737efb2f1
Nav: Store per-window last nav id also per-layer so we can easily query them for menu navigation code. ( #787 )
ago%!(EXTRA string=8 years)
omar
30b1d85962
Nav: Commiting some better organized Debug helper because this going to stay for a bit.
ago%!(EXTRA string=8 years)
omar
164f22d5b7
Comments
ago%!(EXTRA string=8 years)
omar
df366b230e
ColorPicker4: Use nav flag to provide a slighly better experience when using navigation ( #787 , #346 )
ago%!(EXTRA string=8 years)
omar
2d859dee4e
Nav: Added ImGuiItemFlags_NoNav item flag
ago%!(EXTRA string=8 years)
omar
4b4e455c40
Nav: Internal nenaming
ago%!(EXTRA string=8 years)
omar
50ba543743
Comments
ago%!(EXTRA string=8 years)
omar
e0a2a832cd
Nav: Changed internal flag to NoNavDefaultFocus to be false by allow, and more consistent ( #787 )
ago%!(EXTRA string=8 years)
omar
926c1cf9a4
Merged from Navigation branch: ImGuiItemFlags_SelectableDontClosePopup flag
ago%!(EXTRA string=8 years)
omar
f99348711b
Added VerticalSeparator() entry point in imgui_internal. Seperator() in an horizontal layout context still does that.
ago%!(EXTRA string=8 years)
omar
0106dcbd02
Fixed IsItemHovered() - part of the processing has to be done in ItemAdd() because the widget may alter clipping rectangle temporarily.
ago%!(EXTRA string=8 years)
omar
fafe65a8fc
Refactor to move the responsability of SetHovered() to ItemHoverable() - previously IsHovered(). Simpler and the parallel to ItemAdd is clearer with the new name.
ago%!(EXTRA string=8 years)
omar
7bcb1d3816
Internals: ButtonBehavior(), IsHovered() moved the responsability of flatten_child higher level to ButtonBehavior() - not super sure about the elegance of this
ago%!(EXTRA string=8 years)
omar
0adcddac39
IsItemHovered(), ItemAdd(): finishing cleaning up, moved the code to IsItemHovered() so ItemAdd() is more lightweight and the two IsXXXHovered functions are now very similar, making their differences less confusing.
ago%!(EXTRA string=8 years)
omar
99c7622a1b
ItemAdd(), not performing computation for IsItemRectHovered() which does them itself, allowing us in the next commit to optimize ItemAdd() and make its logic more consistent with IsHovered().
ago%!(EXTRA string=8 years)
omar
8374a454da
Removed extraneous ImGui:: prefixes. Declared ColorEditOptionsPopup in imgui_internals.h. Tweaked internal signatures.
ago%!(EXTRA string=8 years)
omar
072d6d8cb5
ImFontAtlas: Refactored internals API to 1) avoid building lookup table multiple times for merged fonts + 2) allow the mapping of custom icons inside fonts (wip, uncommited)
ago%!(EXTRA string=8 years)
omar
be03882a15
Separator(): output vertical separator when used in horizontal layout mode, so it works in menu bars.
ago%!(EXTRA string=8 years)
omar
69d0d33451
Exposed PushMultiItemsWidths() to imgui_internal.h
ago%!(EXTRA string=8 years)
omar
0d56140b4a
BeginCombo(): rework internals a little to make it easier to provide custom combo-like elements relying in BeginCombo().
...
BeginPopupEx() doesn't enforce AlwaysAutoResize flag anymore.
ago%!(EXTRA string=8 years)