9xc 9xGL and Windows - Owen2k6/GoOS GitHub Wiki
Requires:
import 9xGL
Window Main = GetWindow >> "Title", 320, 200
- Creates a GoOS
Window, sets size, clears to light grey, renders a system border, shows it, and stores it inWindowvariables.
DrawLine >> Main, 10, 10, 310, 10, Red
- Arguments:
windowVar, x1, y1, x2, y2, colourVarOrName - Coordinates may be integer variables; colour can be a
Colorvariable or a recognised colour token.
String msg = "Hello"
DrawString >> Main, msg, 12, 24, Yellow
- Clears a light‑grey strip under the text, then draws using the small bitmap font (
Font_1x).
SetWindowPos >> Main, 40, 40