5012 Commits (e32256b4b413ce37ebc37d6f42c924f6d6ee9119)
 

Author SHA1 Message Date
omar e32256b4b4 Merge branch 'viewport' into docking 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 b85f345369 Merge branch 'master' into viewport ago%!(EXTRA string=7 years)
omar c12da2a607 BeginMenu(): Fixed menu popup horizontal offset being off the item in the menu bar when WindowPadding=0.0f. ago%!(EXTRA string=7 years)
omar ca5dc0c019 ColorPicker: Replaced the Separator with a Spacing call. (#2068) 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 1afd29d382 Examples: Using "dear imgui" terminology in all examples headers/comments + fix minor typo. 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)
Elias Daler ec04e8bb05 Fix MSVC's C4312 warning about casting user texture type to void* in ImageButton (#2080) ago%!(EXTRA string=7 years)
omar 9cc63ba279 Internals: Replace unsigned short with ImWchar when dealing with character storage (missing cases) + in imgui_impl_ file keep using neutral type everywhere, added missing explicit cast in three bindings. (#2078) 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 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 df65d4a14f Merge branch 'master' into viewport ago%!(EXTRA string=7 years)
omar d014d0285a DragFloat: Disabled using power curve when one edge is FLT_MAX (broken in 1.61). Disabled setting a default drag speed when one edge is FLT_MAX. (#2024) ago%!(EXTRA string=7 years)
omar af6cf25255 DragFloat: Fixed a situation where dragging with value rounding enabled or with a power curve erroneously wrapped the value to one of the min/max edge. (#2024, #708, #320, #2075). 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)
MindSpunk 7eadcf7d7d example_glfw_vulkan was missing a reference to imgui_widgets.cpp (#2071, #2036) 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 a82be53407 Merge branch 'docking2' into viewport_docking ago%!(EXTRA string=7 years)
omar 49533bc86e Examples: Enabled Docking + Nav by default in the branch. (#351) 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 bd5b38e232 Docking: Added Docking system. Enable with io.ConfigFlags |= ImGuiConfigFlags_DockingEnable. (Part 1) (#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 c039a77d21 Internals: Added ImPool helper structure. Moved ImVec1f. 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 b974fffea0 Merge branch 'master' into viewport 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) ago%!(EXTRA string=7 years)
omar a2616c79fe Merge branch 'master' into viewport 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 31b5b18611 Merge branch 'master' into viewport ago%!(EXTRA string=7 years)