Subversion Repositories Kolibri OS

Rev

Rev 5453 | Rev 5875 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1.  
  2. align 4
  3. stripe:
  4. dd      -0x010101
  5. dd      -0x010101
  6. dd      -0x020202
  7. dd      -0x010101
  8. dd      -0x000000
  9. dd      0x000000
  10. dd      0x010101
  11. dd      0x020202
  12. dd      0x010101
  13. dd      0x010101
  14.  
  15. m_icon:
  16. dd      0x0
  17. dd      0x808080
  18. dd      0x000000
  19. dd      0x000000
  20. dd      0xffffff
  21.  
  22. running_applications    dd 0x100
  23. max_applications        dd 11
  24. current_alt_tab_app     dd -1
  25. draw_start_position     dd 0
  26. page_list       dd 0
  27. small_draw      dd 0x0
  28. flag_text       dd flagTextSm
  29. screenxy        dd 0x0
  30. this_slot       dd 0    ; Slot of this process
  31. max_slot        dd 255
  32. stcount dd 0x0
  33. ysi     dd 0
  34. ptime   dd 0x0
  35. max_x   dd 0x0
  36. wcolor  dd 0x506070
  37.  
  38. mi_text         db 'WAVETETRBGRDGPL '
  39. flagTextSm      db 'EnFiGeRuFrEtUaItBe'
  40. flagTextBg      db 'ENFIGERUFRETUAITBE'
  41.  
  42. lsz m_text,\
  43.   ru, "Œ¥­î",\
  44.   en, "Menu",\
  45.   et, "MENÜÜ",\
  46.   sp, "Menu"
  47.  
  48. bootparam_printscreen   db 'DIRECT',0
  49. type_lang       db 0
  50. contrast        db 0
  51. page_clean_but  db 25,24,18
  52. hidetext        db 17,16,30
  53. Path_def_val    db 'NONE',0
  54. sec     db ': '
  55. chlang  db 'LANG',0
  56. page_a1 db '<   >'
  57. text    db '0123456789'
  58.  
  59. exec_fileinfo:
  60.         dd 7
  61.         dd 0
  62.         dd 0
  63.         dd 0
  64.         dd 0
  65.         db 0
  66. .name   dd 0
  67.  
  68. ;--------------------------------------
  69. menu_button_x:
  70. .start  dd 1234 ;0xffff
  71. .size   dd 0x999
  72. ;--------------------------------------
  73. menu_button_y:
  74. .start  dd 0xaa
  75. .size   dd 0xc
  76. ;------------------------------------------------------------------------------
  77. ; INI variables
  78. width:                  dd 0    ;305
  79. height:                 dd 30   ;18
  80. soften_height:          dd 5
  81. button_top_offset:      dd 0
  82. button_bottom_offset:   dd 0
  83. ;------------------------------------------------------------------------------
  84. ; INI flags
  85. soften_up:              dd 1    ;  0 no         ; 1 yes
  86. soften_down:            dd 0    ;  0 no         ; 1 yes
  87. minimize_left:          dd 0
  88. minimize_right:         dd 1
  89. menu_enable:            dd 1
  90. run_appl:               dd 1    ;  0 defaults   ; 1 activate
  91. clean_desktop_enable:   dd 1
  92. clock_enable:           dd 1
  93. cpu_usage_enable:       dd 1
  94. chlang_enable:          dd 1
  95. place_attachment        dd 1
  96. button_style            dd 1
  97. ;------------------------------------------------------------------------------
  98. page_list_enable:       dd 0
  99. redraw_window_flag      dd 0
  100. ;------------------------------------------------------------------------------
  101. ; INI colors
  102. MenuButton_color                dd 0x44aa44     ; Green
  103. CleanDesktopButton_color        dd 0x66cc       ; Blue
  104. Clock_color                     dd 0x66cc       ; Blue
  105. CpuUsage_color                  dd 0x44aa44     ; Green
  106. CpuUsageBckgr_color             dd 0xdd2222     ; Red
  107. ChangeLang_color                dd 0x66cc       ; Blue
  108. PageList_color                  dd 0xffffff     ; White
  109. PanelText_color                 dd 0xffffff     ; White
  110. AltTab_color                    dd 0xff8000     ; Orange
  111. ;------------------------------------------------------------------------------
  112. aVariables              db 'Variables',0
  113. aPanelHeight            db 'PanelHeight',0
  114. aPanelWidth             db 'PanelWidth',0
  115. aSoftenHeight           db 'SoftenHeight',0
  116. aButtonTopOffset        db 'ButtonTopOffset',0
  117. aButtonBottomOffset     db 'ButtonBottOffset',0
  118. ;------------------------------------------------------------------------------
  119. aFlags                  db 'Flags',0
  120. aSoftenUp               db 'SoftenUp',0
  121. aSoftenDown             db 'SoftenDown',0
  122. aMinimizeLeftButton     db 'MinLeftButton',0
  123. aMinimizeRightButton    db 'MinRightButton',0
  124. aMenuButton             db 'MenuButton',0
  125. aRunApplButtons         db 'RunApplButtons',0
  126. aCleanDesktopButton     db 'ClnDesktButton',0
  127. aClock                  db 'Clock',0
  128. aCpuUsage               db 'CpuUsage',0
  129. aChangeLang             db 'ChangeLang',0
  130. aPageList               db 'PageList',0
  131. aAttachment             db 'Attachment',0
  132. aButtonsStyle           db 'ButtonsStyle',0
  133. ;------------------------------------------------------------------------------
  134. aColors                 db 'Colors',0
  135. aCpuUsageBckgr          db 'CpuUsageBckgr',0
  136. aPanelText              db 'Text',0
  137. aAltTab                 db 'AltTab',0
  138. ;------------------------------------------------------------------------------
  139. aApplicationsPaths      db 'ApplicationsPaths',0
  140. aEnd                    db 'End',0
  141. aMenu                   db 'Menu',0
  142. aRun                    db 'Run',0
  143. aPrnScr                 db 'PrnScr',0
  144. aMouseEmul              db 'MouseEmul',0
  145. ;------------------------------------------------------------------------------
  146. plugins_directory       db 0
  147. ini_file_name           db 'settings/taskbar.ini',0
  148. system_dir_Libini       db '/sys/lib/libini.obj',0
  149. err_message_found_lib2  db 'libini.obj - Not found!',0
  150. err_message_import2     db 'libini.obj - Wrong import!',0
  151. head_f_i:
  152. head_f_l                db 'Errors of PLugins:',0
  153. ;------------------------------------------------------------------------------
  154. l_libs_start:
  155.  
  156. library02  l_libs system_dir_Libini+9, path, library_path, system_dir_Libini, \
  157. err_message_found_lib2, head_f_l, Libini_import, err_message_import2, head_f_i, plugins_directory
  158.  
  159. end_l_libs:
  160. ;------------------------------------------------------------------------------
  161. align 4
  162. Libini_import:
  163. lib_init                dd aLib_init
  164. version_lib_ini         dd aVersion_lib_ini
  165. ini_enum_sections       dd aIni_enum_sections
  166. ini_enum_keys           dd aIni_enum_keys
  167. ini_get_str             dd aIni_get_str
  168. ini_get_int             dd aIni_get_int
  169. ini_get_color           dd aIni_get_color
  170. ini_set_str             dd aIni_set_str
  171. ini_set_int             dd aIni_set_int
  172. ini_set_color           dd aIni_set_color
  173.         dd      0
  174.         dd      0
  175.  
  176. aLib_init               db 'lib_init',0
  177. aVersion_lib_ini        db 'version',0
  178. aIni_enum_sections      db 'ini_enum_sections',0
  179. aIni_enum_keys          db 'ini_enum_keys',0
  180. aIni_get_str            db 'ini_get_str',0
  181. aIni_get_int            db 'ini_get_int',0
  182. aIni_get_color          db 'ini_get_color',0
  183. aIni_set_str            db 'ini_set_str',0
  184. aIni_set_int            db 'ini_set_int',0
  185. aIni_set_color          db 'ini_set_color',0
  186. ;------------------------------------------------------------------------------
  187.