Reopen closed OpenGL window?

Started by Kefik, June 29, 2006, 10:18:27

Previous topic - Next topic

Kefik

Hi, sorry, I'm probably completely blind - how can I reopen closed window of OpenGL ... or it's set to be destroyed?

I thought it would be something like Display.show() ... it's not :)

Matzon


Kefik

Ya, that's what I thought ... isn't there a way not to doing the destroy? To tell not to destroy Display when Close button is pressed?

Evil-Devil

Why should the window NOT destroyed when the user press the "close" button? Thats dumb. Just reload all your stuff and be happy ;)

When I (the user) close a window (terminate the app) then I assume that I have to restart it.

Fool Running

Doesn't the close button just set the Display.isCloseRequested()? So you can ignore it?
Or is that not what you are looking for?
Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option ;D

Kefik

2Fool Runinning: Damn, I'm completely blind. Thanks - igonring is OK.

2Evil-Devil: Well actualy my application has a few windows and I've got code for initializing the LWJGL and stuff around it like fonts etc. from somebody else ... and I missed that isCloseRequested() in the code - dumb myself :cry: