WINDOW
ID, TITLE, (X1,Y1)-(X2,Y2), TYPE, SCREEN ID
Requires arcade library
Creates a window on screen.
Example
INCLUDE arcade
RGB 0,0,0
BITMAP 0,0,640,480
RGB 255,0,0
LINE 120,120,120,200
LINE 180,120,180,200
LINE 120,160,180,160
LINE 200,160,200,165
LINE 200,170,200,200
LINE 230,120,230,180
CIRCLE 230,195,10
CIRCLE 400,180,220
CIRCLE 425,150,40
CIRCLE 375,150,40
ARC 400,160,25,155,150
BITMAP CLOSE
Output
Parameters
Parameter | Type | Description |
---|---|---|
ID | integer/string | ID to identify the window |
Optional | ||
TITLE | string | Title of the window |
X1 | integer | X1 position |
Y1 | integer | Y1 position |
X2 | integer | X2 position |
Y2 | integer | Y2 position |
TYPE | integer | Type of the window |
SCREEN ID | integer/string | ID of the screen the window is to be attached to |