2289 Commits (0ce1418295c7e195e07b71e7b1b0d5e93737c063)

Author SHA1 Message Date
ocornut 0ce1418295 RangeSelect/MultiSelect: reworked comments in imgui.h now that we have our own section. ago%!(EXTRA string=11 months)
ocornut 4d4d30510b RangeSelect/MultiSelect: move demo's ExampleSelection to main api as a convenient ImGuiSelectionBasicStorage for basic users. ago%!(EXTRA string=11 months)
ocornut b066d839e8 RangeSelect/MultiSelect: remove ImGuiSelectionRequest/ImGuiMultiSelectIO details from public api to reduce confusion + comments. ago%!(EXTRA string=11 months)
ocornut 4a11a9b0b9 RangeSelect/MultiSelect: support for nested/stacked BeginMultiSelect(). ago%!(EXTRA string=11 months)
ocornut de8a6d0722 RangeSelect/MultiSelect: Box-Select: added scroll support. ago%!(EXTRA string=11 months)
ocornut b642c88a30 RangeSelect/MultiSelect: Box-Select: added support for ImGuiMultiSelectFlags_BoxSelect. ago%!(EXTRA string=11 months)
ocornut fd6d5d6703 RangeSelect/MultiSelect: (breaking) renamed ImGuiMultiSelectFlags_ClearOnClickWindowVoid -> ImGuiMultiSelectFlags_ClearOnClickVoid. Added ImGuiMultiSelectFlags_ScopeWindow, ImGuiMultiSelectFlags_ScopeRect. ago%!(EXTRA string=11 months)
ocornut a882002c0b RangeSelect/MultiSelect: (Breaking) io contains a ImVector<ImGuiSelectionRequest> list. ago%!(EXTRA string=11 months)
ocornut 0416519d80 RangeSelect/MultiSelect: clarified purpose and use of IsItemToggledSelection(). Added assert. Moved to multi-selection section of imgui.h. ago%!(EXTRA string=11 months)
ocornut 084fdc054f RangeSelect/MultiSelect: removed seemingly unnecessary block in BeginMultiSelect(). ago%!(EXTRA string=11 months)
ocornut c9d8068bbe RangeSelect/MultiSelect: Added ImGuiMultiSelectFlags_SelectOnClickRelease to allow dragging an unselected item without altering selection + update drag and drop demo. ago%!(EXTRA string=11 months)
ocornut 79b3439fda RangeSelect/MultiSelect: ImGuiMultiSelectIO's field are not used during loop anymore, stripping them out of comments. ago%!(EXTRA string=11 months)
ocornut 723973a8b3 RangeSelect/MultiSelect: Demo: Deletion: Rework ApplyDeletionPreLoop to use adapter + fix PostLoop not using right value of RequestFocusItem. 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. ago%!(EXTRA string=11 months)
ocornut d55eb33491 RangeSelect/MultiSelect: Demo: added simpler demo using Clipper. Clarify RangeSrcPassedBy doc. ago%!(EXTRA string=11 months)
ocornut f4644bce0e RangeSelect/MultiSelect: Demo: rework ExampleSelection names to map better to typical user code + variety of Comments tweaks. ago%!(EXTRA string=11 months)
ocornut e26dc83071 RangeSelect/MultiSelect: (Breaking) RequestSetRange's parameter are RangeFirstItem...RangeLastItem (which was always ordered unlike RangeSrcItem...RangeDstItme). Removed RangeDstItem. Removed RangeDirection. ago%!(EXTRA string=11 months)
ocornut d0f6c7a9ce RangeSelect/MultiSelect: (Breaking) Use ImGuiSelectionUserData (= ImS64) instead of void* for selection user data. ago%!(EXTRA string=11 months)
ocornut 27300e95e5 RangeSelect/MultiSelect: Comments, tweaks. ago%!(EXTRA string=11 months)
ocornut ec228c2c71 RangeSelect/MultiSelect: (Breaking) Fix + Rename ImGuiMultiSelectFlags_NoMultiSelect to ImGuiMultiSelectFlags_SingleSelect as it seems easier to grasp. ago%!(EXTRA string=11 months)
ocornut ecba972102 RangeSelect/MultiSelect: Cleanup unused comments/code. ago%!(EXTRA string=11 months)
ocornut 3d962dd5a5 RangeSelect/MultiSelect: Further simplication of user code to support Deletion. 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 59971d5aed RangeSelect/MultiSelect: Remove the need for using IsItemToggledSelection(). Update comments. ago%!(EXTRA string=11 months)
ocornut 107ea818de RangeSelect/MultiSelect: Remove ImGuiMultiSelectFlags_NoUnselect because I currently can't find use for this specific design. ago%!(EXTRA string=11 months)
ocornut 11a6d47b38 RangeSelect/MultiSelect: (Breaking) Renamed 'RangeValue' -> 'RangeSelected' + amend comments. ago%!(EXTRA string=11 months)
ocornut 8790b8136d RangeSelect/MultiSelect: (Breaking) Renamed 'RangeSrc -> 'RangeSrcItem', "RangeDst' -> 'RangeDstItem' ago%!(EXTRA string=11 months)
ocornut de974955e6 RangeSelect/MultiSelect: Internals rename of IO fields to avoid ambiguity with io/rw concepts + memset constructors, tweaks. 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. ago%!(EXTRA string=11 months)
ocornut 7c81fc8bab RangeSelect/MultiSelect: removed DragDropActive/preserve_existing_selection logic which seems unused + comments. ago%!(EXTRA string=11 months)
ocornut 94adf6b2ba RangeSelect/MultiSelect: made SetNextItemSelectionData() optional to allow disjoint selection (e.g. with a CollapsingHeader between items). Amend demo. ago%!(EXTRA string=11 months)
ocornut aca7304ab5 RangeSelect/MultiSelect: Shallow tweaks/refactors. 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 b08f438669 RangeSelect/MultiSelect: Added ImGuiMultiSelectFlags_ClearOnEscape (unsure of best design), expose IsFocused for custom shortcuts. ago%!(EXTRA string=11 months)
omar 4b78376f45 RangeSelect/MultiSelect: Comments. Tweak demo. ago%!(EXTRA string=11 months)
omar ef3c860ae3 RangeSelect/MultiSelect: Renamed SetNextItemMultiSelectData() to SetNextItemSelectionData() ago%!(EXTRA string=11 months)
omar ad31d369c3 RangeSelect/MultiSelect: Demo sharing selection helper code. Fixed static analyzer warnings. 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)
ocornut 1480619c41 RangeSelect/MultiSelect: Removed SelectableSpacing as I'm not sure it is of use for now (history insert) ago%!(EXTRA string=11 months)
omar e8ae391bc4 RangeSelect/MultiSelect: WIP range-select (ref 1861) [rebased] ago%!(EXTRA string=11 months)
ocornut 22d65c7949 Removed old nested structure: renaming ImGuiStorage::ImGuiStoragePair type to ImGuiStoragePair (simpler for many languages). 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 67d886fd63 Removed ImGuiButtonFlags_MouseButtonDefault_. ago%!(EXTRA string=11 months)
ocornut 2a418f054d InputText: reordered all flags. (ABI breaking) ago%!(EXTRA string=11 months)
ocornut 47db0698d2 InputScalar, InputInt, InputFloat: added ImGuiInputTextFlags_ParseEmptyRefVal, ImGuiInputTextFlags_DisplayEmptyRefVal. (#7305) ago%!(EXTRA string=11 months)
korenkonder 209edcc247 Fixed incorrect order of arguments in IsMouseClicked(). (#7657, #456) ago%!(EXTRA string=11 months)
ocornut 6cefd4fd88 Scrollbar: fixed miscalculation of vertical scrollbar visibility when required solely by the presence of an horizontal scrollbar. (#1574) ago%!(EXTRA string=11 months)