| ... | ... |
@@ -69,7 +69,7 @@ |
| 69 | 69 |
@RESET ( -- ) |
| 70 | 70 |
|
| 71 | 71 |
( theme ) |
| 72 |
- #e0cd =theme.r0 #30fd =theme.g0 #30fd =theme.b0 ( normal mode ) |
|
| 72 |
+ #e0fa =theme.r0 #30fa =theme.g0 #30fa =theme.b0 ( normal mode ) |
|
| 73 | 73 |
#00fe =theme.r1 #00f3 =theme.g1 #00f3 =theme.b1 ( presentation mode ) |
| 74 | 74 |
|
| 75 | 75 |
~theme.r0 =System.r ~theme.g0 =System.g ~theme.b0 =System.b |
| ... | ... |
@@ -81,6 +81,7 @@ |
| 81 | 81 |
#04 =brush.size #00 =brush.patt #00 =brush.tool |
| 82 | 82 |
|
| 83 | 83 |
( load file ) |
| 84 |
+ ,untitled_txt ,path.name ,strcpy JSR2 |
|
| 84 | 85 |
,path.name ,load-file JSR2 |
| 85 | 86 |
|
| 86 | 87 |
( setup panes ) |
| ... | ... |
@@ -401,6 +402,7 @@ RTN |
| 401 | 402 |
@load-file ( path -- ) |
| 402 | 403 |
|
| 403 | 404 |
=File.name FILESIZE =File.length ,data =File.load |
| 405 |
+ ~File.name ,path.name ,strcpy JSR2 |
|
| 404 | 406 |
|
| 405 | 407 |
RTN |
| 406 | 408 |
|
| ... | ... |
@@ -675,7 +677,7 @@ RTN |
| 675 | 677 |
( draw new cursor ) |
| 676 | 678 |
~cursor.x =Sprite.x ~cursor.y =Sprite.y |
| 677 | 679 |
,pointers_icn #00 ~Controller #02 EQU 8* ADD2 =Sprite.addr |
| 678 |
- #1f =Sprite.color |
|
| 680 |
+ #1f ~Mouse.state #01 EQU #0a MUL SUB =Sprite.color |
|
| 679 | 681 |
|
| 680 | 682 |
RTN |
| 681 | 683 |
|
| ... | ... |
@@ -803,10 +805,8 @@ RTN |
| 803 | 805 |
,save_icn =Sprite.addr |
| 804 | 806 |
#03 =Sprite.color |
| 805 | 807 |
|
| 806 |
- ~document.presentation #01 EQU ^$skip-path JNZ |
|
| 807 |
- #0008 =Sprite.x |
|
| 808 |
- ,path.name #01 ,draw-label JSR2 |
|
| 809 |
- $skip-path |
|
| 808 |
+ #0008 =Sprite.x |
|
| 809 |
+ ,path.name #01 ,draw-label JSR2 |
|
| 810 | 810 |
|
| 811 | 811 |
RTN |
| 812 | 812 |
|