8000 Implement Docking features by masc-it · Pull Request #261 · pyimgui/pyimgui · GitHub
[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Docking features #261

Merged
merged 15 commits into from
Oct 27, 2022
Merged

Implement Docking features #261

merged 15 commits into from
Oct 27, 2022

Conversation

masc-it
Copy link
@masc-it masc-it commented Feb 16, 2022

No description provided.

_ImGuiViewport.dpi_scale, parent_viewport_id, id,draw_data, pos
PlatformRequestMove, PlatformRequestResize, PlatformRequestClose
@masc-it masc-it mentioned this pull request Feb 16, 2022
2 tasks
Comment on lines +2211 to +2217
// [ALPHA] Rarely used / very advanced uses only. Use with SetNextWindowClass() and DockSpace() functions.
// Important: the content of this class is still highly WIP and likely to change and be refactored
// before we stabilize Docking features. Please be mindful if using this.
// Provide hints:
// - To the platform backend via altered viewport flags (enable/disable OS decoration, OS task bar icons, etc.)
// - To the platform backend for OS level parent/child relationships of viewport.
// - To the docking system for various options and filtering.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Considering the docking branch is WIP, and this api is alpha, it is very likely to change in the future.
In a case like that, it would make sense (imo) to not include it?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I do agree. However many features introduced in the docking branch are in beta and may also change. I am not against mapping alpha/beta functionalities as long as it is properly documented. We can always change and document our interface in a future version as well.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree as well and going to comment it, maybe it will be useful in the next future. BTW, I have added it since it is used by SetNextWindowClass(const ImGuiWindowClass* window_class) explicitly.

@mCodingLLC
Copy link

This PR looks good and has a lot of great progress towards docking. Is there anything preventing it from being merged at this point?

@KinoxKlark
Copy link
Member

I think the only thing that prevents it right now is a lake of time on my part. Sorry ^^
I'll try to take some time to manage it as soon as possible. Thanks for showing interest!

@mCodingLLC
Copy link

No need to apologize, we are all donating our time here so I appreciate any availability you have. But yes, I'm very interested!

@KinoxKlark KinoxKlark merged commit fd64fd4 into pyimgui:docking Oct 27, 2022
@KinoxKlark
Copy link
Member

I finally took time to merge this PR, I hope it will help some of you to move forward with this docking feature. Thanks a lot for the help! Sorry that it took me so long.

I didn't test it intensively, hope it is okay since this branch is still a work in progress. I quickly read the modifications and tested locally that localisation and tests worked fine. If someone see a problem, please let me know.

@KinoxKlark KinoxKlark added the release pending Merged but still needs official release label Oct 27, 2022
@KinoxKlark KinoxKlark removed the release pending Merged but still needs official release label Apr 19, 2023
6D53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0