ocornut
6f9d36c6f2
RangeSelect/MultiSelect: move shared logic to MultiSelectItemHeader().
...
No logic change AFAIK but added an indent level in MultiSelectItemHeader(). Logic changes will come in next commit.
ago%!(EXTRA string=11 months)
ocornut
157efbb7ad
RangeSelect/MultiSelect: (Breaking) Removed RangeSrcPassedBy in favor of favoring user to call IncludeByIndex(RangeSrcItem) which is easier/simpler to honor.
...
Especially as recent changes made it required to also update RangeSrcPassedBy after last clipper Step.
Should now be simpler.
ago%!(EXTRA string=11 months)
ocornut
4db4912d35
RangeSelect/MultiSelect: clear selection when leaving a scope with a nav directional request.
...
May need to clarify how to depends on actions being performed (e.g. click doesn't).
May become optional?
ago%!(EXTRA string=11 months)
ocornut
9b778ae71e
RangeSelect/MultiSelect: move HasSelectionData to ImGuiItemFlags to facilitate copying around in standardized fieds.
...
Required/motivated to simplify support for ImGuiTreeNodeFlags_NavLeftJumpsBackHere (bc3c0ce
) in this branch.
ago%!(EXTRA string=11 months)
ocornut
d0f6c7a9ce
RangeSelect/MultiSelect: (Breaking) Use ImGuiSelectionUserData (= ImS64) instead of void* for selection user data.
...
Less confusing for most users, less casting.
ago%!(EXTRA string=11 months)
ocornut
3d962dd5a5
RangeSelect/MultiSelect: Further simplication of user code to support Deletion.
...
Provide standard RequestFocusItem storage.
ago%!(EXTRA string=11 months)
ocornut
a1d829eaf7
RangeSelect/MultiSelect: Maintain NavIdSelected for user. Simplify deletion demo.
ago%!(EXTRA string=11 months)
ocornut
1392cd3b9d
RangeSelect/MultiSelect: (Breaking) BeginMultiSelect() doesn't need two last params maintained by users. Moving some storage from user to core. Proper deletion demo.
ago%!(EXTRA string=11 months)
ocornut
8790b8136d
RangeSelect/MultiSelect: (Breaking) Renamed 'RangeSrc -> 'RangeSrcItem', "RangeDst' -> 'RangeDstItem'
...
This is necessary to have consistent names in upcoming fields (NavIdItem etc.)
ago%!(EXTRA string=11 months)
ocornut
de974955e6
RangeSelect/MultiSelect: Internals rename of IO fields to avoid ambiguity with io/rw concepts + memset constructors, tweaks.
...
debug
ago%!(EXTRA string=11 months)
ocornut
507790eeaa
RangeSelect/MultiSelect: (Breaking) Rename ImGuiMultiSelectData to ImGuiMultiSelectIO.
ago%!(EXTRA string=11 months)
ocornut
826b23fa5f
RangeSelect/MultiSelect: refactor before introducing persistant state pool and to facilitate adding recursion + debug log calls.
...
This is mostly the noisy/shallow stuff committed here, to get this out of the way.
ago%!(EXTRA string=11 months)
ocornut
7c81fc8bab
RangeSelect/MultiSelect: removed DragDropActive/preserve_existing_selection logic which seems unused + comments.
...
Can't find trace of early prototype for range-select but I couldn't find way to trigger this anymore. May be wrong. Will find out.
ago%!(EXTRA string=11 months)
ocornut
aca7304ab5
RangeSelect/MultiSelect: Shallow tweaks/refactors.
...
Including moving IsFocused back internally for now.
ago%!(EXTRA string=11 months)
ocornut
7762093e40
RangeSelect/MultiSelect: Added ImGuiMultiSelectFlags_ClearOnClickWindowVoid. + Demo: showcase multiple selection scopes in same window.
ago%!(EXTRA string=11 months)
ocornut
3e91dc82a0
RangeSelect/MultiSelect: Demo: Add a simpler version.
ago%!(EXTRA string=11 months)
ocornut
21b2691e55
RangeSelect/MultiSelect: Temporary fix/work-around for child/popup to not inherit MultiSelectEnabled flag, until we make mulit-select data stackable.
ago%!(EXTRA string=11 months)
omar
25f49eaf42
RangeSelect/MultiSelect: Fix testing key mods from after the nav request (remove need to hold the mod longer)
ago%!(EXTRA string=11 months)
omar
5528bc2369
RangeSelect/MultiSelect: Transition to use FocusScope bits merged in master.
...
Preserve ability to shift+arrow into an item that is part of FocusScope but doesn't carry a selection without breaking selection.
ago%!(EXTRA string=11 months)
omar
ef3c860ae3
RangeSelect/MultiSelect: Renamed SetNextItemMultiSelectData() to SetNextItemSelectionData()
ago%!(EXTRA string=11 months)
omar
4e5d65bc07
RangeSelect/MultiSelect: Added IMGUI_HAS_MULTI_SELECT define. Fixed right-click toggling selection without clearing active id, could lead to MarkItemEdited() asserting. Fixed demo.
ago%!(EXTRA string=11 months)
omar
e8ae391bc4
RangeSelect/MultiSelect: WIP range-select (ref 1861) [rebased]
...
Internals: Rename ImGuiSelectableFlags_PressedOnXXX to ImGuiSelectableFlags_SelectOnXXX, ImGuiButtonFlags_NoHoveredOnNav to ImGuiButtonFlags_NoHoveredOnFocus.
Rebased 2023/05/20 (reworked demo locations), 2023/05/23 (rename some local to reduce noise in future commits)
Major rebase 2023/09/12 since master added ImGuiSelectionUserData + SetNextItemSelectionUserData() + add ImGuiItemFlags_IsMultiSelect.
ago%!(EXTRA string=11 months)
ocornut
8caf7afbad
Internals: made ImLowerBound() accessible in internals + take a span. + rearrange child/popup/tooltips section.
...
Because upcoming rework of ImGuiSelectionBasicStorage will want to do a lower bound on a span.
ago%!(EXTRA string=11 months)
ocornut
d46a0aa069
Internals: renamed HoveredIdDisabled to HoveredIdIsDisabled for consistency.
ago%!(EXTRA string=11 months)
ocornut
7260bb51cf
Version 1.90.9 WIP
ago%!(EXTRA string=11 months)
ocornut
6f7b5d0ee2
Version 1.90.8
ago%!(EXTRA string=11 months)
ocornut
f1eaf8d7c0
Internals: added SetNextItemRefVal(). ( #7305 )
ago%!(EXTRA string=11 months)
ocornut
47db0698d2
InputScalar, InputInt, InputFloat: added ImGuiInputTextFlags_ParseEmptyRefVal, ImGuiInputTextFlags_DisplayEmptyRefVal. ( #7305 )
ago%!(EXTRA string=11 months)
ocornut
3460014e05
Internals: avoid using bitfields in ImGuiNextItemData as it leads to extraneous packing. rename ImGuiDataTypeTempStorage to ImGuiDataTypeStorage. moved DataType section above Widgets.
ago%!(EXTRA string=11 months)
SleekZ
8ab8965713
Improved clarity in comment. ( #7642 )
ago%!(EXTRA string=11 months)
ocornut
9aec6d7217
Internals: Added ItemUnclipByLog for use by ItemAdd(), as we expected to add more.
ago%!(EXTRA string=11 months)
ocornut
854e21d4b4
Disabled: move field to ImGuiWindowStackData. ( #7640 )
...
Amend f953ebf
ago%!(EXTRA string=11 months)
ocornut
f953ebf9ca
Disabled: nested tooltips or other non-child window within a BeginDisabled() block disable the disabled state. ( #211 , #7640 )
ago%!(EXTRA string=11 months)
ocornut
868f444620
Debug: extracted debug log 0xXXXXXXX scanning into a helper function. ( #5855 )
ago%!(EXTRA string=11 months)
ocornut
51823d117d
Misc: made ImGuiDir, ImGuiSortDirection, ImGuiMouseCursor stronger-typed enums + cater for possible warning in backends's switch()
...
Not making ImGuiMouseCursor one because of warnings for non-explicitly handled value (case default: is not enough).
ago%!(EXTRA string=11 months)
ocornut
5cbc34a10c
Scrollbar: clicking above or below the grab scrolls by one page, holding mouse button repeats scrolling. ( #7328 , #150 )
...
Remove absolute seeking entirely. Amend f02108085
.
ago%!(EXTRA string=11 months)
ocornut
ed9eb880b5
Windows: Fixed altering FramePadding mid-frame not correctly affecting logic responsible for honoring io.ConfigWindowsMoveFromTitleBarOnly. ( #7576 , #899 )
...
Latching TitleBarHeight, MenuBarHeight in window.
ago%!(EXTRA string=11 months)
ocornut
1f9fc382c3
Version 1.90.8 WIP
...
Tidying up todo.txt
ago%!(EXTRA string=11 months)
ocornut
00ad3c65bc
Version 1.90.7
ago%!(EXTRA string=11 months)
ocornut
f814ef816f
Commented out CaptureKeyboardFromApp(), CaptureMouseFromApp(). Commented out obsolete IsKeyPressedMap() from imgui_internal.h (can call IsKeyPressed). Comments
ago%!(EXTRA string=11 months)
ocornut
86931393a3
Shortcuts: Revert "SetShortcutRouting: require explicit routing. ( #456 )
...
This reverts commit a689fa262a
.
ago%!(EXTRA string=11 months)
ocornut
ce4e210dcb
Shotcuts: renamed ImGuiInputFlags_RouteGlobalOverFocused -> ImGuiInputFlags_RouteOverFocused, ImGuiInputFlags_RouteGlobalOverActive -> ImGuiInputFlags_RouteOverActive in previsiion of using them with a Hovered route. ( #456 )
ago%!(EXTRA string=11 months)
ocornut
5ce3d29955
Shortcuts: rename ImGuiInputFlags_RouteGlobalHighest to ImGuiInputFlags_RouteGlobalOverActive, made ImGuiInputFlags_RouteGlobalOverFocused and ImGuiInputFlags_RouteGlobalOverActive flags. ( #456 )
ago%!(EXTRA string=11 months)
ocornut
650cb51bf1
Shortcuts: renamed ImGuiInputFlags_RouteActiveItem to ImGuiInputFlags_RouteActive. ( #456 , #7618 )
...
Amend ef9d525
ago%!(EXTRA string=11 months)
ocornut
ef9d525f02
Shortcuts: added ImGuiInputFlags_RouteActiveItem. ( #456 , #7618 ) + rearrange Changelog
ago%!(EXTRA string=11 months)
ocornut
7c71e66370
Shortcuts, SetShortcutRouting: move ImGuiInputFlags_RouteFromRootWindow evaluation to SetShortcutRouting() for now. ( #456 )
ago%!(EXTRA string=11 months)
ocornut
d5a600e9c6
Shortcuts, SetShortcutRouting: added ImGuiInputFlags_RouteFromRootWindow. Made it possible for SetShortcutRouting() to query for another location.
ago%!(EXTRA string=11 months)
ocornut
a689fa262a
SetShortcutRouting: require explicit routing. ( #456 )
ago%!(EXTRA string=11 months)
ocornut
c06e6340cd
Shortcuts: added ImGuiInputFlags_Tooltip. ( #456 )
ago%!(EXTRA string=11 months)
ocornut
77e4171894
Shortcuts: added flags to SetNextItemShortcut(). ( #456 )
ago%!(EXTRA string=11 months)