fa516c3d76
MultiSelect: Demo: Make ExampleSelection use ImGuiID. More self-explanatory.
ocornut2023-08-28 17:36:59 +02:00
530155d85a
MultiSelect: Demo: Remove UserDataToIndex from ExampleSelectionAdapter.
ocornut2023-09-01 16:09:41 +02:00
8c1f659b3d
MultiSelect: Demo: rework ExampleSelection with an ExampleSelectionAdapter layer, allowing to share more code accross examples using different storage systems.
ocornut2023-08-23 15:53:20 +02:00
8fe6b31952
MultiSelect: (Breaking) Removed RangeSrcPassedBy in favor of favoring user to call IncludeByIndex(RangeSrcItem) which is easier/simpler to honor.
ocornut2023-08-23 20:45:02 +02:00
847b1dde8c
MultiSelect: (Breaking) Fix + Rename ImGuiMultiSelectFlags_NoMultiSelect to ImGuiMultiSelectFlags_SingleSelect as it seems easier to grasp.
ocornut2023-08-04 10:23:44 +02:00
9223ffc255
MultiSelect: (Breaking) BeginMultiSelect() doesn't need two last params maintained by users. Moving some storage from user to core. Proper deletion demo.
ocornut2023-06-02 14:34:22 +02:00
1ea9ca748c
MultiSelect: Remove the need for using IsItemToggledSelection(). Update comments.
ocornut2023-06-29 17:00:43 +02:00
6ef70a97fd
MultiSelect: Remove ImGuiMultiSelectFlags_NoUnselect because I currently can't find use for this specific design.
ocornut2023-06-08 15:03:24 +02:00
a39f9e7661
MultiSelect: Internals rename of IO fields to avoid ambiguity with io/rw concepts + memset constructors, tweaks.
ocornut2023-06-01 17:49:33 +02:00
c61ada200f
MultiSelect: Demo tweak. Removed multi-scope from Advanced (too messy), made it a seperate mini-demo.
ocornut2023-05-24 16:31:00 +02:00
35b5ebc9b5
MultiSelect: (Breaking) Rename ImGuiMultiSelectData to ImGuiMultiSelectIO.
ocornut2023-05-24 15:16:17 +02:00
11bcae1ebd
MultiSelect: refactor before introducing persistant state pool and to facilitate adding recursion + debug log calls.
ocornut2023-05-23 19:36:11 +02:00
85954c845e
MultiSelect: Enter can alter selection if current item is not selected.
ocornut2023-05-20 15:59:30 +02:00
d2f208a30c
MultiSelect: made SetNextItemSelectionData() optional to allow disjoint selection (e.g. with a CollapsingHeader between items). Amend demo.
ocornut2023-05-20 15:51:39 +02:00
815c61b82e
MultiSelect: Fixed needing to set RangeSrcPassedBy when not using clipper.
ocornut2023-04-12 22:14:32 +02:00
19086c1c48
MultiSelect: Added ImGuiMultiSelectFlags_ClearOnEscape (unsure of best design), expose IsFocused for custom shortcuts.
ocornut2023-04-11 17:59:06 +02:00
919cac1482
MultiSelect: Demo: Add a simpler version.
ocornut2023-04-11 17:38:23 +02:00
ad5d3c9bff
MultiSelect: Fixed issue with Ctrl+click on TreeNode + amend demo to test drag and drop.
ocornut2022-06-17 15:55:59 +02:00
b9721c1ed7
MultiSelect: Temporary fix/work-around for child/popup to not inherit MultiSelectEnabled flag, until we make mulit-select data stackable.
ocornut2020-08-20 20:46:57 +02:00
00c4b8f2a3
MultiSelect: Fix testing key mods from after the nav request (remove need to hold the mod longer)
omar2020-04-02 16:46:53 +02:00
3ba3f0d905
MultiSelect: Fix Selectable() ambiguous return value, clarify need to use IsItemToggledSelection().
omar2020-04-01 20:34:30 +02:00
57da88093f
MultiSelect: Added IMGUI_HAS_MULTI_SELECT define. Fixed right-click toggling selection without clearing active id, could lead to MarkItemEdited() asserting. Fixed demo.
omar2019-04-15 19:13:36 +02:00
8947c35fa1
MultiSelect: Removed SelectableSpacing as I'm not sure it is of use for now (history insert)
ocornut2020-12-09 19:36:04 +01:00
554db6bc0f
MultiSelect: WIP range-select (#1861) (rebased six millions times)
omar2019-02-01 12:22:57 +01:00
c2d21ab04f
Backends: SDL3: Update for API changes: SDL_GetClipboardText() string ownership change. (#7801)
ocornut2024-07-18 14:02:17 +02:00
0e4dcfa552
Obsoleted PushTabStop()/PopTabStop() in favor of using new PushItemFlag()/PopItemFlag() with ImGuiItemFlags_NoTabStop.
ocornut2024-07-15 18:41:06 +02:00
b4ca869c40
(Breaking) Obsoleted PushButtonRepeat()/PopButtonRepeat() in favor of using new PushItemFlag()/PopItemFlag() with ImGuiItemFlags_ButtonRepeat.
ocornut2024-07-15 17:46:32 +02:00
46691d172e
Demo: Reworked "Property Editor" demo in a manner that more ressemble the tree data and struct description data that a real application would want to use.
ocornut2024-07-15 17:12:11 +02:00
bc9e5b62b6
Added ImGuiDataType_Bool for convenience.
ocornut2024-07-15 16:49:35 +02:00
9c2f6003e4
Backends: SDL3: fixed typo leading to PlatformHandleRaw not being set leading to SHOWNA path not working for multi-viewports.
ocornut2024-07-15 11:17:21 +02:00
df3a74389e
Backends: SDL3: Update for API changes: SDL_GetProperty() change to SDL_GetPointerProperty(). (#7794)
wermiandocornut2024-07-15 04:34:44 +02:00
dadf9cd039
IO: disable default io.PlatformOpenInShellFn() implementation on iPhone, as compiler errors that system() is not available on iOS.
ocornut2024-07-02 16:23:46 +02:00
43925b9fa4
Build fix for non Windows platforms.
ocornut2024-07-02 16:10:54 +02:00
ddd4c9d6b9
Commented out obsolete ImGuiModFlags and ImGuiModFlags_XXX values (renamed to ImGuiKeyChord and ImGuiMod_XXX in 1.89). (#4921, #456)
ocornut2024-07-02 16:01:05 +02:00
fb799bba7f
(Breaking) IO, IME: renamed platform IME hook io.SetPlatformImeDataFn() -> io.PlatformSetImeDataFn() and added explicit context.
ocornut2024-07-02 15:48:32 +02:00
8f36798035
IO: added io.PlatformOpenInShellFn handler to open a link/folder/file in OS shell, added IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS. (#7660)
ocornut2024-07-02 15:36:08 +02:00
0250dc903e
Demo: changed style editor inline block to its own window.
ocornut2024-07-02 14:38:44 +02:00
ae708e3bcd
Backends: SDL3: add default case to fix warnings. (#7763)
ocornut2024-07-02 12:12:25 +02:00