blob: 6ac21645ed771212a07a3a0026cf8c405c18e721 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
> mod std
> mod gfx
> fn crtwin [str:nm int16:pos_x int16:pos_y int16:res_x int16:res_y bool:flscrn]
frm std/gfx imp clswin crtwin
int32:__main__ -fn []
print “Creating window...\n”
try std/gfx/crtwin “luma test” #0 #0 #417 #045 no
> Remember that Luma is little-endian, so numbers must be written reverse of what they normaly are (example: 123 becomes 321)
catch err
print “Error % when creating window" $.err
ret failure
std/gfx/clswin
ret success
|