Commit Graph

7607 Commits (edc2f15f5bce0921cece5fa8b1b4053276f6b85e)
 

Author SHA1 Message Date
omar fc9d6b6cb5 Docking: Added experimental flags to perform more docking filtering and disable resize per axis. Designed for toolbar patterns.
The local/shared flags specs, saving and inheriting rules are pretty inconsistent at the moment.
omar a1d2c6fad9 Fixed invalid comment ()
omar 4bdbea8375 Docking: Rework size allocation to allow user code to override node sizes. Not all edge cases will be properly handled but this is a step toward toolbar emitting size constraints.
omar 2b9d88196e Docking: Rework size allocations to recover when there's no enough room for nodes + do not hold on WantLockSizeOnce forever ()
(Ensure if the fact that WantLockSizeOnce was kept when only 1 child is visible was desired/desirable)
omar ab4ef822f0 Version 1.78 WIP
omar 90ea7e2f2f Merge branch 'master' into docking
# Conflicts:
#	imgui.cpp
#	imgui_demo.cpp
#	imgui_internal.h
Rokas Kupstys 0738611559 Misc: Bunch of code formatting changes suggested by a pass running 'astyle'
omar dca7c3c629 TestEngine: Added hook to notify test engine of a removed imgui context.
omar ddabfc3477 Merge branch 'master' into docking
# Conflicts:
#	docs/CHANGELOG.txt
#	imgui.cpp
omar 9418dcb693 Version 1.77
+ fix minor clang-tidy warnings which seems reasonable
omar 122febcdbf IO: Added storage for PenPressure (unused by core library, to facilitate experiments) ()
omar f4f04cb5ec Windows: Amend 6b0cf2e6 to facilitate working in viewport branch + handle safe area padding and ConfigWindowsMoveFromTitleBarOnly.
# Conflicts:
#	imgui.cpp
omar dd02a180b5 Windows: Amend 6b0cf2e6 to facilitate working in viewport branch + handle safe area padding and ConfigWindowsMoveFromTitleBarOnly.
Rokas Kupstys d7ef56dca2 Windows: Fix unintended window size changes when resizing windows close to main viewport edges.
Rokas Kupstys 6b0cf2e6ae Windows: Fix unintended window size changes when resizing windows close to main viewport edges.
omar 45a7cf47ab FAQ update, removed redundant block in imgui.cpp
omar 5628416bd3 Merge branch 'master' into docking
# Conflicts:
#	imgui.cpp
#	imgui_demo.cpp
omar fed80b9537 Popups: Changed 'int mouse_buttons' to ImGuiPopupFlags. Added ImGuiPopupFlags_NoOpenOverExistingPopup, ImGuiPopupFlags_NoOpenOverItems. Refactored signature of BeginPopupContextWindow().
omar 5acf6d861a Popups: Added ImGuiPopupFlags type, ImGuiPopupFlags_AnyPopupId and ImGuiPopupFlags_AnyPopupLevel flags for IsPopupOpen().
# Conflicts:
#	docs/CHANGELOG.txt
omar 1c35750ee0 Added ImGuiCond_None for consistency and for generated bindings needing this for enums mapping.
omar 7538bbabb6 Demo: Commented out ideas on another way to center a window.
omar e1d7e14717 Viewports: used main viewport for centering (wip), clarified the meaning of how ImGuiPlatformMonitor WorkPos/WorkSize should be set if unknown, added asserts.
omar a616ff5d4a BeginPopupModal() doesn't set the ImGuiWindowFlags_NoSavedSettings flag anymore, and will not always be auto-centered. (, )
# Conflicts:
#	imgui.cpp
omar b83a1f3b00 BeginPopupModal() doesn't set the ImGuiWindowFlags_NoSavedSettings flag anymore, and will not always be auto-centered. (, )
omar 68389200c4 Internals: Comments about CalcWrapWidthForPos() ()
omar e0ec69d84b Internals: Added ImageButtonEx() helper to temporarily bypass ID issues (, )
omar 76e40fe5d1 Docking: Fix misuse of PushClipRect in UpdateWindowManualResize(). ()
omar 20d61f5f62 Merge branch 'master' into docking
# Conflicts:
#	imgui.cpp
omar 1a1dcea1a0 Internals: Initialize drawlist earlier in Begin() to facilitate detecting accidental draw earlier than legal. ()
omar 99f68d7958 Docs: Added FAQ entries removed old one which is misleading today. Misc tweaks.
omar 9c2a36f573 Internals: clarified the code for ClampWindowRect().
As a side-effect, some rounding error may be neutralized however this isn't the intent. ()
omar 8ead38c100 Clang: Reduce uses of __has_warning for overall sanity, as compilers are hostile to software targetting multiple compiler version.
omar 704723744e Disabled latest overzealous warnings from Clang
Louis Schnellbach b1d8309abc Added ImGuiTabItemFlags_NoTooltip for individual Tab Item.
ocornut 078571b7a9 Popups: added comments, reorganized the functions in imgui.h
ocornut 6e138504c1 Popups: Fix BeginPopupContextVoid() when clicking over the area made unavailable by a modal. ()
ocornut 37eb89371b Popups: Internals: Added IsAnyPopupOpen().
ocornut d31fe97f74 Popups: Fix an edge case where programatically closing a popup while clicking on its empty space would attempt to focus it and close other popups. ()
ocornut 1dfd0634cb Internals: Allow ItemHoverable() to be used with id==0 to facilitate high-level read-only hover test in widget code.
ocornut 99ab521024 Renamed OpenPopupOnItemClick() to OpenPopupContextItem(). Kept inline redirection function (will obsolete). + Removed CalcItemRectClosestPoint() entry point
ocornut c658cba22b Comments, reworded some !(xxx && xxx) complex expression to be a little less confusing.
omar 90c0c0c163 Columns: Lower overhead on column switches and switching to background channel. (second attempt for 9b3ce49)
Internals: Bits, comments, added ImRect::ToVec4()
Ben Carter d3b37180a3 ImDrawList: Fixed minor bug introduced in 1.75 where AddCircle() with 12 segments would generate an extra unrequired vertex.
Amend 5363af7f47, 051ce0765e
ocornut 2665288b30 Merge branch 'master' into docking
# Conflicts:
#	imgui.cpp
ocornut a933cc4f4d Documentation update
ocornut 64d8d302fb ImDrawList: Fixed VtxOffset change leading to unnecessary leading empty ImDrawCmd in certain cases.
ocornut 16da8e6da6 Revert "Columns: Lower overhead on column switches and switching to background channel (some stress tests in debug builds went 3->2 ms). ()"
This reverts commit 9b3ce494fd.
ocornut 53f0f97273 Added FAQ entry about DPI. Added Japanese font loading example.
ocornut 40b799023b Docs: Update fonts.md () + update all references to FONTS.txt
Scott a72754886f Docs: Initial draft of fonts documentation ()