Dragging of window, new hooks for derived classes, XP wnd access functions#6
Open
TwinFan wants to merge 11 commits intoxsquawkbox:masterfrom
Open
Dragging of window, new hooks for derived classes, XP wnd access functions#6TwinFan wants to merge 11 commits intoxsquawkbox:masterfrom
TwinFan wants to merge 11 commits intoxsquawkbox:masterfrom
Conversation
as underlying ImGui resources don't copy well. Done by deleting the implicitly declared copy constructor/assignment.
returning the currently valid geometry (OS, VR, or just standard)
Can now define a "drag area": Clicking into that area of a window and dragging moves the entire window. Useful especially for self-decorated windows.
Ie. by defining `IMGUI_DISABLE_OBSOLETE_FUNCTIONS` in `imconfig.h`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi Chris,
thank you for sharing this code!
I had seen your forum thread on ImGui integration, checked out sparker's imgui4xp project and had added to it until it had all functionality that I think I need for turning LiveTraffic's windows into ImGui windows.
Here I want to offer you the changes to ImgWindow. I believe they are backward compatible for any existing code.
In a nutshell this is:
I have added individual commits to my
xsb_publicrepository, separating the functionality in the same order as it originally had been added toimgui4xp, so you should have an easier time following which change supports which functionality.Hope you find this useful