Contents | Index | < Browse | Browse >
MAKESCREEN ScreenName Depth|(Width/Height/Depth/Mode) Title
This command will make a public screen, on which you can open windows.
ScreenName The name of the screen you want to make.
The name is case sensitive, so when referring to it, you
have to have the same case letters.
Depth A number, signifying the bitplanes of the screen. It can be
from 1-8. If it isn't, the depth will be set to 2.
-OR-
Width/Height/Depth/ViewMode
You can also give the full size of the screen, if you want,
instead of just the depth. The viewmode is optional.
ex> MakeScreen MyScreen 640/512/4/0x21004 'my screen'
Title A string which will be the default title of the screen.
Ex : MakeScreen MyScreen 4 "Hey! - This is my Screen!"
If you only give the depth (instead of full size string), the new
screen will be the same size, resolution etc as the Workbench screen,
and at a TEXT sized overscan.
Example : Run Gui Source
You can check if the screen opened with the IFEXISTS command.
IMPORTANT :
The Screen will NOT be automatically closed when Gui4Cli quits.
You MUST (if you want) specifically close it, after closing all the
windows that you have opened on it.
If you do not close it, it will just stay there.