Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ocornut master (24/07) #4

Merged
merged 270 commits into from
Jul 24, 2024
Merged

Ocornut master (24/07) #4

merged 270 commits into from
Jul 24, 2024
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jun 6, 2024

  1. Version 1.90.8

    ocornut committed Jun 6, 2024
    Configuration menu
    Copy the full SHA
    6f7b5d0 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Version 1.90.9 WIP

    ocornut committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    7260bb5 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. Configuration menu
    Copy the full SHA
    d46a0aa View commit details
    Browse the repository at this point in the history
  2. Examples: GLFW+Vulkan: handle swap chain resize even without Vulkan r…

    …eturning VK_SUBOPTIMAL_KHR (ocornut#7671)
    ocornut committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    a47bfb1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7538ca6 View commit details
    Browse the repository at this point in the history
  4. Removed old nested structure: renaming ImGuiStorage::ImGuiStoragePair…

    … type to ImGuiStoragePair (simpler for many languages).
    ocornut committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    22d65c7 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. 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.
    ocornut committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    8caf7af View commit details
    Browse the repository at this point in the history
  2. IO: do not disable io.ConfigWindowsResizeFromEdges when ImGuiBackendF…

    …lags_HasMouseCursors is not set by backend.
    
    Amend 42bf149
    ocornut committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    b902fa4 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Style: (Breaking) renamed ImGuiCol_TabActive -> ImGuiCol_TabSelected,…

    … ImGuiCol_TabUnfocused -> ImGuiCol_TabDimmed, ImGuiCol_TabUnfocusedActive -> ImGuiCol_TabDimmedSelected.
    
    Amend ocornut#261, ocornut#351
    ocornut committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    1b9593e View commit details
    Browse the repository at this point in the history
  2. TabBar, Style: added ImGuiTabBarFlags_DrawSelectedOverline and ImGuiC…

    …ol_TabSelectedOverline, ImGuiCol_TabDimmedSelectedOverline.
    ocornut committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    21bda2e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    32a037c View commit details
    Browse the repository at this point in the history
  4. Drag and Drop: Fixes an issue when elapsing payload would be based on…

    … last payload frame instead of last drag source frame.
    ocornut committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    8c517fe View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. Internals: added ImGuiContext::ContextName optionally used by debug l…

    …og and to facilitate debugging.
    ocornut committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    37c243b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    413c056 View commit details
    Browse the repository at this point in the history
  3. Drag and Drop: BeginDragDropSource() with ImGuiDragDropFlags_SourceEx…

    …tern assume a mouse button being pressed. (ocornut#143)
    ocornut committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    5070945 View commit details
    Browse the repository at this point in the history
  4. Drag and Drop: (Breaking) renamed ImGuiDragDropFlags_SourceAutoExpire…

    …Payload to ImGuiDragDropFlags_PayloadAutoExpire. (ocornut#1725, ocornut#143)
    ocornut committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    8c318dc View commit details
    Browse the repository at this point in the history
  5. Drag and Drop: Added ImGuiDragDropFlags_PayloadNoCrossContext and ImG…

    …uiDragDropFlags_PayloadNoCrossProcess flags.
    ocornut committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    77d9f80 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7e7c97a View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Fixed build warning.

    ocornut committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    21581cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8067d05 View commit details
    Browse the repository at this point in the history
  3. IO: added ImGuiConfigFlags_NoKeyboard for consistency and convenience. (

    ocornut#4921)
    
    # Conflicts:
    #	imgui.h
    #	imgui_demo.cpp
    ocornut committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    e397107 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7f20a4b View commit details
    Browse the repository at this point in the history
  5. Internals: storing HoveredWindowBeforeClear for use by multi-context …

    …compositor drag and drop propagation.
    
    # Conflicts:
    #	imgui.cpp
    #	imgui_internal.h
    ocornut committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    2c8cc58 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    755bf2b View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2024

  1. Configuration menu
    Copy the full SHA
    48e7e7b View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. Demo: Style Editor: clarify how _CalcCircleAutoSegmentCount() doesn't…

    … always get exact final segment count. (ocornut#7731)
    ocornut committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    aab2713 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a18fb40 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Configuration menu
    Copy the full SHA
    eb1cc4b View commit details
    Browse the repository at this point in the history
  2. Viewports: Backported 'void* ImGuiViewport::PlatformHandle' from dock…

    …ing branch for use by backends.
    ocornut committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    32f9dfc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7c24769 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    22b36be View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0c2650e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    dbffb70 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Inputs: fixed using Shortcut() or SetNextItemShortcut() within a disa…

    …bled block bypassing the disabled state. (ocornut#7726)
    ocornut committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    fbb903e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    953d40c View commit details
    Browse the repository at this point in the history
  3. Windows: BeginChild(): fixed a glitch when during a resize of a child…

    … window which is tightly close to the boundaries of its parent. (ocornut#7706)
    ocornut committed Jun 27, 2024
    Configuration menu
    Copy the full SHA
    77d582f View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2024

  1. Nav: store NavJustMovedToIsTabbing + shuffle a few nav related fields.

    (for usage by multi-select)
    ocornut committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    0582f76 View commit details
    Browse the repository at this point in the history
  2. Backends: OpenGL2, OpenGL3: ImGui_ImplOpenGL3_NewFrame() recreates fo…

    …nt texture if it has been destroyed by ImGui_ImplOpenGL3_DestroyFontsTexture(). (ocornut#7748)
    
    Analogous to change to Vulkan backend in 1.90.
    ocornut committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    404af57 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c7df9c7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0403096 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    372eebb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c47928f View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2024

  1. Configuration menu
    Copy the full SHA
    f2c07ed View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2024

  1. Configuration menu
    Copy the full SHA
    751bbf3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ccf3ee6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6721691 View commit details
    Browse the repository at this point in the history
  4. Disabled: Reworked 1.90.8 behavior of Begin() not inheriting current …

    …BeginDisabled() state. Only tooltip are clearing that state. (ocornut#211, ocornut#7640)
    ocornut committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    dd5c30d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    50a0f18 View commit details
    Browse the repository at this point in the history
  6. IO: do not claim io.WantCaptureMouse=true on the mouse release frame …

    …of a button which was pressed over void. (ocornut#1392)
    ocornut committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    c554c40 View commit details
    Browse the repository at this point in the history
  7. Version 1.90.9

    ocornut committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    cb16be3 View commit details
    Browse the repository at this point in the history
  8. Version 1.91.0 WIP

    ocornut committed Jul 1, 2024
    Configuration menu
    Copy the full SHA
    84cc72f View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Backends: SDL3: Update for API changes: SDLK_x renames and SDLK_KP_x …

    …removals (ocornut#7761, ocornut#7762)
    
    Also updated function signature in SDL2 backend to match and because it is expected we will use that data (as per ocornut#7672)
    ocornut committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    12f9251 View commit details
    Browse the repository at this point in the history
  2. Backends: SDL3: Updated comments (IME seems fixed in SDL3). Added SDL…

    …3 examples to Visual Studio solution.
    ocornut committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    a489585 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a627943 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7e0b3b9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ae708e3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0250dc9 View commit details
    Browse the repository at this point in the history
  7. IO: added io.PlatformOpenInShellFn handler to open a link/folder/file…

    … in OS shell, added IMGUI_DISABLE_DEFAULT_SHELL_FUNCTIONS. (ocornut#7660)
    ocornut committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    8f36798 View commit details
    Browse the repository at this point in the history
  8. (Breaking) IO, IME: renamed platform IME hook io.SetPlatformImeDataFn…

    …() -> io.PlatformSetImeDataFn() and added explicit context.
    ocornut committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    fb799bb View commit details
    Browse the repository at this point in the history
  9. Commented out obsolete ImGuiModFlags and ImGuiModFlags_XXX values (re…

    …named to ImGuiKeyChord and ImGuiMod_XXX in 1.89). (ocornut#4921, ocornut#456)
    ocornut committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    ddd4c9d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    43925b9 View commit details
    Browse the repository at this point in the history
  11. IO: disable default io.PlatformOpenInShellFn() implementation on iPho…

    …ne, as compiler errors that system() is not available on iOS.
    ocornut committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    dadf9cd View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    0f63d3e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    5496050 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    05a4f28 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    380b355 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    0ebf49b View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Misc tweaks, comments.

    ocornut committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    0a73c6e View commit details
    Browse the repository at this point in the history
  2. TreeNode: rename/rework ImGuiNavTreeNodeData system to be usable by m…

    …ore features. (ocornut#2920, ocornut#1131, ocornut#7553)
    
    Reworked to it is easier during TreeNode code to request extra data to be stored.
    ocornut committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    2d0baaa View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2024

  1. Fixed Unix version of PlatformOpenInShellFn_DefaultImpl. (ocornut#7772,

    ocornut#7660)
    
    + Enable on non-iPhone macOS builds
    cfillion authored and ocornut committed Jul 7, 2024
    Configuration menu
    Copy the full SHA
    1ec1f7a View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2024

  1. DemosFix typo in help text in demo Tables/Borders (ocornut#7780)

    The help text for flags had a "V" flag duplicated, this change corrects it to the missing "H" flag.
    hevrard committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    6b6026b View commit details
    Browse the repository at this point in the history
  2. Backends: Win32: fixed ImGuiMod_Super being mapped to VK_APPS instead…

    … of VK_LWIN||VK_RWIN (ocornut#7768, ocornut#4858, ocornut#2622)
    
    Amend 0755767
    
    The `ImGui_ImplWin32_UpdateKeyModifiers()` function maps `ImGuiMod_Super` to `VK_APPS`, the "Application" key located between the Right Windows (Super) and Right Control keys on the keyboard, see https://conemu.github.io/en/AppsKey.html
    
    This means that when using `ImGui::GetIO().KeySuper` to try to get the down state of the `VK_RWIN` or `VK_LWIN` keys, it'll always return FALSE when either of those keys are held down, and only return TRUE when `VK_APPS` is held down.
    Aemony authored and ocornut committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    9504068 View commit details
    Browse the repository at this point in the history
  3. Backends: GLFW+Emscripten: (Breaking) Renamed ImGui_ImplGlfw_InstallE…

    …mscriptenCanvasResizeCallback() to ImGui_ImplGlfw_InstallEmscriptenCallbacks(), added GLFWwindow* parameter. (ocornut#7647, ocornut#7600)
    
    + Fixed Emscripten warning when using mouse wheel on some setups.
    ypujante authored and ocornut committed Jul 8, 2024
    Configuration menu
    Copy the full SHA
    6816789 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2937339 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a8e96ae View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Examples: SDL3+OpenGL: Update for API changes: SDL_GL_DeleteContext()…

    … renamed to SDL_GL_DestroyContext().
    ocornut committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    c3c90b4 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2024

  1. Configuration menu
    Copy the full SHA
    126569a View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. Backends: SDL3: Update for API changes: SDL_GetProperty() change to S…

    …DL_GetPointerProperty(). (ocornut#7794)
    wermipls authored and ocornut committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    df3a743 View commit details
    Browse the repository at this point in the history
  2. Backends: SDL3: fixed typo leading to PlatformHandleRaw not being set…

    … leading to SHOWNA path not working for multi-viewports.
    ocornut committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    9c2f600 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ac7d6fb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bc9e5b6 View commit details
    Browse the repository at this point in the history
  5. 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.
    ocornut committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    46691d1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7e0800e View commit details
    Browse the repository at this point in the history
  7. (Breaking) Obsoleted PushButtonRepeat()/PopButtonRepeat() in favor of…

    … using new PushItemFlag()/PopItemFlag() with ImGuiItemFlags_ButtonRepeat.
    ocornut committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    b4ca869 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0de88a9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3de7513 View commit details
    Browse the repository at this point in the history
  10. Obsoleted PushTabStop()/PopTabStop() in favor of using new PushItemFl…

    …ag()/PopItemFlag() with ImGuiItemFlags_NoTabStop.
    ocornut committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    0e4dcfa View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Fixed pvs-studio warning.

    ocornut committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    9c1f922 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. Configuration menu
    Copy the full SHA
    4247f19 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    67e9aa4 View commit details
    Browse the repository at this point in the history
  3. Style: close button and collapse/window-menu button hover highlight m…

    …ade rectangular instead of round.
    
    The reason they were round in the first place was to work better with rounded windows/frames.
    However since the 4a81424 rework ocornut#6749 we can naturally use a tigher bounding box and it seems to work ok either way.
    ocornut committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    669021b View commit details
    Browse the repository at this point in the history
  4. Nav, Demo: comments.

    ocornut committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    74a1854 View commit details
    Browse the repository at this point in the history
  5. Clipper: added SeekCursorForItem() function, for use when using ImGui…

    …ListClipper::Begin(INT_MAX). (ocornut#1311)
    
    Tagging ocornut#3609 just in case we made a mistake introducing a regression (but tests are passing and have been extended).
    ocornut committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    8bab3ea View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7c6d4ff View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    070c046 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Configuration menu
    Copy the full SHA
    c2d21ab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    554db6b View commit details
    Browse the repository at this point in the history
  3. MultiSelect: Removed SelectableSpacing as I'm not sure it is of use f…

    …or now (history insert)
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    8947c35 View commit details
    Browse the repository at this point in the history
  4. MultiSelect: Added IMGUI_HAS_MULTI_SELECT define. Fixed right-click t…

    …oggling selection without clearing active id, could lead to MarkItemEdited() asserting. Fixed demo.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    57da880 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    17c4c21 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4afbfd5 View commit details
    Browse the repository at this point in the history
  7. 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.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    9c7183d View commit details
    Browse the repository at this point in the history
  8. MultiSelect: Fix for TreeNode following merge of 011d475. Demo: basic…

    … test for tree nodes.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    7abda17 View commit details
    Browse the repository at this point in the history
  9. MultiSelect: Fixed CTRL+A not testing focus scope id. Fixed CTRL+A no…

    …t testing active id. Added demo code.
    
    Comments.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    9aeebd2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    0479b18 View commit details
    Browse the repository at this point in the history
  11. MultiSelect: Fix Selectable() ambiguous return value, clarify need to…

    … use IsItemToggledSelection().
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    3ba3f0d View commit details
    Browse the repository at this point in the history
  12. MultiSelect: Fix testing key mods from after the nav request (remove …

    …need to hold the mod longer)
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    00c4b8f View commit details
    Browse the repository at this point in the history
  13. MultiSelect: Temporary fix/work-around for child/popup to not inherit…

    … MultiSelectEnabled flag, until we make mulit-select data stackable.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    b9721c1 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ad5d3c9 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    919cac1 View commit details
    Browse the repository at this point in the history
  16. MultiSelect: Added ImGuiMultiSelectFlags_ClearOnEscape (unsure of bes…

    …t design), expose IsFocused for custom shortcuts.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    19086c1 View commit details
    Browse the repository at this point in the history
  17. MultiSelect: Demo: Added pointer indirection and indent level.

    This is to reduce noise for upcoming commits, ahead of adding a loop here.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    b91ae12 View commit details
    Browse the repository at this point in the history
  18. MultiSelect: Added ImGuiMultiSelectFlags_ClearOnClickWindowVoid. + De…

    …mo: showcase multiple selection scopes in same window.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    35bbadc View commit details
    Browse the repository at this point in the history
  19. MultiSelect: Enter doesn't alter selection (unlike Space).

    Fix for changes done in 5606.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    a05700e View commit details
    Browse the repository at this point in the history
  20. MultiSelect: Shallow tweaks/refactors.

    Including moving IsFocused back internally for now.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    78cb166 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    815c61b View commit details
    Browse the repository at this point in the history
  22. MultiSelect: made SetNextItemSelectionData() optional to allow disjoi…

    …nt selection (e.g. with a CollapsingHeader between items). Amend demo.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    d2f208a View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    85954c8 View commit details
    Browse the repository at this point in the history
  24. 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.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    5d71314 View commit details
    Browse the repository at this point in the history
  25. 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.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    11bcae1 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    35b5ebc View commit details
    Browse the repository at this point in the history
  27. MultiSelect: Demo tweak. Removed multi-scope from Advanced (too messy…

    …), made it a seperate mini-demo.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    c61ada2 View commit details
    Browse the repository at this point in the history
  28. MultiSelect: Internals rename of IO fields to avoid ambiguity with io…

    …/rw concepts + memset constructors, tweaks.
    
    debug
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    a39f9e7 View commit details
    Browse the repository at this point in the history
  29. MultiSelect: (Breaking) Renamed 'RangeSrc -> 'RangeSrcItem', "RangeDs…

    …t' -> 'RangeDstItem'
    
    This is necessary to have consistent names in upcoming fields (NavIdItem etc.)
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    a83326b View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    ccf43d6 View commit details
    Browse the repository at this point in the history
  31. MultiSelect: Remove ImGuiMultiSelectFlags_NoUnselect because I curren…

    …tly can't find use for this specific design.
    
    And/or it seem partly broken.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    6ef70a9 View commit details
    Browse the repository at this point in the history
  32. MultiSelect: Remove the need for using IsItemToggledSelection(). Upda…

    …te comments.
    
    This is the simple version that past our tests. MultiSelectItemFooter() is in need of a cleanup.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    1ea9ca7 View commit details
    Browse the repository at this point in the history
  33. MultiSelect: Tidying up/simpllifying MultiSelectItemFooter().

    Intended to be entirely a no-op, merely a transform of source code for simplification. But committing separatey from behavior change in previous change.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    961b81c View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    387fc13 View commit details
    Browse the repository at this point in the history
  35. MultiSelect: Demo: first-draft of user-side deletion idioms.

    (will need support from lib)
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    564dde0 View commit details
    Browse the repository at this point in the history
  36. MultiSelect: (Breaking) BeginMultiSelect() doesn't need two last para…

    …ms maintained by users. Moving some storage from user to core. Proper deletion demo.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    9223ffc View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    df1eeb9 View commit details
    Browse the repository at this point in the history
  38. MultiSelect: Further simplication of user code to support Deletion.

    Provide standard RequestFocusItem storage.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    c003570 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    e3616e1 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    ab9326f View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    0cf3763 View commit details
    Browse the repository at this point in the history
  42. MultiSelect: (Breaking) Fix + Rename ImGuiMultiSelectFlags_NoMultiSel…

    …ect to ImGuiMultiSelectFlags_SingleSelect as it seems easier to grasp.
    
    Feature was broken by "Tidying up..." June 30 commit.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    847b1dd View commit details
    Browse the repository at this point in the history
  43. MultiSelect: Comments, tweaks.

    + Alignment to reduce noise on next commit.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    140a2f0 View commit details
    Browse the repository at this point in the history
  44. MultiSelect: (Breaking) Use ImGuiSelectionUserData (= ImS64) instead …

    …of void* for selection user data.
    
    Less confusing for most users, less casting.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    e82b49d View commit details
    Browse the repository at this point in the history
  45. MultiSelect: move HasSelectionData to ImGuiItemFlags to facilitate co…

    …pying around in standardized fieds.
    
    Required/motivated to simplify support for ImGuiTreeNodeFlags_NavLeftJumpsBackHere (bc3c0ce) in this branch.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    c9eb371 View commit details
    Browse the repository at this point in the history
  46. MultiSelect: Tweak debug log to print decimal+hex values for item data.

    Struggled to get standard PRIX64 to work on CI.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    6821401 View commit details
    Browse the repository at this point in the history
  47. MultiSelect: clear selection when leaving a scope with a nav directio…

    …nal request.
    
    May need to clarify how to depends on actions being performed (e.g. click doesn't).
    May become optional?
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    af83a3e View commit details
    Browse the repository at this point in the history
  48. MultiSelect: (Breaking) RequestSetRange's parameter are RangeFirstIte…

    …m...RangeLastItem (which was always ordered unlike RangeSrcItem...RangeDstItme). Removed RangeDstItem. Removed RangeDirection.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    ff95fdb View commit details
    Browse the repository at this point in the history
  49. MultiSelect: Demo: rework ExampleSelection names to map better to typ…

    …ical user code + variety of Comments tweaks.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    c375380 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    6ddc5f3 View commit details
    Browse the repository at this point in the history
  51. 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.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    8fe6b31 View commit details
    Browse the repository at this point in the history
  52. MultiSelect: Demo: rework ExampleSelection with an ExampleSelectionAd…

    …apter layer, allowing to share more code accross examples using different storage systems.
    
    Not ideal way to showcase this demo but this is really more flexible.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    8c1f659 View commit details
    Browse the repository at this point in the history
  53. MultiSelect: Demo: Remove UserDataToIndex from ExampleSelectionAdapter.

    Seems to make a better demo this way.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    530155d View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    fa516c3 View commit details
    Browse the repository at this point in the history
  55. MultiSelect: Demo: Deletion: Rework ApplyDeletionPreLoop to use adapt…

    …er + fix PostLoop not using right value of RequestFocusItem.
    
    Recovery made it transparent visually but user side selection would be empty for a frame before recovery.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    e1d2109 View commit details
    Browse the repository at this point in the history
  56. MultiSelect: Demo: Deletion: Various renames to clarify. Use adapter …

    …and item list in both ApplyDeletion functions.
    
    This also minify the patch for an alternative/wip attmept at redesgining pre/post deletion logic. But turns out current attempt may be easier to grasp.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    ba698df View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    dce02f5 View commit details
    Browse the repository at this point in the history
  58. MultiSelect: ImGuiMultiSelectIO's field are not used during loop anym…

    …ore, stripping them out of comments.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    a6f43df View commit details
    Browse the repository at this point in the history
  59. MultiSelect: moved RequestClear output so it'll match request list ve…

    …rsion better. Use Storage->RangeSrcItem in EndMultiSelect().
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    9da4efe View commit details
    Browse the repository at this point in the history
  60. MultiSelect: move shared logic to MultiSelectItemHeader().

    No logic change AFAIK but added an indent level in MultiSelectItemHeader(). Logic changes will come in next commit.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    5628dda View commit details
    Browse the repository at this point in the history
  61. MultiSelect: Added ImGuiMultiSelectFlags_SelectOnClickRelease to allo…

    …w dragging an unselected item without altering selection + update drag and drop demo.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    82de6c4 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    d18e57e View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    88df590 View commit details
    Browse the repository at this point in the history
  64. MultiSelect: removed seemingly unnecessary block in BeginMultiSelect().

    - EndIO.RangeSelected always set along with EndIO.RequestSetRange
    - Trying to assert for the assignment making a difference when EndIO.RequestSetRange is already set couldn't find a case (tests passing).
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    2765fdb View commit details
    Browse the repository at this point in the history
  65. MultiSelect: clarified purpose and use of IsItemToggledSelection(). A…

    …dded assert. Moved to multi-selection section of imgui.h.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    c3998b7 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    a6adfb2 View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    6feff6f View commit details
    Browse the repository at this point in the history
  68. MultiSelect: we don't need to ever write to EndIO.RangeSrcItem as thi…

    …s is not meant to be used.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    c527cba View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    5941edd View commit details
    Browse the repository at this point in the history
  70. MultiSelect: use a single ImGuiMultiSelectIO buffer.

    + using local storage var in EndMultiSelect(), should be no-op.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    33fc61a View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    3d41994 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    bf01795 View commit details
    Browse the repository at this point in the history
  73. MultiSelect: (breaking) renamed ImGuiMultiSelectFlags_ClearOnClickWin…

    …dowVoid -> ImGuiMultiSelectFlags_ClearOnClickVoid. Added ImGuiMultiSelectFlags_ScopeWindow, ImGuiMultiSelectFlags_ScopeRect.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    90305c5 View commit details
    Browse the repository at this point in the history
  74. MultiSelect: Box-Select: added support for ImGuiMultiSelectFlags_BoxS…

    …elect.
    
    (v11)
    FIXME: broken on clipping demo.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    f904a66 View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    aa4d64b View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    b747d6f View commit details
    Browse the repository at this point in the history
  77. MultiSelect: added support for nested/stacked BeginMultiSelect().

    Mimicking table logic, reusing amortized buffers.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    0af6fbb View commit details
    Browse the repository at this point in the history
  78. MultiSelect: remove ImGuiSelectionRequest/ImGuiMultiSelectIO details …

    …from public api to reduce confusion + comments.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    e028234 View commit details
    Browse the repository at this point in the history
  79. MultiSelect: move demo's ExampleSelection to main api as a convenient…

    … ImGuiSelectionBasicStorage for basic users.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    0f633c1 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    51fe0bf View commit details
    Browse the repository at this point in the history
  81. MultiSelect: Demo: Assets Browser: added deletion support. Store ID i…

    …n selection. Moved QueueDeletion to local var to emphasis that this is a user extension.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    750e239 View commit details
    Browse the repository at this point in the history
  82. MultiSelect: Demo: Assets Browser: track scrolling target so we can r…

    …oughly land on hovered item.
    
    It's impossible to do this perfectly without some form of locking on item because as the hovered item X position changes it's easy to drift.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    7546a2d View commit details
    Browse the repository at this point in the history
  83. MultiSelect: Box-Select: Fixed holes when using with clipper (in 1D l…

    …ist.)
    
    Clipper accounts for Selectable() layout oddity as BoxSelect is sensitive to it.
    Also tweaked scroll triggering region inward.
    Rename ImGuiMultiSelectFlags_NoBoxSelectScroll to ImGuiMultiSelectFlags_BoxSelectNoScroll.
    Fixed use with ImGuiMultiSelectFlags_SinglaSelect.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    1ac469b View commit details
    Browse the repository at this point in the history
  84. MultiSelect: Box-Select: Added ImGuiMultiSelectFlags_BoxSelect2d supp…

    …ort. Enabled in Asset Browser. Selectable() supports it.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    1539176 View commit details
    Browse the repository at this point in the history
  85. MultiSelect: Box-Select: Refactor into its own structure, designed fo…

    …r single-instance but closer to being reusable outside Multi-Select.
    
    Kept same member names.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    75bac1a View commit details
    Browse the repository at this point in the history
  86. MultiSelect: Box-Select: Refactor: Renames.

    Split into two commits to facilite looking into previous one if needed.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    5d9de14 View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    907268a View commit details
    Browse the repository at this point in the history
  88. MultiSelect: Box-Select: Further refactor to extra mode code away fro…

    …m multi-select function into box-select funcitons.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    f3d77d8 View commit details
    Browse the repository at this point in the history
  89. MultiSelect: Fixed ImGuiSelectionBasicStorage::ApplyRequests() incorr…

    …ectly maintaining selection size on SelectAll.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    6c4bf8e View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    d439f59 View commit details
    Browse the repository at this point in the history
  91. MultiSelect: Added ImGuiMultiSelectFlags_NoRangeSelect. Fixed ImGuiMu…

    …ltiSelectFlags_ScopeRect not querying proper window hover.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    8312c75 View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    3141d87 View commit details
    Browse the repository at this point in the history
  93. MultiSelect: Box-Select: Fixed initial drag from not claiming hovered…

    … id, preventing window behind to move for a frame.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    9337151 View commit details
    Browse the repository at this point in the history
  94. Configuration menu
    Copy the full SHA
    b13a78e View commit details
    Browse the repository at this point in the history
  95. MultiSelect: (Breaking) merge ImGuiSelectionRequestType_Clear and ImG…

    …uiSelectionRequestType_SelectAll into ImGuiSelectionRequestType_SetAll., rename ImGuiSelectionRequest::RangeSelected to Selected.
    
    The reasoning is that it makes it easier/faster to write an adhoc ImGuiMultiSelectIO handler (e.g. trying to apply multi-select to checkboxes)
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    f36a03c View commit details
    Browse the repository at this point in the history
  96. MultiSelect: Simplified ImGuiSelectionBasicStorage by using a single …

    …SetItemSelected() entry point.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    dbc67bb View commit details
    Browse the repository at this point in the history
  97. MultiSelect: Comments + tweaked location for widgets to test ImGuiIte…

    …mFlags_IsMultiSelect to avoid misleading into thinking doing it before ItemAdd() is necessary.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    2111e35 View commit details
    Browse the repository at this point in the history
  98. MultiSelect: Demo: make various child windows resizable, with synched…

    … heights for the dual list box demo.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    a639346 View commit details
    Browse the repository at this point in the history
  99. MultiSelect: added ImGuiMultiSelectFlags_NoAutoSelect, ImGuiMultiSele…

    …ctFlags_NoAutoClear features + added Checkbox Demo
    
    Refer to "widgets_multiselect_checkboxes" in imgui_test_suite.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    e7a734f View commit details
    Browse the repository at this point in the history
  100. MultiSelect: Box-Select: fix preventing focus. amend determination of…

    … scope_hovered for decorated/non-child windows + avoid stealing NavId. (ocornut#7424)
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    0be238e View commit details
    Browse the repository at this point in the history
  101. MultiSelect: Demo: use Shortcut().

    Got rid of suggestion to move Delete signal processing to BeginMultiSelect(), seems unnecessary.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    955210a View commit details
    Browse the repository at this point in the history
  102. RangeSelect/MultiSelect: (Breaking) Added current_selection_size to B…

    …eginMultiSelect().
    
    Required for shortcut routing so we can e.g. have Escape be used to clear selection THEN to exit child window.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    9435a31 View commit details
    Browse the repository at this point in the history
  103. Configuration menu
    Copy the full SHA
    65ebc05 View commit details
    Browse the repository at this point in the history
  104. MultiSelect: Box-Select: when dragging from void, first hit item sets…

    … NavId by simulating a press, so navigation can resume from that spot.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    dc0a168 View commit details
    Browse the repository at this point in the history
  105. MultiSelect: added GetMultiSelectState() + store LastSelectionSize as…

    … provided by user, convenient for quick debugging and testing.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    81548cb View commit details
    Browse the repository at this point in the history
  106. MultiSelect: Box-Select: fixed "when dragging from void" implementati…

    …on messing with calling BeginMultiSelect() without a selection size.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    1113f13 View commit details
    Browse the repository at this point in the history
  107. Configuration menu
    Copy the full SHA
    2f56df4 View commit details
    Browse the repository at this point in the history
  108. Configuration menu
    Copy the full SHA
    7bbbbea View commit details
    Browse the repository at this point in the history
  109. MultiSelect: (breaking) renamed ImGuiMultiSelectFlags_BoxSelect -> Im…

    …GuiMultiSelectFlags_BoxSelect1d, ImGuiMultiSelectFlags_BoxSelect2d -> ImGuiMultiSelectFlags_BoxSelect.
    
    ImGuiMultiSelectFlags_BoxSelect1d being an optimization it is the optional flag.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    f6b5caf View commit details
    Browse the repository at this point in the history
  110. MultiSelect: mark parent child window as navigable into, with highlig…

    …ht. Assume user will always submit interactive items.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    443b034 View commit details
    Browse the repository at this point in the history
  111. MultiSelect: (breaking) Added 'items_count' parameter to BeginMultiSe…

    …lect(). Will enable extra features, and remove equivalent param from ImGuiSelectionBasicStorage::ApplyRequests(.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    ab995d3 View commit details
    Browse the repository at this point in the history
  112. MultiSelect: added ImGuiSelectionBasicStorage::GetStorageIdFromIndex(…

    …) indirection to be easier on the reader.
    
    Tempting to make it a virtual.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    c94cf6f View commit details
    Browse the repository at this point in the history
  113. Configuration menu
    Copy the full SHA
    f9caf44 View commit details
    Browse the repository at this point in the history
  114. Configuration menu
    Copy the full SHA
    db4898c View commit details
    Browse the repository at this point in the history
  115. Configuration menu
    Copy the full SHA
    c3d7aa2 View commit details
    Browse the repository at this point in the history
  116. MultiSelect: ImGuiSelectionBasicStorage: added GetNextSelectedItem() …

    …to abstract selection storage from user. Amend Assets Browser demo to handle drag and drop correctly.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    e1fd250 View commit details
    Browse the repository at this point in the history
  117. MultiSelect: ImGuiSelectionBasicStorage: rework to accept massive sel…

    …ections requests without flinching.
    
    Batch modification + storage only keeps selected items.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    e61612a View commit details
    Browse the repository at this point in the history
  118. MultiSelect: ImGuiSelectionBasicStorage: simplify by removing compact…

    …ing code (compacting may be opt-in?).
    
    GetNextSelectedItem() wrapper gives us more flexibility to work on this kind of stuff now.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    2af3b2a View commit details
    Browse the repository at this point in the history
  119. MultiSelect: ImGuiSelectionBasicStorage: move function bodies to cpp …

    …file.
    
    + make ImGuiStorage::BuildSortByKey() less affected by msvc debug mode.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    c07864f View commit details
    Browse the repository at this point in the history
  120. Demo: Assets Browser: added a way to disable sorting and hide sorting…

    … options.
    
    This is mostly designed to showcase that on very large sets (e.g. 1 million) most of the time is likely spent on sorting.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    f472f17 View commit details
    Browse the repository at this point in the history
  121. MultiSelect: ImGuiSelectionBasicStorage: (breaking) rework GetNextSel…

    …ectedItem() api to avoid ambiguity/failure when user uses a zero id.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    3ac367f View commit details
    Browse the repository at this point in the history
  122. MultiSelect: provide RangeDirection to allow selection handler to han…

    …dler backward shift+click.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    df66432 View commit details
    Browse the repository at this point in the history
  123. MultiSelect: ImGuiSelectionBasicStorage: added PreserveOrder, maintai…

    …n implicit order data in storage.
    
    Little tested but provided for completeness.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    c523468 View commit details
    Browse the repository at this point in the history
  124. MultiSelect: (breaking) renamed ImGuiMultiSelectFlags_BoxSelect -> Im…

    …GuiMultiSelectFlags_BoxSelect2d. Which include not assuming one flag imply the other.
    
    Amend 2024/05/31 commit.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    a8a1f29 View commit details
    Browse the repository at this point in the history
  125. Configuration menu
    Copy the full SHA
    529c73b View commit details
    Browse the repository at this point in the history
  126. Configuration menu
    Copy the full SHA
    3f34c83 View commit details
    Browse the repository at this point in the history
  127. MultiSelect: minor tidying up.

    Checkbox() was reworked in master effectively fixing render clipping when culled by BoxSelect2d's UnclipMode.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    d411c90 View commit details
    Browse the repository at this point in the history
  128. MultiSelect: added courtesy ImGuiMultiSelectFlags_NavWrapX flag so we…

    … can demo this until a nav api is designed.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    7d4de84 View commit details
    Browse the repository at this point in the history
  129. MultiSelect: Box-Select: uses SetActiveIdUsingAllKeyboardKeys() to av…

    …oid nav interference, much like most drag operations.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    2697cfe View commit details
    Browse the repository at this point in the history
  130. MultiSelect: Box-Select: handle Esc to disable box-select.

    This avoid remove a one-frame delay when finishing box-select, where Esc wouldn't be routed to selection but to child.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    1b63522 View commit details
    Browse the repository at this point in the history
  131. MultiSelect: ImGuiSelectionBasicStorage: optimized for smaller insert…

    …ion amounts in larger sets + fix caling batch select with same value.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    7814518 View commit details
    Browse the repository at this point in the history
  132. MultiSelect: Better document how TreeNode() is not trivially usable yet.

    Will revert when the time is right.
    ocornut committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    2688562 View commit details
    Browse the repository at this point in the history
  133. Configuration menu
    Copy the full SHA
    02c31a8 View commit details
    Browse the repository at this point in the history
  134. Configuration menu
    Copy the full SHA
    d7e605d View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Demo: moved ExampleTreeNode, ExampleMemberInfo above in the demo file…

    …. Tidying up index.
    
    + change ExampleTreeNode::UID from ImGuiID to int to not suggest that the user ID needs to be of a certain type
    ocornut committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    2546d0a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    57eea67 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    168ef39 View commit details
    Browse the repository at this point in the history
  4. MultiSelect: using ImGuiMultiSelectFlags_NoRangeSelect ensure never h…

    …aving to interpolate between two ImGuiSelectionUserData.
    ocornut committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    b6e313b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f9cda1f View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. Configuration menu
    Copy the full SHA
    eb72b5a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da36336 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fd99494 View commit details
    Browse the repository at this point in the history
  4. Demo: rework Property Editor.

    ocornut committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    c3dca77 View commit details
    Browse the repository at this point in the history
  5. Nav: fixed c licking window decorations (e.g. resize borders) from lo…

    …sing focused item when within a child window using ImGuiChildFlags_NavFlattened.
    
    In essence, using ImGuiFocusRequestFlags_RestoreFocusedChild here is a way to reduce changes caused by FocusWindow(), but it could be done more neatly.
    See amended "nav_flattened" test.
    ocornut committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    97ff9bd View commit details
    Browse the repository at this point in the history
  6. Demo: Property Editor: using ImGuiChildFlags_NavFlattened now that a …

    …bug is fixed. Fixed static analyzer.
    ocornut committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    605c8d7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fe09ebb View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. Internals, TreeNode: indent all render block into its own scope (aim …

    …is to add a is_visible test there later)
    ocornut committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    4d8c56c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1230b44 View commit details
    Browse the repository at this point in the history
  3. CollapsingHeader: left-side outer extend matches right-side one (move…

    …d left by one pixel)
    
    Amend c3a348a
    ocornut committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    97c6f40 View commit details
    Browse the repository at this point in the history
  4. Debug Log: fixed incorrect checkbox layout when partially clipped., d…

    …oesn't parse 64-bits hex value as ImGuiID lookups.
    ocornut committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    b67b375 View commit details
    Browse the repository at this point in the history
  5. Groups, Tables: fixed EndGroup() failing to correctly capture current…

    … table occupied size. (ocornut#7543)
    
    See "layout_group_endtable" test.
    ocornut committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    e3da939 View commit details
    Browse the repository at this point in the history
  6. MultiSelect: sequential SetRange merging not generally handled by box…

    …-select path, useful for others.
    ocornut committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    79b77d9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a285835 View commit details
    Browse the repository at this point in the history
  8. MultiSelect: fixed an issue caused by previous commit.

    Amend a285835. Breaks box-select.
    ocornut committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    237165a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1192b6f View commit details
    Browse the repository at this point in the history