ocornut
20e46d4180
RangeSelect/MultiSelect: Demo tweak. Removed multi-scope from Advanced (too messy), made it a seperate mini-demo.
ago%!(EXTRA string=12 months)
ocornut
507790eeaa
RangeSelect/MultiSelect: (Breaking) Rename ImGuiMultiSelectData to ImGuiMultiSelectIO.
ago%!(EXTRA string=12 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=12 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=12 months)
ocornut
ebbca15bde
RangeSelect/MultiSelect: Enter can alter selection if current item is not selected.
ago%!(EXTRA string=12 months)
ocornut
94adf6b2ba
RangeSelect/MultiSelect: made SetNextItemSelectionData() optional to allow disjoint selection (e.g. with a CollapsingHeader between items). Amend demo.
ago%!(EXTRA string=12 months)
ocornut
85a7202129
RangeSelect/MultiSelect: Fixed needing to set RangeSrcPassedBy when not using clipper.
ago%!(EXTRA string=12 months)
ocornut
aca7304ab5
RangeSelect/MultiSelect: Shallow tweaks/refactors.
...
Including moving IsFocused back internally for now.
ago%!(EXTRA string=12 months)
ocornut
72e5526676
RangeSelect/MultiSelect: Enter doesn't alter selection (unlike Space).
...
Fix for changes done in 5606.
ago%!(EXTRA string=12 months)
ocornut
7762093e40
RangeSelect/MultiSelect: Added ImGuiMultiSelectFlags_ClearOnClickWindowVoid. + Demo: showcase multiple selection scopes in same window.
ago%!(EXTRA string=12 months)
ocornut
e401194989
RangeSelect/MultiSelect: Demo: Added pointer indirection and indent level.
...
This is to reduce noise for upcoming commits, ahead of adding a loop here.
ago%!(EXTRA string=12 months)
ocornut
b08f438669
RangeSelect/MultiSelect: Added ImGuiMultiSelectFlags_ClearOnEscape (unsure of best design), expose IsFocused for custom shortcuts.
ago%!(EXTRA string=12 months)
ocornut
3e91dc82a0
RangeSelect/MultiSelect: Demo: Add a simpler version.
ago%!(EXTRA string=12 months)
ocornut
3953aae1ec
RangeSelect/MultiSelect: Fixed issue with Ctrl+click on TreeNode + amend demo to test drag and drop.
ago%!(EXTRA string=12 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=12 months)
omar
25f49eaf42
RangeSelect/MultiSelect: Fix testing key mods from after the nav request (remove need to hold the mod longer)
ago%!(EXTRA string=12 months)
omar
b295efc68f
RangeSelect/MultiSelect: Fix Selectable() ambiguous return value, clarify need to use IsItemToggledSelection().
ago%!(EXTRA string=12 months)
omar
4b78376f45
RangeSelect/MultiSelect: Comments. Tweak demo.
ago%!(EXTRA string=12 months)
omar
09e193bc13
RangeSelect/MultiSelect: Fixed CTRL+A not testing focus scope id. Fixed CTRL+A not testing active id. Added demo code.
...
Comments.
ago%!(EXTRA string=12 months)
ocornut
99b033666e
RangeSelect/MultiSelect: Fix for TreeNode following merge of 011d4755
. Demo: basic test for tree nodes.
ago%!(EXTRA string=12 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=12 months)
omar
ef3c860ae3
RangeSelect/MultiSelect: Renamed SetNextItemMultiSelectData() to SetNextItemSelectionData()
ago%!(EXTRA string=12 months)
omar
ad31d369c3
RangeSelect/MultiSelect: Demo sharing selection helper code. Fixed static analyzer warnings.
ago%!(EXTRA string=12 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=12 months)
ocornut
1480619c41
RangeSelect/MultiSelect: Removed SelectableSpacing as I'm not sure it is of use for now (history insert)
ago%!(EXTRA string=12 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=12 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=12 months)
ocornut
22d65c7949
Removed old nested structure: renaming ImGuiStorage::ImGuiStoragePair type to ImGuiStoragePair (simpler for many languages).
ago%!(EXTRA string=12 months)
ocornut
7538ca6f40
Examples: SDL+Vulkan: handle swap chain resize even without Vulkan returning VK_SUBOPTIMAL_KHR ( #7671 )
ago%!(EXTRA string=12 months)
ocornut
a47bfb1b5b
Examples: GLFW+Vulkan: handle swap chain resize even without Vulkan returning VK_SUBOPTIMAL_KHR ( #7671 )
ago%!(EXTRA string=12 months)
ocornut
d46a0aa069
Internals: renamed HoveredIdDisabled to HoveredIdIsDisabled for consistency.
ago%!(EXTRA string=12 months)
ocornut
7260bb51cf
Version 1.90.9 WIP
ago%!(EXTRA string=12 months)
ocornut
6f7b5d0ee2
Version 1.90.8
ago%!(EXTRA string=12 months)
ocornut
67d886fd63
Removed ImGuiButtonFlags_MouseButtonDefault_.
ago%!(EXTRA string=12 months)
ocornut
2a418f054d
InputText: reordered all flags. (ABI breaking)
ago%!(EXTRA string=12 months)
ocornut
f1eaf8d7c0
Internals: added SetNextItemRefVal(). ( #7305 )
ago%!(EXTRA string=12 months)
ocornut
47db0698d2
InputScalar, InputInt, InputFloat: added ImGuiInputTextFlags_ParseEmptyRefVal, ImGuiInputTextFlags_DisplayEmptyRefVal. ( #7305 )
ago%!(EXTRA string=12 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=12 months)
ocornut
0561d708ba
Modals, Popups: fixed an issue preventing to close a popup opened over a modal by clicking over void. ( #7654 )
ago%!(EXTRA string=12 months)
Kenneth Rapp
219c6adc58
Examples: SDL3+SDLRenderer3: Update SDL_SetRenderDrawColorFloat() call. ( #7658 )
ago%!(EXTRA string=12 months)
jungnitz
b95b2b4574
Fixed (harmless) incorrect order of arguments in IsKeyChordPressed ( #7657 )
ago%!(EXTRA string=12 months)
korenkonder
209edcc247
Fixed incorrect order of arguments in IsMouseClicked(). ( #7657 , #456 )
...
Amend 85513de24
ago%!(EXTRA string=12 months)
ocornut
a31aa683ff
Tables: fixed an issue where ideal size reported to parent container wouldn't correctly take account of inner scrollbar. ( #7651 )
ago%!(EXTRA string=12 months)
ocornut
f8de9fec8c
Backends: SDL3: Update for SDL_SYSTEM_CURSOR_xxx api renames. ( #7653 )
ago%!(EXTRA string=12 months)
ocornut
68a05e3f04
Tables: fixed a bug where after disabling the ScrollY flag for a table, previous scrollbar width would be accounted for. ( #5920 )
...
Amend 317b33d6
ago%!(EXTRA string=12 months)
ocornut
6cefd4fd88
Scrollbar: fixed miscalculation of vertical scrollbar visibility when required solely by the presence of an horizontal scrollbar. ( #1574 )
...
Initially fixed by 2d9d7a10c
, and broken back by a0994d74c2
(v1.71, wow).
ago%!(EXTRA string=12 months)
SleekZ
8ab8965713
Improved clarity in comment. ( #7642 )
ago%!(EXTRA string=1 year)
ocornut
9aec6d7217
Internals: Added ItemUnclipByLog for use by ItemAdd(), as we expected to add more.
ago%!(EXTRA string=1 year)
ocornut
0fce21e890
Internals: Disable 0xCC stack fill for ItemAdd()/ItemSize().
ago%!(EXTRA string=1 year)
ocornut
854e21d4b4
Disabled: move field to ImGuiWindowStackData. ( #7640 )
...
Amend f953ebf
ago%!(EXTRA string=1 year)