(wallpaper) Removed cursor

This commit is contained in:
neauoire 2023-11-29 15:50:26 -08:00
parent f3ef83c2a6
commit 43abcbe0a7
1 changed files with 1 additions and 23 deletions

View File

@ -1,3 +1,4 @@
|00 @System &vector $2 &expansion $2 &wst $1 &rst $1 &metadata $2 &r $2 &g $2 &b $2 &debug $1 &state $1
|10 @Console &vector $2 &read $1 &pad $4 &type $1 &write $1 &error $1
|20 @Screen &vector $2 &width $2 &height $2 &auto $1 &pad $1 &x $2 &y $2 &addr $2 &pixel $1 &sprite $1
@ -24,11 +25,6 @@
( ) .Screen/height DEI2 #03 SFT2 NIP <set-size>
;dict/default <draw-wallpaper>
;await-src .Console/vector DEO2
;on-mouse .Mouse/vector DEO2
BRK
@on-mouse ( -> )
[ LIT2 00 -Mouse/state ] DEI NEQ #41 ADD ;cursor-icn <update-cursor>
BRK
@meta $1
@ -80,20 +76,6 @@
.Screen/y DEI2k #0008 ADD2 ROT DEO2
JMP2r
@<update-cursor> ( color addr* -- )
[ LIT2 00 -Screen/auto ] DEO
;fill-icn .Screen/addr DEO2
#40 <draw-cursor>
.Mouse/x DEI2 ,<draw-cursor>/x STR2
.Mouse/y DEI2 ,<draw-cursor>/y STR2
.Screen/addr DEO2
@<draw-cursor> ( color -- )
[ LIT2 &x $2 ] .Screen/x DEO2
[ LIT2 &y $2 ] .Screen/y DEO2
.Screen/sprite DEO
JMP2r
(
@|stdlib )
@ -163,10 +145,6 @@
(
@|assets )
@cursor-icn [ 80c0 e0f0 f8e0 1000 ]
@fill-icn [ ffff ffff ffff ffff ]
@dict &icn-ext "icn $1
&default ".wallpaper $1