omar
35032d41fa
Docking: Internals: Transitioning some code toward consistently using ImGuiContext* ctx parameter instead of ImGuiDockContext
ago%!(EXTRA string=7 years)
omar
28094b7cea
Docking: Fixed central docking display with ImGuiDockSpaceFlags_NoSplit, affecting in particular with io.ConfigDockingWithKeyMod = false. + comments, asserts
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)
omar
175bab4f5f
Docking: Removed SplitRatio from ImGuiDockNode and ImGuiDockNodeSettings, which we don't need anymore.
ago%!(EXTRA string=7 years)
omar
ba7b68798d
Docking: Misc rework/rename toward being able to rebuild a branch selectively, so we can honor settings changes on a per Dockspace basis. + Comments
ago%!(EXTRA string=7 years)
omar
132d8c5a99
Viewport: Increased threshold for setting ImGuiViewportFlags_NoFocusOnAppearing. ( #1542 ), 2 doesn't seem enough with some docking setup.
ago%!(EXTRA string=7 years)
omar
85a3fb3bef
Viewport: Fix an issue introduced on ~August 16, which would assert when viewport are disabled. Also made the DestroyPlatformWindow process more sturdy. ( #1542 )
ago%!(EXTRA string=7 years)
omar
6d91055462
Docking: Fixed floating->docking transition on a platform window mistakenly destroying the platform window because the upcoming tab isn't visible and triggers viewport GC. Fixed missing title bar data on recreate window.
ago%!(EXTRA string=7 years)
omar
136fc56af0
Docking: Better handling of window losing its dock node or having its dock node not active.
ago%!(EXTRA string=7 years)
omar
c355ed1267
Docking: Flicker fix when clicking on a Tab leading of a new window, in particular would be noticeable when using nested tab bars.
ago%!(EXTRA string=7 years)
omar
1cefc48f13
Docking: Internal renaming and comments. + Fixed DockNodeMoveChildNodes() to transfer the LastExplicitSize value (was inconsequential afaik).
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
f29b3b4033
Nav: Added a way for code to cancel Alt for menu toggle (ImGuiNavInput_KeyMenu_). Cancelling out on platform window. close request. ( #1542 , #787 )
ago%!(EXTRA string=7 years)
omar
c4e26f4b92
Nav: Added a way for code to cancel Alt for menu toggle (ImGuiNavInput_KeyMenu_). Cancelling out on platform window. close request. ( #1542 , #787 )
ago%!(EXTRA string=7 years)
omar
416918429d
Docking: Added Type enum in ImGuiDockRequest. Renamed fields. DockSpace() skips node update if already submitted (when transitioning from implicit -> explicit DockSpace).
ago%!(EXTRA string=7 years)
omar
e2436ca625
Nav, Focus: Fixed ImGuiWindowFlags_NoBringToFrontOnFocus windows not being restoring focus properly after the main menu bar or last focused window is deactivated.
ago%!(EXTRA string=7 years)
omar
d5692bff00
Nav, Focus: Fixed ImGuiWindowFlags_NoBringToFrontOnFocus windows not being restoring focus properly after the main menu bar or last focused window is deactivated.
ago%!(EXTRA string=7 years)
omar
dcef0c0237
Docking: Updating LastFrameActive earlier in Begin() because BeginDocked() will need to use it. Extracted some code into a DockNodeIsDropAllowedOne() function. Comments.
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
062b1f0463
Fixed calling SetNextWindowSize()/SetWindowSize() with non-integer values leading to accidental alteration of window position. We now round the provided size. ( #2067 )
ago%!(EXTRA string=7 years)
omar
2eaf722fd7
Fixed calling DestroyContext() always saving .ini data with the current context instead of the supplied context pointer. ( #2066 )
ago%!(EXTRA string=7 years)
omar
e381f22ac1
Docking: Added Docking system. (Part 3) ( #351 )
ago%!(EXTRA string=7 years)
omar
9ac1e93aa1
Docking: Added Docking system. (Part 2) ( #351 )
ago%!(EXTRA string=7 years)
omar
5adcb9ce6d
Docking: Added empty skeleton/sections to facilitate diff/patch of incoming code (otherwise git gives us a messier patch).
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
5070c769b8
Internals: Windows hidden with HiddenFramesRegular (but NOT HiddenFramesForResize) preserve their SizeContents, so restoring a auto-resize window after it's been hidden by tabs won't reset its size for a frame. Arguable. Let's see how it goes. (Followup to b48e295bddbf965d7382ec5578ed05d2fe601114)
ago%!(EXTRA string=7 years)
omar
52e0de84a9
Internals: Split RenderTextClipped into two functions.
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
5a679a45cc
Renamed stb_truetype.h to imstb_truetype.h, stb_textedit.h to imstb_textedit.h, and stb_rect_pack.h to imstb_rectpack.h. ( #1718 , #2036 )
...
If you were conveniently using the imgui copy of those STB headers in your project, you will have to update your include paths.
The reason for this change is to avoid conflicts for projects that may also be importing their own copy of the STB libraries. Note that imgui's copy of stb_textedit.h is modified.
ago%!(EXTRA string=7 years)
omar
e58bc3d5b7
Refactor: Tweaked and improved the sectioning to facilitate grepping/moving around and applied to all files. ( #2036 )
ago%!(EXTRA string=7 years)
omar
0b18c11440
Refactor: Moved ImFile functions. ( #2036 )
ago%!(EXTRA string=7 years)
omar
ab64e8f993
Refactor: Moved one indentation level in the bulk of the ShowMetricsWindow() function. Should appear as a small diff if whitespaces changes are ignored. ( #2036 )
ago%!(EXTRA string=7 years)
omar
bb3184af74
Refactor: moved low-layout helpers to imgui_widgets.cpp (Spacing, Dummy, NewLine, Separator, etc.) ( #2036 )
ago%!(EXTRA string=7 years)
omar
cbdce80837
Internals: Refactor: Moved render functions to their own section. ( #2036 )
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
897e5c6231
Viewport: Moved code following refactor. ( #2036 , #1542 )
ago%!(EXTRA string=7 years)
omar
40db2ca098
Fixed a build issue with non-Cygwin GCC under Windows.
ago%!(EXTRA string=7 years)
omar
1007873d94
Misc: merge minor/inconsequential stuff from Docking branch to reduce drift.
ago%!(EXTRA string=7 years)
omar
bcb1441ce7
Version 1.65 WIP
ago%!(EXTRA string=7 years)
omar
5d40d295b3
Comments, readme updates
ago%!(EXTRA string=7 years)