Commit Graph

4386 Commits (0eaddb4dcd1b428d2f27e885bf674c9585863b62)
 

Author SHA1 Message Date
omar e045eddd77 Minor tweaks. Using ImGuiAxis defines.
omar 92f7bd3605 Fixed 64-bit warnings.
omar cc2c023880 Fixed scrollbar issue, followup to beda5fc5a0 and 2df8fa95df.
omar e6215b6ca0 Merge branch 'master' into navigation + merge fix
# Conflicts:
#	imgui.cpp
omar 3c9f9a455e Internals: Cleanup FindBestPopupWindowPos() to be more digestible, since we are bounds to rework the logic there. No functional changes intended. FIXED TYPO.
omar 8959c64b33 Internals: Cleanup FindBestPopupWindowPos() to be more digestible, since we are bounds to rework the logic there. No functional changes intended
omar abe5ad3c7a Demo: Added display for IsMouseDragging() function.
omar 94bf12f14b Demo: Display better mouse cursor info for debugging backends.
omar 20c7aab60c Exposed GetOverlayDrawList(). (~#545, ~#530)
omar 6deb865f78 Nav: Merge fix.
omar 2fc6a82665 Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui.h
omar 8f41508c52 Begin: Move the code that update the Appearing flag above the BeginDocked() branch.
omar 2fc9a2e6e7 Fixed nav branch merge issue.
omar beda5fc5a0 Fixed scrollbar enable/disable calculation when size is modified programmatically. This is the generalization of the fix in 2df8fa95df.
omar ecacaf7f2d Lower-right resize grip only appears when hovered. ()
omar 3b7e4eaf38 Comments about ImGuiWindowFlags_ResizeFromAnySide. Removed hovering color. May need its own color. ()
omar 531e559e49 Windows can be resized from their borders when ImGuiWindowFlags_ResizeFromAnySide is set. () The interaction is currently unsatisfying because we can only reach a window from its inner rectangle (because of HoveredWindow filtering).
omar e103fe8c1f Tweak four-corners resize grip code. Added ImRect::FixInverted() helper. ()
omar 90ae1c59c4 Added ImGuiWindowFlags_ResizeFromAnySide flag and code to resize from any of the 4 corners (only 2 corners enabled). ()
omar fe2cf231a8
Update README.md
omar 729333293c Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
#	imgui.h
omar 0f119865a6 Comments about ImGuiWindowFlags_ResizeFromAnySide. Removed hovering color. May need its own color. ()
omar 5686c72bbd Windows can be resized from their borders when ImGuiWindowFlags_ResizeFromAnySide is set. () The interaction is currently unsatisfying because we can only reach a window from its inner rectangle (because of HoveredWindow filtering).
omar b9dc0caee3 Tweak four-corners resize grip code. Added ImRect::FixInverted() helper. ()
omar 2ca4f9e862 Added ImGuiWindowFlags_ResizeFromAnySide flag and code to resize from any of the 4 corners (only 2 corners enabled). ()
omar 364251146b Merge branch 'master' into navigation
# Conflicts:
#	imgui.cpp
omar 77d1a4b636 Fixed a one frame glitch, when window claiming focus themselves on appear, the title bar wouldn't use the focused color on that frame.
omar 16d9fa30b2 Merge branch 'master' into drag_and_drop
omar 5f7cd7fb1c Internals: Splitter Behavior doesn't show a border. ()
omar be6384eb2a Style: Tweaked default WindowRounding value from 9 to 7 ()
omar c860a0a85c Internals: ImRect: Added IsFinite() helper.
omar aea3fe41b9 Style: Tweaks Dark and Light styles. ()
omar 6ea744d8f4 Drag and Drop: Added DragSource from color square. Added DragTarget on ColorEdit4 widget. ()
omar 81cbaef806 Merge branch 'master' into navigation
omar 0d53c8d480 Demo: Console: Fixed incorrect positioning which was hidden by a minor scroll issue (this would affect people who copied the console code as is)
omar b513fdce48 Scrolling: SetScrollFromPosY() tweak to match change in a0d53fee81084a547bf21f46e736ea89f79fffb5 with similar desirable jump/discontinuity at each limit to skip the (ItemSpacing>WindowPadding) difference (followup to 0e5b64ecd2, )
omar c36e586cce Style, Scrolling: Fixed padding and scrolling asymetry where lower/right sides of a window wouldn't use WindowPadding properly + causing minor scrolling glitches.
omar a20fe279c5 Demo: Layout: Removed unnecessary BeginChild/EndChild calls
omar 25c159fac8 Internals: Removed unnecessary duplicate scrolling code + added extra infos to Metrics window.
omar 52e475230f Settings: Internals: Renaming.
omar 2e1013a0c6 Settings: Internals: Simplifying code a bit. Creating Settings structure during first save. Windows where ImGuiWindowFlags_NoSavedSettings was late toggled will save settings correctly. ()
omar 7ae71e4984 Settings: Internals: Added FindSettingsHandler()
omar 35eb5c5c99 Settings: Internals: Exposed FindWindowSettings(). Simplified some code.
omar 963259d128 Settings: Internals: Renamed ImGuiSettingsWindow to ImGuiWindowSettings.
omar 63712d5f5c Merge branch 'master' into drag_and_drop
omar 9191b17218 Merge branch 'master' into navigation
omar 4a43632163 Build fix
omar 1a8a7c9d17 Settings: Import old style .ini file
omar c8b5b569da Examples: DirectX9: Call EndFrame(), fix for assert added in 9a44d447cd
omar e5ebe42207 Settings: Make ImGuiWindow settings always first in the list.