Page 1 of 1

[Implemented] ScreenWidth() and ScreenHeight()

Posted: Thu Apr 06, 2006 8:06 pm
by Joakim Christiansen
A ScreenWidth() and ScreenHeight() to get the width and height of the currently opened screen.

Posted: Thu Apr 06, 2006 9:22 pm
by Kale
Surely you know this because you have already opened it?

Posted: Thu Apr 06, 2006 9:37 pm
by Trond
Windowed screens can auto-resize to the window with offsets and you don't know what.

Posted: Thu Apr 06, 2006 10:04 pm
by va!n
afaik, when using screen with windowedscreen and resizing the window, the screen will be automatical resized too.

Posted: Thu Apr 06, 2006 11:11 pm
by Kale
I forgot about windowed screens, Yes this could be useful.

Posted: Fri Apr 07, 2006 12:00 am
by Fred
In windowed screen, the screen size does really change, the display is only 'stretched'.

Posted: Fri Apr 07, 2006 12:15 am
by Joakim Christiansen
Kale wrote:Surely you know this because you have already opened it?
Yeah but... sometimes it could be quite handy...
Let's say you're making a include-file and that file need to know the width of the screen, but you don't want it to share variables with the other file because then the whole thing get's messy and stuff like that.... :lol:

I just think it would be cool to have. :twisted:

Posted: Fri Apr 07, 2006 12:17 am
by Joakim Christiansen
Fred wrote:In windowed screen, the screen size does not really change, the display is only 'stretched'.
I added a word for you, I guess it's what you ment to write... :wink:

Posted: Fri Apr 07, 2006 12:27 am
by Fred
:wink:

Posted: Fri Apr 07, 2006 12:46 pm
by va!n
yes, stretched... its exactly what i mean ;)

Posted: Fri Apr 07, 2006 4:31 pm
by Kale
Fred wrote:In windowed screen, the screen size does really change, the display is only 'stretched'.
I see, i don't think i've ever used a windowed screen. :oops: i'll have to have a look now. :)