-
Notifications
You must be signed in to change notification settings - Fork 39
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
add support for multiple owo-ui windows #161
add support for multiple owo-ui windows #161
Conversation
on 1.20.2 now |
Why was this closed? |
I didn't want to continue maintaining a PR that didn't get any feedback after 1 month |
Yeah, that's fair. But damn, been looking forward to it since it was mentioned you were working on it |
I can try to extract it into a separate library if you want to play around with it. |
Also, like, if there's any indication that this will be actually looked at (so that I won't have to bump the PR 6 times) I'll reopen this PR |
Yeah, if owo doesn't end up having it, then that would be awesome ❤️ |
fuck it |
c75b98e
to
957512b
Compare
it's not really relevant and should probably be in a separate PR
also turn OwoWindow into something more builder-style
also make uwu test window transparent
Adds support for opening windows from the main Minecraft window through the
OwoWindow
class(and the more bare bonesFramebufferWindow
class).Changes
FramebufferWindow
allows creating a low-level separate window, with rendering fully managed by the userOwoWindow
creates a window with an owo-ui component as the root, managing events and registering itself itselfWindowContext
/CurrentWindowContext
allow detecting the current window and registering per-window features (which is useful for UI components that create window-sized framebuffers or screens)