119 lines
2.2 KiB
Plaintext
119 lines
2.2 KiB
Plaintext
#disk_add ../img/kolibri.img rd -c 0
|
|
/> ramdisk_init ../img/kolibri.img
|
|
/rd/1: fat
|
|
/> set_skin /sys/DEFAULT.SKN
|
|
status: 0
|
|
/> window_redraw 1
|
|
/> draw_window 10 300 5 200 0x000088 1 1 1 0 1 4 hello
|
|
/> set_pixel 0 0 0x0000ff
|
|
/> set_pixel 1 1 0xff0000
|
|
/> set_pixel 2 2 0x00ff00
|
|
/> draw_line 10 510 10 510 0xff0000
|
|
/> draw_rect 60 20 30 20 0x00ff00
|
|
/> put_image chess_image.rgb 8 8 5 15
|
|
/> put_image_palette chess_image.rgb 12 12 5 30 9 0
|
|
/> write_text 10 70 0xffff00 hello 0 0 0 0 0 5 0
|
|
/> set_button_style 0
|
|
/> button 55 40 5 20 0xc0ffee 0xffffff 1 0
|
|
/> set_button_style 1
|
|
/> button 100 40 5 20 0xc1ffee 0xffffff 1 0
|
|
/> display_number 0 10 4 0 0 1234 5 45 0xffff00 1 1 0 0 0x0000ff
|
|
/> blit_bitmap chess_image.rgba 20 35 8 8 0 0 8 8 0 0 0 1 32
|
|
/> window_redraw 2
|
|
|
|
/> set_window_caption hi_there 0
|
|
|
|
/> get_font_smoothing
|
|
font smoothing: 2 - subpixel
|
|
/> set_font_smoothing 0
|
|
/> get_font_smoothing
|
|
font smoothing: 0 - off
|
|
|
|
/> get_window_colors
|
|
0x00586786 frame
|
|
0x00fefefe grab
|
|
0x00c5bdb9 work_3d_dark
|
|
0x00ece9e5 work_3d_light
|
|
0x00333333 grab_text
|
|
0x00ddd7cf work
|
|
0x007887a6 work_button
|
|
0x00fefefe work_button_text
|
|
0x00000000 work_text
|
|
0x007e7e7e work_graph
|
|
/> set_window_colors 0 0 0 0 0 0 0 0 0 0
|
|
|
|
/> dump_win_stack 2
|
|
0: 0
|
|
1: 1
|
|
/> dump_win_pos 2
|
|
0: 0
|
|
1: 1
|
|
/> dump_taskdata 2
|
|
event_mask: 0
|
|
pid: 2
|
|
state: 0x0
|
|
wnd_number: 2
|
|
counter_sum: 0
|
|
counter_add: 0
|
|
cpu_usage: 0
|
|
/> dump_appdata 2
|
|
app_name: OS
|
|
except_mask: 0
|
|
dbg_state: 0
|
|
cur_dir:
|
|
draw_bgr_x: 0
|
|
draw_bgr_y: 0
|
|
event_mask: 0
|
|
terminate_protection: 1
|
|
keyboard_mode: 0
|
|
captionEncoding: 0
|
|
exec_params: (null)
|
|
wnd_caption:
|
|
wnd_clientbox (ltwh): 5 24 291 172
|
|
priority: 0
|
|
in_schedule: prev (2), next (2)
|
|
|
|
/> process_info -1
|
|
cpu_usage: 0
|
|
window_stack_position: 2
|
|
window_stack_value: 2
|
|
process_name: OS
|
|
memory_start: 0x00000000
|
|
used_memory: 4294967295 (0xffffffff)
|
|
pid: 2
|
|
box: 10 5 300 200
|
|
slot_state: 0
|
|
client_box: 5 24 291 172
|
|
wnd_state: 0x00
|
|
/> get_skin_height
|
|
24
|
|
/> get_screen_area
|
|
0 left
|
|
0 top
|
|
399 right
|
|
299 bottom
|
|
/> set_screen_area 0 20 350 250
|
|
/> get_screen_area
|
|
0 left
|
|
20 top
|
|
350 right
|
|
250 bottom
|
|
/> get_skin_margins
|
|
6 left
|
|
5 top
|
|
65 right
|
|
3 bottom
|
|
|
|
/> get_font_size
|
|
0px
|
|
/> set_font_size 16
|
|
/> get_font_size
|
|
16px
|
|
|
|
/> get_screen_size
|
|
400x300
|
|
|
|
/> scrot 016_#f01_#draw_all.out.png
|
|
|
|
/> disk_del rd
|