Added pen icon
This commit is contained in:
parent
7519bf8c0a
commit
f897d6f5be
Binary file not shown.
|
@ -13,6 +13,9 @@
|
||||||
@mouse-icn [
|
@mouse-icn [
|
||||||
80c0 e0f0 f8fc feff f8d8 8c0c 0606 0000 ]
|
80c0 e0f0 f8fc feff f8d8 8c0c 0606 0000 ]
|
||||||
|
|
||||||
|
@pen-icn [
|
||||||
|
c0e0 9090 4848 2424 1212 0909 0600 0000 ]
|
||||||
|
|
||||||
@bar-icn &a [
|
@bar-icn &a [
|
||||||
0000 007e 007e 007e 007e 007e 007e 0000 ]
|
0000 007e 007e 007e 007e 007e 007e 0000 ]
|
||||||
&b [
|
&b [
|
||||||
|
|
|
@ -117,7 +117,7 @@
|
||||||
POP BRK
|
POP BRK
|
||||||
|
|
||||||
@on-mouse-sketch ( -> )
|
@on-mouse-sketch ( -> )
|
||||||
[ LIT2 00 -Mouse/state ] DEI NEQ #41 ADD ;mouse-icn <update-cursor>
|
[ LIT2 00 -Mouse/state ] DEI NEQ #41 ADD ;pen-icn <update-cursor>
|
||||||
( | handle states )
|
( | handle states )
|
||||||
[ LIT &last $1 ] .Mouse/state DEI DUP ,&last STR
|
[ LIT &last $1 ] .Mouse/state DEI DUP ,&last STR
|
||||||
( ) DUP2 #0100 NEQ2 ?{ file-save }
|
( ) DUP2 #0100 NEQ2 ?{ file-save }
|
||||||
|
@ -200,6 +200,8 @@
|
||||||
|
|
||||||
@toggle-sketch ( -- )
|
@toggle-sketch ( -- )
|
||||||
.selection/sketch LDZk #01 EOR SWP STZ
|
.selection/sketch LDZk #01 EOR SWP STZ
|
||||||
|
#41 ;pen-icn ;caret-icn .selection/sketch LDZ ?{ SWP2 }
|
||||||
|
POP2 <update-cursor>
|
||||||
JMP2r
|
JMP2r
|
||||||
|
|
||||||
@erase-sketch ( -- )
|
@erase-sketch ( -- )
|
||||||
|
|
Loading…
Reference in New Issue