1691 Commits (adbbd17cb66f5a1635d209b55d8599fcad369e5f)

Author SHA1 Message Date
omar 45731cca19 Docking: Added DockBuilderForkNode() primitive for usage for user code to fork/copy entire layouts. This will probably need to be added to as I find ways to migrate patterns from user code to the library. Added IMGUI_DEBUG_DOCKING_INI helper to facilitate debugging. (+1 squashed commits) ago%!(EXTRA string=7 years)
omar dc92431328 Docking: Minor renaming. DockContextAddNode() uses 0 as marker for automatic ID selection + TODO update and moved docking entries to docs/TODO.txt ago%!(EXTRA string=7 years)
omar d3e8e5731a Docking: Renamed SetNextWindowDock() to SetNextWindowDockId(). Added GetWindowDockId(). ago%!(EXTRA string=7 years)
omar 53a5d32df1 Docking: Reworked SetNextWindowUserType() as SetNextWindowDockFamily(), allowing multiple scene to be tagged with their scene id and not receive tabs from other scene + persistent storage for family id to allow for docking tree fork/remap. ago%!(EXTRA string=7 years)
omar 781a7950d7 ImVector: Fixed a oddly unqualified return type in the assignment operator (I assume C++ handles it nicely as this never warned anywhere, but it is completely unintentional). ago%!(EXTRA string=7 years)
omar 3e47978a80 Docking: Renamed ImGuiDockSpaceFlags to ImGuiDockNodeFlags. Clarified in comments/demos that DockSpace creates a Node. Renamed IsExplicitRoot to IsDockSpace. Assert against explicitly calling DockSpace twice in a frame. ago%!(EXTRA string=7 years)
omar b55b9aee9b Fixed bad merge (a82be53) where we lost the version number in Docking branch + moved Docking related API together for now. ago%!(EXTRA string=7 years)
omar 0f1c21a6c9 Docking: Changed DockSpace() signature to take an ID, as ID will frequently be used by other API it makes more sense to let the user compute it. ago%!(EXTRA string=7 years)
ice1000 201fcfd2e5 Internals: Replace unsigned short with ImWchar when dealing with character storage. (#2078) ago%!(EXTRA string=7 years)
omar 211a9c8fd2 Docking: Added ImGuiDockSpaceFlags_KeepAliveOnly, important for multiple level of tabs. (also renamed ImGuiDockFlags to ImGuiDockSpaceFlags.) ago%!(EXTRA string=7 years)
omar a68c98bb67 Docking: Added SetNextWindowUserType() + user type filtering in dockspace and window merging. Added DockSpace() flag ImGuiDockFlags_NoSplit. Renaming. Reworked the DockNodeUpdateFindOnlyNodeWithWindows code so DockNodeUpdate can access the first window. ago%!(EXTRA string=7 years)
omar b872aa5c8e Docking: io.ConfigResizeWindowsFromEdges default to true in Docking branch. Moved code in BeginTabItem(). ago%!(EXTRA string=7 years)
omar bd5b38e232 Docking: Added Docking system. Enable with io.ConfigFlags |= ImGuiConfigFlags_DockingEnable. (Part 1) (#351) ago%!(EXTRA string=7 years)
omar 2ec135c9f7 Docking: Added ImVec2[] non const operator. Added ImStrSkipBlank. Reseting some values earlier in Begin. Added IMGUI_DEBUG_LOG() helper. Added docking source code section. ago%!(EXTRA string=7 years)
omar 58d46e1fe6 Tabs: Added BeginTabBar(), EndTabBar(), BeginTabItem(), EndTabItem() + demo. (#261, #351) ago%!(EXTRA string=7 years)
omar 741bdf151a Added ImGuiWindowFlags_UnsavedDocument flags. ago%!(EXTRA string=7 years)
omar eb7033e75b Version 1.66 WIP ago%!(EXTRA string=7 years)
omar e0cab5664a Version 1.65 ago%!(EXTRA string=7 years)
omar 8601c39571 Viewport: Making the code a little more sturdy (flag changes) + added descriptions. (#1542) ago%!(EXTRA string=7 years)
omar 65876f348a Nav: Removed the [Beta] tag from various descriptions of the gamepad/keyboard navigation system. Although it is not perfect and will keep being improved, it is fairly functional and used by many. (#787) ago%!(EXTRA string=7 years)
omar 77ba883f23 Renamed io.OptCursorBlink/io.ConfigCursorBlink to io.ConfigInputTextCursorBlink. (#1427) + changed ImGuiIO layout. ago%!(EXTRA string=7 years)
omar bbcc976739 Demo: Added a "Configuration" block to make io.ConfigFlags/io.BackendFlags more prominent. ago%!(EXTRA string=7 years)
omar b944aa623c Minor mostly inconsequential merges from Viewport + LoadIniSettingsFromMemory() entirely skip lines starting with ';' ago%!(EXTRA string=7 years)
omar a848807847 Minor inconsequential merges from Master/Docking branches ago%!(EXTRA string=7 years)
omar bcb1441ce7 Version 1.65 WIP ago%!(EXTRA string=7 years)
omar 48db5713d6 Version 1.64 ago%!(EXTRA string=7 years)
omar 6c34bffbb5 Version 1.64 WIP ago%!(EXTRA string=7 years)
omar f2aa124eb8 Version 1.64 WIP ago%!(EXTRA string=7 years)
omar 9e0f24dcb6 Version 1.63 ago%!(EXTRA string=7 years)
omar ec148988f0 Reordered some declarations in imgui.h (in prevision of 1.64 refactor) ago%!(EXTRA string=7 years)
omar a082692b0a ImFontAtlas Comments (#2042) + added ImGuiFontAtlas_None for consistency. ago%!(EXTRA string=7 years)
omar 042f88e5f0 Removed obsolete redirection functions: CollapsingHeader() variation with 2 bools - marked obsolete in v1.49, May 2016. ago%!(EXTRA string=7 years)
omar 3612885dea Comments, demo ago%!(EXTRA string=7 years)
omar 0810d57819 Renamed IsItemDeactivatedAfterChange() to IsItemDeactivatedAfterEdit() for consistency with new IsItemEdited() API. Kept redirection function (will obsolete fast as IsItemDeactivatedAfterChange() is very recent). (#820, #956, #1875, #2034) ago%!(EXTRA string=7 years)
omar e28b1078f5 Added IsItemEdited() to query if the last item modified its value (or was pressed). This is equivalent to the bool returned by most widgets. It is useful in some situation e.g. using InputText() with ImGuiInputTextFlags_EnterReturnsTrue. (#2034) ago%!(EXTRA string=7 years)
omar 102d5e6de6 Rearrange header comments to find enums easily + fixed inconsistent sorting. ago%!(EXTRA string=7 years)
omar ea9f5d7600 Added optional misc/stl/imgui_stl.h wrapper to use with STL types (e.g. InputText with std::string). (#2035, #2006, #1443, #1008) ago%!(EXTRA string=7 years)
omar 8d639ec60d InputText: callback InsertChars() support resize callbacks correctly (followup to 24ff259) + fixed demo to use those functions. (#2006, #1443, #1008). ago%!(EXTRA string=7 years)
omar 2dc5ec95d7 Internals: InputText: Renaming. Comments. ago%!(EXTRA string=7 years)
omar 9f393c38e9 InputText: Renamed ImGuiTextEditCallback to ImGuiInputTextCallback, ImGuiTextEditCallbackData to ImGuiInputTextCallbackData for consistency. Kept redirection types (will obsolete). ago%!(EXTRA string=7 years)
omar 24ff259816 InputText: Added support for buffer size/capacity changes via the ImGuiInputTextFlags_CallbackResize flag. (#2006, #1443, #1008). ago%!(EXTRA string=7 years)
omar 4de6e1f7e4 InputText: Internal renaming of some fields + final copy uses edit_state.CurLenA+1 instead of buf_size. ago%!(EXTRA string=7 years)
omar e6c78f9470 InputText: (Breaking change) removed ImGuiTextEditCallbackData::ReadOnly since it is a duplication of (ImGuiTextEditCallbackData::Flags & ImGuiInputTextFlags_ReadOnly) (#211) ago%!(EXTRA string=7 years)
omar 5942c08143 Added IMGUI_VERSION_NUM for easy compile-time testing. (#2025) ago%!(EXTRA string=7 years)
omar 8972ebae73 Metrics: Added io.MetricsActiveAllocations, moving away from the cross-context global counters than we previously used. (#1565, #1599, #586) ago%!(EXTRA string=7 years)
omar 4e33aeed82 Selectable: Added ImGuiSelectableFlags_Disabled flag in the public API. (#211) ago%!(EXTRA string=7 years)
omar bc6ac8b2ae Metrics: Changed io.MetricsActiveWindows to reflect the number of active windows (!= from visible windows), which is useful for lazy/idle render mechanisms as new windows are typically not visible for one frame. ago%!(EXTRA string=7 years)
omar cc64bd9e3c Comments ago%!(EXTRA string=7 years)
omar 87e2fea09d Renamed io.OptResizeWindowsFromEdges to ConfigResizeWindowsFromEdges, io.OptCursorBlink to io.ConfigCursorBlink, io.OptMacOSXBehaviors to ConfigMacOSXBehaviors for consistency. (#1427, #1495, #822, #473, #650) ago%!(EXTRA string=7 years)
omar faf2c34149 Drag and Drop: Added ImGuiDragDropFlags_SourceAutoExpirePayload flag to force payload to expire if the source stops being submitted. (#1725, #143). ago%!(EXTRA string=7 years)