1405 Commits (1d3862b6b3fad2cf7b2e934b95d5710f38632b32)

Author SHA1 Message Date
omar 1d3862b6b3 Docking: Added ImGuiDockNodeFlags_NoDockingInsideDocRootNode flag. Honoring ImGuiDockNodeFlags_NoSplit in child node is already split (so we can use DockBuilder and then lock the layout). Added those options to the demo. (#2109) ago%!(EXTRA string=7 years)
omar bd82539ad5 Docking: Fixed DockSpace() child window displaying a scrollbar behind the node backgrounds. Rename ImGuiCol_DockingBg to ImGuiCol_DockingEmptyBg. Added ImGuiDockNode::IsLeaftNode(). (#2109) ago%!(EXTRA string=7 years)
omar 2cff3f6a65 Docking: Renamed io.ConfigDockingWithKeyMode to io.ConfigDockingWithShift. ago%!(EXTRA string=7 years)
omar e623be998d Drag and Drop: Added GetDragDropPayload() to peek directly into the payload (if any) from anywhere. (#143) ago%!(EXTRA string=7 years)
omar 4e717b524c Docking: Fixes for C++03 compilers. ago%!(EXTRA string=7 years)
omar 9cfc40c2cc Docking: Demo: Displaying a message if master docking flag is disabled. + DockSpace() early out + comments. ago%!(EXTRA string=7 years)
omar 35d1fb7b34 Style: Added style.TabRounding setting. ago%!(EXTRA string=7 years)
Loïc HAMOT 9aae21483a Fix missing IMGUI_API and mismatching namespace internal's CreateNewWindowSettings (#2105) ago%!(EXTRA string=7 years)
omar 61d94ff88e Renamed SetScrollHere() to SetScrollHereY(). Kept redirection function (will obsolete). ago%!(EXTRA string=7 years)
omar a7d3ae8937 BeginChild(): Fixed BeginChild(const char*, ...) variation erroneously not applying the ID stack to the provided string to uniquely identify the child window. This was undoing an intentional change introduced in 1.50 and broken in 1.60. (#1698, #894, #713) + reworked the Begin/BeginChild comments in imgui.h. ago%!(EXTRA string=7 years)
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)