Page 1 of 1

A simple question...I think

Posted: Sat Apr 15, 2006 7:48 am
by Guest
Hi,

I'm have Irrlicht with widget and I need to modify the sreen size, but I didn't find a function that makes this in the API Documentation, I tried to change the size of window with device->setResizeAble(true), doesn't work..

exist any way of changing the screen size?

Thank you,

Posted: Sun Apr 16, 2006 11:00 pm
by Joe_Oliveri
What you want to do is set it up when you create the device like this.

irrDevice = createDevice(EDT_SOFTWARE, dimension2d<s32>(800, 600), 32,
false, false, false, 0);

Of course using the params and render hardware of choice.

Posted: Mon Apr 17, 2006 4:36 am
by Guest
Sorry,

I must have expressed myself bad.

I want to modify the screen size after to use createDevice()

is there how?

Posted: Wed Apr 19, 2006 6:20 am
by selles
well..I think perhaps is not there how..

Posted: Wed Apr 19, 2006 3:24 pm
by xDan
if you mean with the mouse, make sure the cursor is visible and windowed

device->setResizeAble(true);
cursor->setVisible(true);

Posted: Sat Apr 22, 2006 2:06 am
by selles
Well.. t would be interesting if I could alter through the code :wink: