8358 Commits (cfae5ac71b903d8b5d04cce8f6329765e64af185)
 

Author SHA1 Message Date
ocornut 7d4de84ee3 MultiSelect: added courtesy ImGuiMultiSelectFlags_NavWrapX flag so we can demo this until a nav api is designed. 4 months ago
ocornut d411c9054a MultiSelect: minor tidying up. 4 months ago
ocornut 3f34c83bc6 MultiSelect: added ImGuiMultiSelectFlags_NoAutoClearOnReselect + tweak flags comments. (#7424) 4 months ago
ocornut 529c73ba21 MultiSelect: Shift+Tab doesn't enable Shift select on landing item. 4 months ago
ocornut a8a1f29512 MultiSelect: (breaking) renamed ImGuiMultiSelectFlags_BoxSelect -> ImGuiMultiSelectFlags_BoxSelect2d. Which include not assuming one flag imply the other. 4 months ago
ocornut c52346850d MultiSelect: ImGuiSelectionBasicStorage: added PreserveOrder, maintain implicit order data in storage. 4 months ago
ocornut df664329cb MultiSelect: provide RangeDirection to allow selection handler to handler backward shift+click. 4 months ago
ocornut 3ac367ff41 MultiSelect: ImGuiSelectionBasicStorage: (breaking) rework GetNextSelectedItem() api to avoid ambiguity/failure when user uses a zero id. 4 months ago
ocornut f472f17054 Demo: Assets Browser: added a way to disable sorting and hide sorting options. 5 months ago
ocornut c07864f64a MultiSelect: ImGuiSelectionBasicStorage: move function bodies to cpp file. 5 months ago
ocornut 2af3b2ac81 MultiSelect: ImGuiSelectionBasicStorage: simplify by removing compacting code (compacting may be opt-in?). 5 months ago
ocornut e61612a687 MultiSelect: ImGuiSelectionBasicStorage: rework to accept massive selections requests without flinching. 5 months ago
ocornut e1fd25051e MultiSelect: ImGuiSelectionBasicStorage: added GetNextSelectedItem() to abstract selection storage from user. Amend Assets Browser demo to handle drag and drop correctly. 5 months ago
ocornut c3d7aa252b MultiSelect: comments, header tweaks., simplication (some of it on wiki). 5 months ago
ocornut db4898cb91 MultiSelect: added ImGuiSelectionExternalStorage helper. Simplify bool demo. 5 months ago
ocornut f9caf4447a MultiSelect: fixed ImGuiSelectionBasicStorage::Swap() helper. 5 months ago
ocornut c94cf6f01f MultiSelect: added ImGuiSelectionBasicStorage::GetStorageIdFromIndex() indirection to be easier on the reader. 5 months ago
ocornut ab995d3d4f MultiSelect: (breaking) Added 'items_count' parameter to BeginMultiSelect(). Will enable extra features, and remove equivalent param from ImGuiSelectionBasicStorage::ApplyRequests(. 5 months ago
ocornut 443b034895 MultiSelect: mark parent child window as navigable into, with highlight. Assume user will always submit interactive items. 5 months ago
ocornut f6b5caf82c MultiSelect: (breaking) renamed ImGuiMultiSelectFlags_BoxSelect -> ImGuiMultiSelectFlags_BoxSelect1d, ImGuiMultiSelectFlags_BoxSelect2d -> ImGuiMultiSelectFlags_BoxSelect. 5 months ago
ocornut 7bbbbea200 MultiSelect: Box-Select: fixes for checkboxes support. Comments. 5 months ago
ocornut 2f56df4839 MultiSelect: (breaking) renamed ImGuiSelectionBasicStorage::AdapterData to UserData. 5 months ago
ocornut 1113f13f83 MultiSelect: Box-Select: fixed "when dragging from void" implementation messing with calling BeginMultiSelect() without a selection size. 5 months ago
ocornut 81548cb6bf MultiSelect: added GetMultiSelectState() + store LastSelectionSize as provided by user, convenient for quick debugging and testing. 5 months ago
ocornut dc0a1682e3 MultiSelect: Box-Select: when dragging from void, first hit item sets NavId by simulating a press, so navigation can resume from that spot. 5 months ago
ocornut 65ebc0513b MultiSelect: Box-Select: minor refactor, tidying up. 5 months ago
ocornut 9435a3185a RangeSelect/MultiSelect: (Breaking) Added current_selection_size to BeginMultiSelect(). 11 months ago
ocornut 955210ae5b MultiSelect: Demo: use Shortcut(). 6 months ago
ocornut 0be238ec58 MultiSelect: Box-Select: fix preventing focus. amend determination of scope_hovered for decorated/non-child windows + avoid stealing NavId. (#7424) 7 months ago
ocornut e7a734f78d MultiSelect: added ImGuiMultiSelectFlags_NoAutoSelect, ImGuiMultiSelectFlags_NoAutoClear features + added Checkbox Demo 8 months ago
ocornut a639346fba MultiSelect: Demo: make various child windows resizable, with synched heights for the dual list box demo. 8 months ago
ocornut 2111e3597b MultiSelect: Comments + tweaked location for widgets to test ImGuiItemFlags_IsMultiSelect to avoid misleading into thinking doing it before ItemAdd() is necessary. 8 months ago
ocornut dbc67bbf23 MultiSelect: Simplified ImGuiSelectionBasicStorage by using a single SetItemSelected() entry point. 8 months ago
ocornut f36a03c317 MultiSelect: (Breaking) merge ImGuiSelectionRequestType_Clear and ImGuiSelectionRequestType_SelectAll into ImGuiSelectionRequestType_SetAll., rename ImGuiSelectionRequest::RangeSelected to Selected. 8 months ago
ocornut b13a78e6b2 MultiSelect: Fixed ImGuiMultiSelectFlags_SelectOnClickRelease over tree node arrow. 10 months ago
ocornut 9337151a01 MultiSelect: Box-Select: Fixed initial drag from not claiming hovered id, preventing window behind to move for a frame. 10 months ago
ocornut 3141d87ef8 MultiSelect: Box-Select: Fixed CTRL+drag from void clearing items. 10 months ago
ocornut 8312c75fef MultiSelect: Added ImGuiMultiSelectFlags_NoRangeSelect. Fixed ImGuiMultiSelectFlags_ScopeRect not querying proper window hover. 10 months ago
ocornut d439f590ab MultiSelect: Comments + Assets Browser : Tweak colors. 11 months ago
ocornut 6c4bf8e56e MultiSelect: Fixed ImGuiSelectionBasicStorage::ApplyRequests() incorrectly maintaining selection size on SelectAll. 11 months ago
ocornut f3d77d8e71 MultiSelect: Box-Select: Further refactor to extra mode code away from multi-select function into box-select funcitons. 11 months ago
ocornut 907268a430 MultiSelect: Box-Select: Fixed scrolling on high framerates. 11 months ago
ocornut 5d9de14493 MultiSelect: Box-Select: Refactor: Renames. 11 months ago
ocornut 75bac1aac6 MultiSelect: Box-Select: Refactor into its own structure, designed for single-instance but closer to being reusable outside Multi-Select. 11 months ago
ocornut 15391762dd MultiSelect: Box-Select: Added ImGuiMultiSelectFlags_BoxSelect2d support. Enabled in Asset Browser. Selectable() supports it. 11 months ago
ocornut 1ac469b50f MultiSelect: Box-Select: Fixed holes when using with clipper (in 1D list.) 11 months ago
ocornut 7546a2d345 MultiSelect: Demo: Assets Browser: track scrolling target so we can roughly land on hovered item. 11 months ago
ocornut 750e23998f MultiSelect: Demo: Assets Browser: added deletion support. Store ID in selection. Moved QueueDeletion to local var to emphasis that this is a user extension. 11 months ago
ocornut 51fe0bfcf6 MultiSelect: reworked comments in imgui.h now that we have our own section. 11 months ago
ocornut 0f633c1d99 MultiSelect: move demo's ExampleSelection to main api as a convenient ImGuiSelectionBasicStorage for basic users. 11 months ago