pixel
pixel copied to clipboard
Gui using nucular, "stealing" window?
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
the problem with using 2 windows is, when the game windows is closed, glfw is unloaded so the other window crashes
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
@ghost Can you elaborate on the problem?