Implement basic variables (to hide pointers from logs)

This commit is contained in:
2022-05-31 17:43:41 +04:00
parent 20b2013007
commit 5314ef2cae
9 changed files with 505 additions and 280 deletions
+4
View File
@@ -7,13 +7,17 @@ status: 0
/>
/> load_cursor_from_file /sys/fill.cur
handle = non-zero
/> var $cur_fill
/> load_cursor_from_mem ../spray.cur
handle = non-zero
/> var $cur_spray
/>
/> window_redraw 1
/> draw_window 10 300 5 200 0x000088 1 1 1 0 1 4 hello
/> window_redraw 2
/>
/> set_cursor $cur_fill
prev handle = non-zero
/>
/>
/> scrot 051_#draw_#cursor_all.out.png
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

+3
View File
@@ -4,12 +4,15 @@ ramdisk_init ../img/kolibri.img
set_skin /sys/DEFAULT.SKN
load_cursor_from_file /sys/fill.cur
var $cur_fill
load_cursor_from_mem ../spray.cur
var $cur_spray
window_redraw 1
draw_window 10 300 5 200 0x000088 1 1 1 0 1 4 hello
window_redraw 2
set_cursor $cur_fill
scrot 051_#draw_#cursor_all.out.png