Commit Graph

  • 5c9825c16d Viewports: update fallback monitor to primary monitor if there's one. ocornut 2024-07-29 12:21:24 +0200
  • c7b9256097 Selectable: added ImGuiSelectableFlags_Highlight flag to highlight items independently from the hovered state. (#7820) Rémi Hérilier 2024-07-26 13:19:22 +0200
  • 96460a8a12 InputText: Added '\' and '/' as word seperator. (#7824, #7704) Laurent Dufresne 2024-07-28 09:51:20 +0200
  • 79e83d6535 Docs: misc update. ocornut 2024-07-29 11:17:31 +0200
  • d42fa46dc6 Misc micro-optimizations related to hot-path of dealing with a large clipped tree. ocornut 2024-07-26 15:15:46 +0200
  • 692bee5f22 Added GetID(int) variant for consistency. (#7111) ocornut 2024-07-26 15:14:37 +0200
  • b3ba6b3095 Added io.ConfigNavSwapGamepadButtons to swap Activate/Cancel (A<>B) buttons, to match the typical "Nintendo/Japanese consoles" button layout when using Gamepad navigation. (#787, #5723) ocornut 2024-07-26 14:07:29 +0200
  • 3f9a90e2a3 Docs: added extraneous link to Getting Started section. ocornut 2024-07-25 16:59:34 +0200
  • 3552df562e Merge branch 'master' into docking ocornut 2024-07-25 16:41:56 +0200
  • b20f62b162 Obsoleted GetContentRegionMax(). ocornut 2024-07-25 16:18:46 +0200
  • 4227402b2f Internals: removed GetContentRegionMaxAbs() which was only meaningfully used in place of GetContentRegionAvail(). ocornut 2024-07-25 16:10:18 +0200
  • 055b2e80fb Moved everyone's best friend GetContentRegionAvail() to a more prominent position. ocornut 2024-07-25 16:02:59 +0200
  • aad86b8756 Obsoleted GetWindowContentRegionMin() and GetWindowContentRegionMax(). ocornut 2024-07-25 15:50:30 +0200
  • 55f54fa512 Internals: comment out obsolete g.ActiveIdUsingNavInputMask obsoleted two years ago. (#4921, #4858, #787, #1599, #323) ocornut 2024-07-25 15:10:04 +0200
  • ed356dc181 MultiSelect: BoxSelect: fixed box-select from void setting nav id multiple times. ocornut 2024-07-25 14:46:25 +0200
  • 237165a935 MultiSelect: fixed an issue caused by previous commit. ocornut 2024-07-24 19:14:54 +0200
  • a285835ac4 MultiSelect: add internal MultiSelectAddSetAll() helper. ocornut 2024-07-24 19:00:09 +0200
  • 79b77d91c9 MultiSelect: sequential SetRange merging not generally handled by box-select path, useful for others. ocornut 2024-07-24 18:43:54 +0200
  • e3da939b86 Groups, Tables: fixed EndGroup() failing to correctly capture current table occupied size. (#7543) ocornut 2024-07-24 18:41:51 +0200
  • b67b375ae6 Debug Log: fixed incorrect checkbox layout when partially clipped., doesn't parse 64-bits hex value as ImGuiID lookups. ocornut 2024-07-24 15:28:03 +0200
  • 97c6f4047c CollapsingHeader: left-side outer extend matches right-side one (moved left by one pixel) ocornut 2024-07-24 14:16:41 +0200
  • 1230b4410c Internals, TreeNode, Selectable: tweak span_all_columns paths for clarity. ocornut 2024-07-24 14:11:26 +0200
  • 4d8c56c813 Internals, TreeNode: indent all render block into its own scope (aim is to add a is_visible test there later) ocornut 2024-07-24 13:40:23 +0200
  • aa0f6b37bd Backends: OSX: fixed NSAppKitVersion version limit for setWantsBestResolutionOpenGLSurface usage. (#7814) chenqiudu 2024-07-23 20:50:02 +0800
  • fe09ebbe0a
    Backends: OpenGL3: Fixed unsupported option warning with apple clang (#7810) Cyao 2024-07-22 21:10:35 +0200
  • 271910e349 Backends: SDL3: Update for API changes: SDL_GetDisplays() memory ownership change. (#7809) ocornut 2024-07-22 19:43:59 +0200
  • 3fab2bb7be Merge branch 'master' into docking ocornut 2024-07-22 19:41:39 +0200
  • 605c8d7110 Demo: Property Editor: using ImGuiChildFlags_NavFlattened now that a bug is fixed. Fixed static analyzer. ocornut 2024-07-22 15:05:15 +0200
  • 97ff9bd370 Nav: fixed c licking window decorations (e.g. resize borders) from losing focused item when within a child window using ImGuiChildFlags_NavFlattened. ocornut 2024-07-22 15:04:25 +0200
  • c3dca77a19 Demo: rework Property Editor. ocornut 2024-07-22 14:06:14 +0200
  • fd994943c2 Added a comment hinting at how to set IMGUI_API for shared librairies on e.g. Linux, macOS (#7806) ocornut 2024-07-22 11:05:46 +0200
  • da36336321 TabBar, Style: added style option for the size of the Tab-Bar Overline (#7804) Thomas Stehle 2024-07-22 10:52:53 +0200
  • eb72b5a8ee Backends: SDL3: Update for API changes: SDL_GetGamepads() memory ownership change. (#7807) ocornut 2024-07-22 10:49:22 +0200
  • 02cc7d451c Merge branch 'master' into docking ocornut 2024-07-19 18:49:25 +0200
  • f9cda1fa24 Inputs: added SetItemKeyOwner(ImGuiKey key) in public API. (#456, #2637, #2620, #2891, #3370, #3724, #4828, #5108, #5242, #5641) ocornut 2024-07-19 18:39:07 +0200
  • b6e313bc05 MultiSelect: using ImGuiMultiSelectFlags_NoRangeSelect ensure never having to interpolate between two ImGuiSelectionUserData. ocornut 2024-07-19 16:42:06 +0200
  • 168ef39984 Demo: moved menu bar code to its own function. ocornut 2024-07-19 15:46:51 +0200
  • 57eea6746e Demo: moved some fields inside a struct. ocornut 2024-07-19 15:34:48 +0200
  • 2546d0a0db Demo: moved ExampleTreeNode, ExampleMemberInfo above in the demo file. Tidying up index. ocornut 2024-07-19 12:35:57 +0200
  • fd77815f9f Merge branch 'master' into docking ocornut 2024-07-18 18:22:26 +0200
  • d7e605d430 Merge branch 'features/range_select' ocornut 2024-07-18 18:21:31 +0200
  • 02c31a8dd1 MultiSelect: added Changelog for the feature. Removed IMGUI_HAS_MULTI_SELECT. ocornut 2024-07-01 19:15:18 +0200
  • 2688562fd2 MultiSelect: Better document how TreeNode() is not trivially usable yet. ocornut 2024-07-18 18:05:45 +0200
  • 7814518049 MultiSelect: ImGuiSelectionBasicStorage: optimized for smaller insertion amounts in larger sets + fix caling batch select with same value. ocornut 2024-07-01 19:54:35 +0200
  • 1b63522446 MultiSelect: Box-Select: handle Esc to disable box-select. ocornut 2024-06-28 19:35:24 +0200
  • 2697cfe354 MultiSelect: Box-Select: uses SetActiveIdUsingAllKeyboardKeys() to avoid nav interference, much like most drag operations. ocornut 2024-06-28 19:11:05 +0200
  • 7d4de84ee3 MultiSelect: added courtesy ImGuiMultiSelectFlags_NavWrapX flag so we can demo this until a nav api is designed. ocornut 2024-06-28 19:01:18 +0200
  • d411c9054a MultiSelect: minor tidying up. ocornut 2024-06-28 18:36:53 +0200
  • 3f34c83bc6 MultiSelect: added ImGuiMultiSelectFlags_NoAutoClearOnReselect + tweak flags comments. (#7424) ocornut 2024-06-28 11:55:22 +0200
  • 529c73ba21 MultiSelect: Shift+Tab doesn't enable Shift select on landing item. ocornut 2024-06-27 19:13:19 +0200
  • a8a1f29512 MultiSelect: (breaking) renamed ImGuiMultiSelectFlags_BoxSelect -> ImGuiMultiSelectFlags_BoxSelect2d. Which include not assuming one flag imply the other. ocornut 2024-06-26 20:26:06 +0200
  • c52346850d MultiSelect: ImGuiSelectionBasicStorage: added PreserveOrder, maintain implicit order data in storage. ocornut 2024-06-26 18:41:21 +0200
  • df664329cb MultiSelect: provide RangeDirection to allow selection handler to handler backward shift+click. ocornut 2024-06-26 18:29:30 +0200
  • 3ac367ff41 MultiSelect: ImGuiSelectionBasicStorage: (breaking) rework GetNextSelectedItem() api to avoid ambiguity/failure when user uses a zero id. ocornut 2024-06-26 17:00:52 +0200
  • f472f17054 Demo: Assets Browser: added a way to disable sorting and hide sorting options. ocornut 2024-06-11 20:56:41 +0200
  • c07864f64a MultiSelect: ImGuiSelectionBasicStorage: move function bodies to cpp file. ocornut 2024-06-11 19:45:21 +0200
  • 2af3b2ac81 MultiSelect: ImGuiSelectionBasicStorage: simplify by removing compacting code (compacting may be opt-in?). ocornut 2024-06-11 18:50:30 +0200
  • e61612a687 MultiSelect: ImGuiSelectionBasicStorage: rework to accept massive selections requests without flinching. ocornut 2024-06-11 18:26:22 +0200
  • e1fd25051e MultiSelect: ImGuiSelectionBasicStorage: added GetNextSelectedItem() to abstract selection storage from user. Amend Assets Browser demo to handle drag and drop correctly. ocornut 2024-06-11 17:14:00 +0200
  • c3d7aa252b MultiSelect: comments, header tweaks., simplication (some of it on wiki). ocornut 2024-06-06 14:40:57 +0200
  • db4898cb91 MultiSelect: added ImGuiSelectionExternalStorage helper. Simplify bool demo. ocornut 2024-06-05 19:00:13 +0200
  • f9caf4447a MultiSelect: fixed ImGuiSelectionBasicStorage::Swap() helper. ocornut 2024-06-05 18:32:59 +0200
  • c94cf6f01f MultiSelect: added ImGuiSelectionBasicStorage::GetStorageIdFromIndex() indirection to be easier on the reader. ocornut 2024-06-05 17:16:06 +0200
  • ab995d3d4f MultiSelect: (breaking) Added 'items_count' parameter to BeginMultiSelect(). Will enable extra features, and remove equivalent param from ImGuiSelectionBasicStorage::ApplyRequests(. ocornut 2024-06-05 17:04:55 +0200
  • 443b034895 MultiSelect: mark parent child window as navigable into, with highlight. Assume user will always submit interactive items. ocornut 2024-06-04 15:10:07 +0200
  • f6b5caf82c MultiSelect: (breaking) renamed ImGuiMultiSelectFlags_BoxSelect -> ImGuiMultiSelectFlags_BoxSelect1d, ImGuiMultiSelectFlags_BoxSelect2d -> ImGuiMultiSelectFlags_BoxSelect. ocornut 2024-05-31 21:57:10 +0200
  • 7bbbbea200 MultiSelect: Box-Select: fixes for checkboxes support. Comments. ocornut 2024-05-31 21:37:45 +0200
  • 2f56df4839 MultiSelect: (breaking) renamed ImGuiSelectionBasicStorage::AdapterData to UserData. ocornut 2024-05-30 18:44:57 +0200
  • 1113f13f83 MultiSelect: Box-Select: fixed "when dragging from void" implementation messing with calling BeginMultiSelect() without a selection size. ocornut 2024-05-31 20:18:57 +0200
  • 81548cb6bf MultiSelect: added GetMultiSelectState() + store LastSelectionSize as provided by user, convenient for quick debugging and testing. ocornut 2024-05-29 15:22:32 +0200
  • dc0a1682e3 MultiSelect: Box-Select: when dragging from void, first hit item sets NavId by simulating a press, so navigation can resume from that spot. ocornut 2024-05-29 15:01:52 +0200
  • 65ebc0513b MultiSelect: Box-Select: minor refactor, tidying up. ocornut 2024-05-29 14:33:41 +0200
  • 9435a3185a RangeSelect/MultiSelect: (Breaking) Added current_selection_size to BeginMultiSelect(). ocornut 2023-12-19 14:06:58 +0100
  • 955210ae5b MultiSelect: Demo: use Shortcut(). ocornut 2024-05-23 18:56:31 +0200
  • 0be238ec58 MultiSelect: Box-Select: fix preventing focus. amend determination of scope_hovered for decorated/non-child windows + avoid stealing NavId. (#7424) ocornut 2024-04-18 15:35:29 +0200
  • e7a734f78d MultiSelect: added ImGuiMultiSelectFlags_NoAutoSelect, ImGuiMultiSelectFlags_NoAutoClear features + added Checkbox Demo ocornut 2024-03-07 16:26:22 +0100
  • a639346fba MultiSelect: Demo: make various child windows resizable, with synched heights for the dual list box demo. ocornut 2024-03-07 15:52:30 +0100
  • 2111e3597b MultiSelect: Comments + tweaked location for widgets to test ImGuiItemFlags_IsMultiSelect to avoid misleading into thinking doing it before ItemAdd() is necessary. ocornut 2024-03-06 15:33:50 +0100
  • dbc67bbf23 MultiSelect: Simplified ImGuiSelectionBasicStorage by using a single SetItemSelected() entry point. ocornut 2024-03-06 15:04:03 +0100
  • f36a03c317 MultiSelect: (Breaking) merge ImGuiSelectionRequestType_Clear and ImGuiSelectionRequestType_SelectAll into ImGuiSelectionRequestType_SetAll., rename ImGuiSelectionRequest::RangeSelected to Selected. ocornut 2024-03-06 14:22:38 +0100
  • b13a78e6b2 MultiSelect: Fixed ImGuiMultiSelectFlags_SelectOnClickRelease over tree node arrow. ocornut 2024-01-12 12:05:03 +0100
  • 9337151a01 MultiSelect: Box-Select: Fixed initial drag from not claiming hovered id, preventing window behind to move for a frame. ocornut 2024-01-04 20:05:05 +0100
  • 3141d87ef8 MultiSelect: Box-Select: Fixed CTRL+drag from void clearing items. ocornut 2024-01-04 19:13:42 +0100
  • 8312c75fef MultiSelect: Added ImGuiMultiSelectFlags_NoRangeSelect. Fixed ImGuiMultiSelectFlags_ScopeRect not querying proper window hover. ocornut 2024-01-04 18:41:20 +0100
  • d439f590ab MultiSelect: Comments + Assets Browser : Tweak colors. ocornut 2023-12-21 15:12:17 +0100
  • 6c4bf8e56e MultiSelect: Fixed ImGuiSelectionBasicStorage::ApplyRequests() incorrectly maintaining selection size on SelectAll. ocornut 2023-12-21 14:29:01 +0100
  • f3d77d8e71 MultiSelect: Box-Select: Further refactor to extra mode code away from multi-select function into box-select funcitons. ocornut 2023-12-20 22:34:50 +0100
  • 907268a430 MultiSelect: Box-Select: Fixed scrolling on high framerates. ocornut 2023-12-20 22:31:07 +0100
  • 5d9de14493 MultiSelect: Box-Select: Refactor: Renames. ocornut 2023-12-20 22:19:55 +0100
  • 75bac1aac6 MultiSelect: Box-Select: Refactor into its own structure, designed for single-instance but closer to being reusable outside Multi-Select. ocornut 2023-12-20 22:07:28 +0100
  • 15391762dd MultiSelect: Box-Select: Added ImGuiMultiSelectFlags_BoxSelect2d support. Enabled in Asset Browser. Selectable() supports it. ocornut 2023-12-20 21:14:09 +0100
  • 1ac469b50f MultiSelect: Box-Select: Fixed holes when using with clipper (in 1D list.) ocornut 2023-12-20 11:34:25 +0100
  • 7546a2d345 MultiSelect: Demo: Assets Browser: track scrolling target so we can roughly land on hovered item. ocornut 2023-12-12 17:26:02 +0100
  • 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. ocornut 2023-12-06 16:55:55 +0100
  • 51fe0bfcf6 MultiSelect: reworked comments in imgui.h now that we have our own section. ocornut 2023-12-05 18:36:00 +0100
  • 0f633c1d99 MultiSelect: move demo's ExampleSelection to main api as a convenient ImGuiSelectionBasicStorage for basic users. ocornut 2023-12-01 17:49:47 +0100
  • e0282347db MultiSelect: remove ImGuiSelectionRequest/ImGuiMultiSelectIO details from public api to reduce confusion + comments. ocornut 2023-12-01 15:03:43 +0100
  • 0af6fbb51d MultiSelect: added support for nested/stacked BeginMultiSelect(). ocornut 2023-10-26 17:20:33 +0200
  • b747d6fe59 MultiSelect: Demo: rework and move selection adapter inside ExampleSelection. ocornut 2023-10-06 17:10:52 +0200
  • aa4d64be92 MultiSelect: Box-Select: added scroll support. ocornut 2023-09-26 13:44:10 +0200