Commit Graph

  • 07a5333fbd Putting imgui docking and no dicking version docking anulax1225 2024-09-28 14:26:31 +0200
  • b165973d1a Cleaned up anulax1225 2024-06-19 08:27:24 +0200
  • 6465614581 Added makefile to gitignore anulax1225 2024-06-18 23:36:12 +0200
  • f40265864e Added bakasable config to docking branch anulax1225 2024-06-18 23:32:53 +0200
  • 12ed7ce125 Added premake5 config to docking branch anulax1225 2024-06-18 23:26:03 +0200
  • 27b0d0f78c ImStrv: allow constructing from two null pointers. features/string_view ocornut 2024-05-03 16:24:52 +0200
  • 69586db0e9 ImStrv: Combo(), ListBox(): maybe seems better to not introducte the ImStrv [] versions? ocornut 2024-04-03 10:02:32 +0900
  • 1e2bf7bda5 ImStrv: convert Combo()/ListBox() to use ImStrv in their getters. ocornut 2024-04-03 09:58:36 +0900
  • 2e0b7cff59 ImStrv: Fixed BeginCombo() with ImGuiComboFlags_CustomPreview + fixes for latest (amended). ocornut 2023-11-06 14:16:25 +0100
  • e30d639ad0 ImStrv: add needed disambiguishing functions for const char* now being ambiguous. (5079) ocornut 2022-09-29 22:51:33 +0200
  • 1e1b8ca20d ImStrv: backtracked for now on supporting ImStrv for format strings. ocornut 2022-08-25 12:54:07 +0200
  • 03607ec1f5 ImStrv: Fixed various compile errors/warnings. ocornut 2022-08-22 11:06:33 +0200
  • c518262382 ImStrv: enhanced VS debugger .natvis support. build fixes. (5333, 5906) 璀境石 2022-08-22 11:05:58 +0200
  • 35697eaa55 ImStrv: standardized code doing format copy, optimized ImStrStr ocornut 2021-05-25 14:08:20 +0200
  • d442f19a03 ImStrv: moved double char* function signatures under #ifndef IMGUI_DISABLE_OBSOLETE_FUNCTIONS blocks. ocornut 2021-03-31 15:06:32 +0200
  • 9032a55b28 ImStrv: changed ImStrv xxx=NULL args to an explicit xxx=ImStrv() ocornut 2021-02-01 17:04:50 +0100
  • 082ecbbc23 ImStrv: Step 2 - change ImStrv typedef to struct, perform all other logic conversion. ocornut 2020-08-24 11:37:01 +0300
  • 3d39cbd035 ImStrv: Step 1 - change string type to ImStrv in API. (REBASED) Rokas Kupstys 2020-07-14 14:14:17 +0300
  • 8141e09bc8 Demo: Assets Browser: added a way to disable sorting and hide sorting options. features/range_select ocornut 2024-06-11 20:56:41 +0200
  • 9aa84f7c88 RangeSelect/MultiSelect: ImGuiSelectionBasicStorage: move function bodies to cpp file. ocornut 2024-06-11 19:45:21 +0200
  • 62ad5f43bf RangeSelect/MultiSelect: ImGuiSelectionBasicStorage: simplify by removing compacting code (compacting may be opt-in?). ocornut 2024-06-11 18:50:30 +0200
  • d062f4d6b1 RangeSelect/MultiSelect: ImGuiSelectionBasicStorage: rework to accept massive selections requests without flinching. ocornut 2024-06-11 18:26:22 +0200
  • 36f940f652 RangeSelect/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
  • b902fa4c44 IO: do not disable io.ConfigWindowsResizeFromEdges when ImGuiBackendFlags_HasMouseCursors is not set by backend. master ocornut 2024-06-11 14:15:13 +0200
  • cd85a75b36 RangeSelect/MultiSelect: comments, header tweaks., simplication (some of it on wiki). ocornut 2024-06-06 14:40:57 +0200
  • 8346e7f4af RangeSelect/MultiSelect: added ImGuiSelectionExternalStorage helper. Simplify bool demo. ocornut 2024-06-05 19:00:13 +0200
  • ce5d1b2fcb RangeSelect/MultiSelect: fixed ImGuiSelectionBasicStorage::Swap() helper. ocornut 2024-06-05 18:32:59 +0200
  • 628902d97e RangeSelect/MultiSelect: added ImGuiSelectionBasicStorage::GetStorageIdFromIndex() indirection to be easier on the reader. ocornut 2024-06-05 17:16:06 +0200
  • deedb600f2 RangeSelect/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
  • 431caec3da RangeSelect/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
  • bd5620b11f RangeSelect/MultiSelect: (breaking) renamed ImGuiMultiSelectFlags_BoxSelect -> ImGuiMultiSelectFlags_BoxSelect1d, ImGuiMultiSelectFlags_BoxSelect2d -> ImGuiMultiSelectFlags_BoxSelect. ocornut 2024-05-31 21:57:10 +0200
  • 35b4a502aa RangeSelect/MultiSelect: Box-select: fixes for checkboxes support. Comments. ocornut 2024-05-31 21:37:45 +0200
  • 5c7e4350bc RangeSelect/MultiSelect: (breaking) renamed ImGuiSelectionBasicStorage::AdapterData to UserData. ocornut 2024-05-30 18:44:57 +0200
  • d2fd78ea7c RangeSelect/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
  • 57ff7c4ef4 RangeSelect/MultiSelect: add GetMultiSelectState() + store LastSelectionSize as provided by user, convenient for quick debugging and testing. ocornut 2024-05-29 15:22:32 +0200
  • b507b33509 RangeSelect/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
  • 0f35ebac60 RangeSelect/MultiSelect: Box-Select: minor refactor, tidying up. ocornut 2024-05-29 14:33:41 +0200
  • 78494c92a2 RangeSelect/MultiSelect: (Breaking) Added current_selection_size to BeginMultiSelect(). ocornut 2023-12-19 14:06:58 +0100
  • 83de5e25ad RangeSelect/MultiSelect: Demo: use Shortcut(). ocornut 2024-05-23 18:56:31 +0200
  • e05496092e RangeSelect/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
  • e3df9e8a7a RangeSelect/MultiSelect: added ImGuiMultiSelectFlags_NoAutoSelect, ImGuiMultiSelectFlags_NoAutoClear features + added Checkbox Demo ocornut 2024-03-07 16:26:22 +0100
  • 24926aa717 RangeSelect/MultiSelect: Demo: make various child windows resizable, with synched heights for the dual list box demo. ocornut 2024-03-07 15:52:30 +0100
  • 348561f99f RangeSelect/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
  • 408e62dbfe RangeSelect/MultiSelect: Simplified ImGuiSelectionBasicStorage by using a single SetItemSelected() entry point. ocornut 2024-03-06 15:04:03 +0100
  • 80c6bc8738 RangeSelect/MultiSelect: (Breaking) merge ImGuiSelectionRequestType_Clear and ImGuiSelectionRequestType_SelectAll into ImGuiSelectionRequestType_SetAll., rename ImGuiSelectionRequest::RangeSelected to Selected. ocornut 2024-03-06 14:22:38 +0100
  • 60305e39c2 RangeSelect/MultiSelect: Fixed ImGuiMultiSelectFlags_SelectOnClickRelease over tree node arrow. ocornut 2024-01-12 12:05:03 +0100
  • 1f6239de4e RangeSelect/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
  • 7d1246e248 RangeSelect/MultiSelect: Box-Select: Fixed CTRL+drag from void clearing items. ocornut 2024-01-04 19:13:42 +0100
  • 130714fba3 RangeSelect/MultiSelect: Added ImGuiMultiSelectFlags_NoRangeSelect. Fixed ImGuiMultiSelectFlags_ScopeRect not querying proper window hover. ocornut 2024-01-04 18:41:20 +0100
  • 4cdc7bf150 RangeSelect/MultiSelect: Comments + Assets Browser : Tweak colors. ocornut 2023-12-21 15:12:17 +0100
  • c0c5f3dbc7 RangeSelect/MultiSelect: Fixed ImGuiSelectionBasicStorage::ApplyRequests() incorrectly maintaining selection size on SelectAll. ocornut 2023-12-21 14:29:01 +0100
  • 4fb97db4af RangeSelect/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
  • 3c20d552da RangeSelect/MultiSelect: Box-Select: Fixed scrolling on high framerates. ocornut 2023-12-20 22:31:07 +0100
  • a2c287ce58 RangeSelect/MultiSelect: Box-Select: Refactor: Renames. ocornut 2023-12-20 22:19:55 +0100
  • a5d6cf872e RangeSelect/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
  • 44bab4ab28 RangeSelect/MultiSelect: Box-Select: Added ImGuiMultiSelectFlags_BoxSelect2d support. Enabled in Asset Browser. Selectable() supports it. ocornut 2023-12-20 21:14:09 +0100
  • 08d540fc5c RangeSelect/MultiSelect: Box-Select: Fixed holes when using with clipper (in 1D list.) ocornut 2023-12-20 11:34:25 +0100
  • 7d9c448cfb RangeSelect/MultiSelect: Demo: Assets Browser: track scrolling target so we can roughly land on hovered item. ocornut 2023-12-12 17:26:02 +0100
  • c2a09cb30a RangeSelect/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
  • 0ce1418295 RangeSelect/MultiSelect: reworked comments in imgui.h now that we have our own section. ocornut 2023-12-05 18:36:00 +0100
  • 4d4d30510b RangeSelect/MultiSelect: move demo's ExampleSelection to main api as a convenient ImGuiSelectionBasicStorage for basic users. ocornut 2023-12-01 17:49:47 +0100
  • b066d839e8 RangeSelect/MultiSelect: remove ImGuiSelectionRequest/ImGuiMultiSelectIO details from public api to reduce confusion + comments. ocornut 2023-12-01 15:03:43 +0100
  • 4a11a9b0b9 RangeSelect/MultiSelect: support for nested/stacked BeginMultiSelect(). ocornut 2023-10-26 17:20:33 +0200
  • 40c274ee35 RangeSelect/MultiSelect: Demo: rework and move selection adapter inside ExampleSelection. ocornut 2023-10-06 17:10:52 +0200
  • de8a6d0722 RangeSelect/MultiSelect: Box-Select: added scroll support. ocornut 2023-09-26 13:44:10 +0200
  • b642c88a30 RangeSelect/MultiSelect: Box-Select: added support for ImGuiMultiSelectFlags_BoxSelect. ocornut 2023-08-29 16:27:31 +0200
  • fd6d5d6703 RangeSelect/MultiSelect: (breaking) renamed ImGuiMultiSelectFlags_ClearOnClickWindowVoid -> ImGuiMultiSelectFlags_ClearOnClickVoid. Added ImGuiMultiSelectFlags_ScopeWindow, ImGuiMultiSelectFlags_ScopeRect. ocornut 2023-09-25 19:53:02 +0200
  • 3a8a88c8f5 Demo: Assets Browser: add hit spacing, requierd for box-select patterns. ocornut 2023-09-25 17:21:19 +0200
  • f5fac870e1 RangeSelect/MultiSelect: simplify clearing ImGuiMultiSelectTempData. ocornut 2023-09-27 14:24:23 +0200
  • 84600712d5 RangeSelect/MultiSelect: use a single ImGuiMultiSelectIO buffer. ocornut 2023-09-22 15:34:25 +0200
  • 075e223a1d RangeSelect/MultiSelect: added support for recovery in ErrorCheckEndWindowRecover(). ocornut 2023-09-22 15:28:04 +0200
  • 2755c0f819 RangeSelect/MultiSelect: we don't need to ever write to EndIO.RangeSrcItem as this is not meant to be used. ocornut 2023-09-22 15:05:38 +0200
  • a882002c0b RangeSelect/MultiSelect: (Breaking) io contains a ImVector<ImGuiSelectionRequest> list. ocornut 2023-09-22 14:23:40 +0200
  • 5e2b4f3f43 RangeSelect/MultiSelect: added missing call on Shutdown(). Better reuse selection buffer. ocornut 2023-09-22 14:30:56 +0200
  • 0416519d80 RangeSelect/MultiSelect: clarified purpose and use of IsItemToggledSelection(). Added assert. Moved to multi-selection section of imgui.h. ocornut 2023-09-21 20:40:21 +0200
  • 084fdc054f RangeSelect/MultiSelect: removed seemingly unnecessary block in BeginMultiSelect(). ocornut 2023-09-20 19:10:08 +0200
  • 7c6b4f5892 Demo: Assets Browser: store items, sorting, type overlay. ocornut 2023-09-01 14:54:28 +0200
  • 738af3ea80 Demo: Assets Browser: Added assets browser demo. ocornut 2023-08-31 20:06:22 +0200
  • c9d8068bbe RangeSelect/MultiSelect: Added ImGuiMultiSelectFlags_SelectOnClickRelease to allow dragging an unselected item without altering selection + update drag and drop demo. ocornut 2023-08-31 15:50:01 +0200
  • 6f9d36c6f2 RangeSelect/MultiSelect: move shared logic to MultiSelectItemHeader(). ocornut 2023-08-31 15:03:51 +0200
  • 4b15ee88a0 RangeSelect/MultiSelect: moved RequestClear output so it'll match request list version better. Use Storage->RangeSrcItem in EndMultiSelect(). ocornut 2023-08-29 18:53:58 +0200
  • 79b3439fda RangeSelect/MultiSelect: ImGuiMultiSelectIO's field are not used during loop anymore, stripping them out of comments. ocornut 2023-08-29 18:18:24 +0200
  • ea8d15cfa1 Demo: Dual List Box: Added a dual list box (6648) ocornut 2023-08-23 15:53:50 +0200
  • 7355e7c895 RangeSelect/MultiSelect: Demo: Deletion: Various renames to clarify. Use adapter and item list in both ApplyDeletion functions. ocornut 2023-08-28 16:33:30 +0200
  • 723973a8b3 RangeSelect/MultiSelect: Demo: Deletion: Rework ApplyDeletionPreLoop to use adapter + fix PostLoop not using right value of RequestFocusItem. ocornut 2023-08-23 16:48:04 +0200
  • c2ac70973e RangeSelect/MultiSelect: Demo: Make ExampleSelection use ImGuiID. More self-explanatory. ocornut 2023-08-28 17:36:59 +0200
  • 7c44b46456 RangeSelect/MultiSelect: Demo: Remove UserDataToIndex from ExampleSelectionAdapter. ocornut 2023-09-01 16:09:41 +0200
  • 1fdb880118 RangeSelect/MultiSelect: Demo: rework ExampleSelection with an ExampleSelectionAdapter layer, allowing to share more code accross examples using different storage systems. ocornut 2023-08-23 15:53:20 +0200
  • 157efbb7ad RangeSelect/MultiSelect: (Breaking) Removed RangeSrcPassedBy in favor of favoring user to call IncludeByIndex(RangeSrcItem) which is easier/simpler to honor. ocornut 2023-08-23 20:45:02 +0200
  • d55eb33491 RangeSelect/MultiSelect: Demo: added simpler demo using Clipper. Clarify RangeSrcPassedBy doc. ocornut 2023-08-23 19:47:24 +0200
  • f4644bce0e RangeSelect/MultiSelect: Demo: rework ExampleSelection names to map better to typical user code + variety of Comments tweaks. ocornut 2023-08-22 17:46:19 +0200
  • e26dc83071 RangeSelect/MultiSelect: (Breaking) RequestSetRange's parameter are RangeFirstItem...RangeLastItem (which was always ordered unlike RangeSrcItem...RangeDstItme). Removed RangeDstItem. Removed RangeDirection. ocornut 2023-08-21 19:20:51 +0200
  • 4db4912d35 RangeSelect/MultiSelect: clear selection when leaving a scope with a nav directional request. ocornut 2023-08-15 18:11:14 +0200
  • 17b1bf2c5c RangeSelect/MultiSelect: Tweak debug log to print decimal+hex values for item data. ocornut 2023-08-08 14:47:50 +0200
  • 9b778ae71e RangeSelect/MultiSelect: move HasSelectionData to ImGuiItemFlags to facilitate copying around in standardized fieds. ocornut 2023-08-07 18:53:57 +0200
  • d0f6c7a9ce RangeSelect/MultiSelect: (Breaking) Use ImGuiSelectionUserData (= ImS64) instead of void* for selection user data. ocornut 2023-08-07 12:38:24 +0200
  • 27300e95e5 RangeSelect/MultiSelect: Comments, tweaks. ocornut 2023-08-07 12:34:20 +0200
  • ec228c2c71 RangeSelect/MultiSelect: (Breaking) Fix + Rename ImGuiMultiSelectFlags_NoMultiSelect to ImGuiMultiSelectFlags_SingleSelect as it seems easier to grasp. ocornut 2023-08-04 10:23:44 +0200
  • ecba972102 RangeSelect/MultiSelect: Cleanup unused comments/code. ocornut 2023-06-08 15:01:10 +0200
  • 1c7f3590a2 RangeSelect/MultiSelect: Fixed right-click handling in MultiSelectItemFooter() when not focused. ocornut 2023-06-07 17:40:59 +0200