Page 1 of 1

[Implemented] Syntax request: OpenWindowedScreen

Posted: Wed Oct 10, 2012 10:50 pm
by kenmo
Small request here. In the last few years, some function parameters have retroactively been made optional, and I'd like to suggest one more.

OpenWindowedScreen()'s parameters are currently:

Code: Select all

(WindowID, x, y, Width, Height, AutoStretch, RightOffset, BottomOffset [, FlipMode])
I almost never use the AutoStretch parameters, and set them all to 0... it would be nice to just have to write:

Code: Select all

OpenWindowedScreen(WindowID, x, y, Width, Height)
or if you want to take it to the extreme, have the screen size default to (0, 0, WindowWidth, WindowHeight) :mrgreen:

Code: Select all

OpenWindowedScreen(WindowID)