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

Gui using nucular, "stealing" window? #127

Open
ghost opened this issue Jul 19, 2018 · 3 comments
Open

Gui using nucular, "stealing" window? #127

ghost opened this issue Jul 19, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 19, 2018

Hi,

i am studying software engeneering and want to try out some stuff in Go,
as far as i know i can not override "functions"...
so, i am using aarzilli/nucular to get an gui for my application.

now i have an gui with some buttons, lets call them:
-play
-options
-exit

lets just concentrate onto play,
when i click play, i want that pixel "steals" the active window made by nucular, instead of creating it´s own.
as both are using "glfw" technically it would be possible?

Is there somebody who did accomplish such an task, and might have an example or an LOC thet might help?

Thanks
Daniel

@ghost
Copy link
Author

ghost commented Jul 19, 2018

the problem with using 2 windows is, when the game windows is closed, glfw is unloaded so the other window crashes

@theothertomelliott
Copy link

Hi Daniel,

Are there particular properties that you'd want to somehow retain from the nuclular window? Would it be reasonable to close the nucular window and open a pixel window in the same place with the same size?

Tom

@delp
Copy link
Contributor

delp commented May 26, 2020

@ghost Can you elaborate on the problem?

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

No branches or pull requests

2 participants