Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /> umka_init
  2. #disk_add ../img/kolibri.img rd -c 0
  3. /> ramdisk_init ../img/kolibri.img
  4. /rd/1: fat
  5. /> set_skin /sys/DEFAULT.SKN
  6. status: 0
  7. /> window_redraw 1
  8. /> draw_window 10 300 5 200 0x000088 1 1 1 0 1 4 hello
  9. /> set_pixel 0 0 0x0000ff
  10. /> set_pixel 1 1 0xff0000
  11. /> set_pixel 2 2 0x00ff00
  12. /> draw_line 10 510 10 510 0xff0000
  13. /> draw_rect 60 20 30 20 0x00ff00
  14. /> put_image chess_image.rgb 8 8 5 15
  15. /> put_image_palette chess_image.rgb 12 12 5 30 9 0
  16. /> write_text 10 70 0xffff00 hello 0 0 0 0 0 5 0
  17. /> set_button_style 0
  18. /> button 55 40 5 20 0xc0ffee 0xffffff 1 0
  19. /> set_button_style 1
  20. /> button 100 40 5 20 0xc1ffee 0xffffff 1 0
  21. /> display_number 0 10 4 0 0 1234 5 45 0xffff00 1 1 0 0 0x0000ff
  22. /> blit_bitmap chess_image.rgba 20 35 8 8  0 0 8 8  0 0 0 1  32
  23. /> window_redraw 2
  24.  
  25. /> set_window_caption hi_there 0
  26.  
  27. /> get_font_smoothing
  28. font smoothing: 2 - subpixel
  29. /> set_font_smoothing 0
  30. /> get_font_smoothing
  31. font smoothing: 0 - off
  32.  
  33. /> get_window_colors
  34. 0x00586786 frame
  35. 0x00fefefe grab
  36. 0x00c5bdb9 work_3d_dark
  37. 0x00ece9e5 work_3d_light
  38. 0x00333333 grab_text
  39. 0x00ddd7cf work
  40. 0x007887a6 work_button
  41. 0x00fefefe work_button_text
  42. 0x00000000 work_text
  43. 0x007e7e7e work_graph
  44. /> set_window_colors 0 0 0 0 0 0 0 0 0 0
  45.  
  46. /> dump_win_stack 2
  47.   0:   0
  48.   1:   1
  49. /> dump_win_pos 2
  50.   0:   0
  51.   1:   1
  52. /> dump_taskdata 2
  53. event_mask: 0
  54. pid: 2
  55. state: 0x0
  56. wnd_number: 2
  57. counter_sum: 0
  58. counter_add: 0
  59. cpu_usage: 0
  60. /> dump_appdata 2
  61. app_name: OS
  62. except_mask: 0
  63. dbg_state: 0
  64. cur_dir:
  65. draw_bgr_x: 0
  66. draw_bgr_y: 0
  67. event_mask: 0
  68. terminate_protection: 1
  69. keyboard_mode: 0
  70. captionEncoding: 0
  71. exec_params: (null)
  72. wnd_caption:
  73. wnd_clientbox (ltwh): 5 24 291 172
  74. priority: 0
  75. in_schedule: prev (2), next (2)
  76.  
  77. /> process_info -1
  78. cpu_usage: 0
  79. window_stack_position: 2
  80. window_stack_value: 2
  81. process_name: OS
  82. memory_start: 0x00000000
  83. used_memory: 4294967295 (0xffffffff)
  84. pid: 2
  85. box: 10 5 300 200
  86. slot_state: 0
  87. client_box: 5 24 291 172
  88. wnd_state: 0x00
  89. /> get_skin_height
  90. 24
  91. /> get_screen_area
  92. 0 left
  93. 0 top
  94. 399 right
  95. 299 bottom
  96. /> set_screen_area 0 20 350 250
  97. /> get_screen_area
  98. 0 left
  99. 20 top
  100. 350 right
  101. 250 bottom
  102. /> get_skin_margins
  103. 6 left
  104. 5 top
  105. 65 right
  106. 3 bottom
  107.  
  108. /> get_font_size
  109. 0px
  110. /> set_font_size 16
  111. /> get_font_size
  112. 16px
  113.  
  114. /> get_screen_size
  115. 400x300
  116.  
  117. /> scrot 016_#f01_#draw_all.out.png
  118.  
  119. /> disk_del rd
  120.