Full Screen to Windowed

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
BMF
Posts: 62
Joined: Mon Jul 16, 2007 11:10 am
Location: Spain
Contact:

Full Screen to Windowed

Post by BMF »

When creating an irrlicht device, one can specify if fullscreen should be set to true or false, but, how can one change it afterwards?

Say I want the game to change from windowed to full screen and vice-versa on a certain event, what should I do?

Thanks in advance!
kevinlynx
Posts: 24
Joined: Mon Jun 18, 2007 3:45 pm

Post by kevinlynx »

BMF
Posts: 62
Joined: Mon Jul 16, 2007 11:10 am
Location: Spain
Contact:

Post by BMF »

I see.

hybrid said: "If you meant during run-time, i.e. while the device exists, then no, not with Irrlicht methods. You should be able to access the underlying device structure, though, and change the mode using win32 or Linux methods."

Such a pity. I'll see what I can do, then. Sounds like something that should be possible to do in Irrlicht, if I find a way, I'll suggest it for next release version.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

belfegor just announced some code in the code snippets section to do things like this.
Post Reply