Subversion Repositories Kolibri OS

Rev

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

  1. ;------------------------------------------------------------------------------
  2. align 4
  3. ; DATA
  4. stripe:
  5.         dd -0x010101
  6.         dd -0x010101
  7.         dd -0x020202
  8.         dd -0x010101
  9.         dd -0x000000
  10.  
  11.         dd 0x000000
  12.         dd 0x010101
  13.         dd 0x020202
  14.         dd 0x010101
  15.         dd 0x010101
  16.  
  17. m_icon:
  18.         dd 0x0
  19.         dd 0x808080
  20.         dd 0x000000
  21.         dd 0x000000
  22.         dd 0xffffff
  23.  
  24.  
  25. lsz m_text,\
  26.   ru, "Œ…ž",\
  27.   en, "MENU",\
  28.   et, "MEN--"
  29.  
  30. mi_text         db 'WAVETETRBGRDGPL '
  31.  
  32. flag_text       db 'EnFiGeRuFrEtUa'
  33.  
  34. type_lang       db 0
  35.  
  36. ;sound_flag     db 0
  37. ;button_frames  dd 0x0
  38.  
  39. ;checks         dd -1
  40. hidetext        db 0x11,0x10,0x1e
  41.  
  42. turn_text       db  '><'
  43. gpl             db  'GPL'
  44.  
  45. chlang  db 'LANG',0
  46. ;syslang db 'SLAN',0
  47.  
  48. contrast        db 0
  49.  
  50. running_applications    dd 0x100
  51. max_applications        dd 11
  52.  
  53. current_alt_tab_app     dd -1
  54.  
  55. page_list               dd 0
  56. draw_start_position     dd 0
  57. draw_window_1   db 0
  58.  
  59. ;b_size_y:      dd 0x0
  60. ysi             dd 0
  61. small_draw      dd 0x0
  62.  
  63. ptime           dd 0x0
  64. max_x           dd 0x0
  65. text            db '0123456789'
  66.  
  67. page_a1         db '<   >'
  68. page_clean_but  db 25,24,18
  69.  
  70. ;bte    dd 0x0  ;ccddee
  71.  
  72. wcolor  dd 0x506070
  73.  
  74. sec     db ': '
  75. ;pros   db '                                                  '
  76. ;       db '                                                  '
  77.  
  78. screenxy    dd  0x0
  79. stcount     dd  0x0
  80.  
  81. setup_exec:
  82.                 dd 7
  83.                 dd 0
  84. .cmdline        dd 0
  85.                 dd 0
  86.                 dd 0
  87.                 db '/sys/'
  88. file_sys        db 'SETUP',0
  89.  
  90. exec_fileinfo:
  91.         dd 7
  92.         dd 0
  93.         dd 0
  94.         dd 0
  95.         dd 0
  96.         db 0
  97. .name   dd 0
  98.  
  99. end_name        db '/sys/END',0
  100. menu_name       db '/sys/@MENU',0
  101. run_name        db '/sys/RUN',0
  102. calendar_name   db '/sys/CALENDAR',0
  103. sysmeter_name   db '/sys/GMON',0
  104. mousemul_name   db '/sys/MOUSEMUL',0
  105.  
  106. ;dat_fileinfo:
  107. ;       dd 0
  108. ;       dd 0
  109. ;       dd 0
  110. ;       dd 1024
  111. ;       dd panel_ini_data_area  ;I_END
  112. ;       db '/sys/PANEL.DAT',0
  113.  
  114. ;m_bmp_fileinfo:
  115. ;       dd 0
  116. ;       dd 0
  117. ;       dd 0
  118. ;       dd 8192
  119. ;       dd image
  120. ;       db '/sys/MENUET.BMP',0
  121.  
  122. ;iconf_fileinfo:
  123. ;       dd 0
  124. ;       dd 0
  125. ;       dd 0
  126. ;       dd 8192
  127. ;       dd image
  128. ;       db '/sys/'
  129. ;iconf  db 'MBAR_IX.BMP',0
  130.  
  131. this_slot       dd 0          ; Slot of this process
  132. max_slot        dd 255
  133.  
  134. ;--------------------------------------
  135. menu_button_x:
  136. .start  dd 1234 ;0xffff
  137. .size   dd 0x999
  138. ;--------------------------------------
  139. menu_button_y:
  140. .start  dd 0xaa
  141. .size   dd 0xc
  142. ;--------------------------------------
  143. ;------------------------------------------------------------------------------
  144. ; INI variables
  145. width:                  dd 0    ;305
  146. height:                 dd 30   ;18
  147. soften_height:          dd 5
  148. button_top_offset:      dd 3
  149. button_bottom_offset:   dd 3
  150. ;------------------------------------------------------------------------------
  151. ; INI flags
  152. ;buttons        dd 1    ;  0 no frames  ; 1 frames
  153. soften_up:      dd 1    ;  0 no         ; 1 yes
  154. soften_down:    dd 0    ;  0 no         ; 1 yes
  155. minimize_left:  dd 1
  156. minimize_right: dd 1
  157. ;icons_position dd 95   ; not used!
  158. menu_enable:    dd 1
  159. ;tray_enable:   dd 0    ; draw cpu usage, time, date
  160. ;graph_text     dd 1    ; not used!
  161. ;soften_middle  dd 1    ; not used!     ;  0 no         ; 1 yes
  162. run_appl:               dd 1    ;  0 defaults   ; 1 activate
  163. clean_desktop_enable:   dd 1
  164. clock_enable:           dd 1
  165. cpu_usage_enable:       dd 1
  166. chlang_enable:          dd 1
  167. place_attachment        dd 1
  168. button_style            dd 1
  169. ;------------------------------------------------------------------------------
  170. page_list_enable:       dd 0
  171. redraw_window_flag      dd 0
  172. ;------------------------------------------------------------------------------
  173. ; INI colors
  174. MenuButton_color                dd 0x44aa44     ; Green
  175. CleanDesktopButton_color        dd 0x66cc       ; Blue
  176. Clock_color                     dd 0x66cc       ; Blue
  177. CpuUsage_color                  dd 0x44aa44     ; Green
  178. CpuUsageBckgr_color             dd 0xdd2222     ; Red
  179. ChangeLang_color                dd 0x66cc       ; Blue
  180. PageList_color                  dd 0xffffff     ; White
  181. PanelText_color                 dd 0xffffff     ; White
  182. ;------------------------------------------------------------------------------
  183. aVariables              db 'Variables',0
  184. aPanelHeight            db 'PanelHeight',0
  185. aPanelWidth             db 'PanelWidth',0
  186. aSoftenHeight           db 'SoftenHeight',0
  187. aButtonTopOffset        db 'ButtonTopOffset',0
  188. aButtonBottomOffset     db 'ButtonBottOffset',0
  189. ;------------------------------------------------------------------------------
  190. aFlags                  db 'Flags',0
  191. aSoftenUp               db 'SoftenUp',0
  192. aSoftenDown             db 'SoftenDown',0
  193. aMinimizeLeftButton     db 'MinLeftButton',0
  194. aMinimizeRightButton    db 'MinRightButton',0
  195. aMenuButton             db 'MenuButton',0
  196. aRunApplButtons         db 'RunApplButtons',0
  197. aCleanDesktopButton     db 'ClnDesktButton',0
  198. aClock                  db 'Clock',0
  199. aCpuUsage               db 'CpuUsage',0
  200. aChangeLang             db 'ChangeLang',0
  201. aPageList               db 'PageList',0
  202. aAttachment             db 'Attachment',0
  203. aButtonsStyle           db 'ButtonsStyle',0
  204. ;------------------------------------------------------------------------------
  205. aColors                 db 'Colors',0
  206. aCpuUsageBckgr          db 'CpuUsageBckgr',0
  207. aPanelText              db 'Text',0
  208. ;------------------------------------------------------------------------------
  209. plugins_directory               db 0
  210.  
  211. ini_file_name                   db 'panel.ini',0
  212.  
  213. system_dir_Libini                       db '/sys/lib/libini.obj',0
  214.  
  215. err_message_found_lib2          db 'libini.obj - Not found!',0
  216. err_message_import2                     db 'libini.obj - Wrong import!',0
  217.  
  218. head_f_i:
  219. head_f_l        db 'Errors of PLugins:',0
  220. ;------------------------------------------------------------------------------
  221. l_libs_start:
  222.  
  223. library02  l_libs system_dir_Libini+9, path, library_path, system_dir_Libini, \
  224. err_message_found_lib2, head_f_l, Libini_import, err_message_import2, head_f_i, plugins_directory
  225.  
  226. end_l_libs:
  227. ;------------------------------------------------------------------------------
  228. align 4
  229. Libini_import:
  230. lib_init                dd aLib_init
  231. version_lib_ini         dd aVersion_lib_ini
  232. ini_enum_sections       dd aIni_enum_sections
  233. ini_enum_keys           dd aIni_enum_keys
  234. ini_get_str             dd aIni_get_str
  235. ini_get_int             dd aIni_get_int
  236. ini_get_color           dd aIni_get_color
  237. ini_set_str             dd aIni_set_str
  238. ini_set_int             dd aIni_set_int
  239. ini_set_color           dd aIni_set_color
  240.         dd      0
  241.         dd      0
  242.  
  243. aLib_init               db 'lib_init',0
  244. aVersion_lib_ini        db 'version',0
  245. aIni_enum_sections      db 'ini_enum_sections',0
  246. aIni_enum_keys          db 'ini_enum_keys',0
  247. aIni_get_str            db 'ini_get_str',0
  248. aIni_get_int            db 'ini_get_int',0
  249. aIni_get_color          db 'ini_get_color',0
  250. aIni_set_str            db 'ini_set_str',0
  251. aIni_set_int            db 'ini_set_int',0
  252. aIni_set_color          db 'ini_set_color',0
  253. ;------------------------------------------------------------------------------
  254.