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

Does Pixel support embedding in other GUI widgets? #130

Open
NaniteFactory opened this issue Aug 2, 2018 · 5 comments
Open

Does Pixel support embedding in other GUI widgets? #130

NaniteFactory opened this issue Aug 2, 2018 · 5 comments
Labels

Comments

@NaniteFactory
Copy link
Contributor

NaniteFactory commented Aug 2, 2018

There are several GUI frameworks out there like Qt, GTK, etc. Pixel is a great library for 2D game developments and I want it to integrate with them. Is there a way to embed Pixel canvases into other windows of GUI libraries? Thanks.

@faiface
Copy link
Owner

faiface commented Sep 2, 2018

It might be possible, but I haven't attempted that and don't really know how to do it.

@hamogor
Copy link

hamogor commented Oct 7, 2019

@NaniteFactory Did you ever get anywhere with this?

@NaniteFactory
Copy link
Contributor Author

@Oref No, I haven't got a clue. But it'd be great if someone had this feature implemented in Pixel..

@delp delp added the feature label May 26, 2020
@dusk125
Copy link
Collaborator

dusk125 commented Jul 15, 2020

I've been working on embedding imgui widgets into a pixel window (and using the pixel rendering stack). I'm ironing out the last few issues to get it ready for general use; pixelui. If you were interested in embedding a different GUI framework, this could potentially be used as a guide; if you just wanted a gui system, this should just work for you.

@Asday
Copy link

Asday commented Jul 15, 2020

Pixel renders with OpenGL and it seems like Qt supports embedding OpenGL views: https://doc.qt.io/archives/qt-4.8/qt-opengl-hellogl-example.html

Does that help at all?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants