forked from KolibriOS/kolibrios
185 lines
5.1 KiB
PHP
185 lines
5.1 KiB
PHP
|
|
align 4
|
|
stripe:
|
|
dd -0x010101
|
|
dd -0x010101
|
|
dd -0x020202
|
|
dd -0x010101
|
|
dd -0x000000
|
|
dd 0x000000
|
|
dd 0x010101
|
|
dd 0x020202
|
|
dd 0x010101
|
|
dd 0x010101
|
|
|
|
m_icon:
|
|
dd 0x0
|
|
dd 0x808080
|
|
dd 0x000000
|
|
dd 0x000000
|
|
dd 0xffffff
|
|
|
|
running_applications dd 0x100
|
|
max_applications dd 11
|
|
current_alt_tab_app dd -1
|
|
draw_start_position dd 0
|
|
page_list dd 0
|
|
small_draw dd 0x0
|
|
flag_text dd flagTextSm
|
|
screenxy dd 0x0
|
|
this_slot dd 0 ; Slot of this process
|
|
max_slot dd 255
|
|
stcount dd 0x0
|
|
ysi dd 0
|
|
ptime dd 0x0
|
|
max_x dd 0x0
|
|
wcolor dd 0x506070
|
|
|
|
mi_text db 'WAVETETRBGRDGPL '
|
|
flagTextSm db 'EnFiDeRuFrEtUaItBe'
|
|
flagTextBg db 'ENFIDERUFRETUAITBE'
|
|
|
|
lsz m_text,\
|
|
ru_RU, "Œ¥î",\
|
|
en_US, "Menu",\
|
|
et_EE, "MENÜÜ",\
|
|
es_ES, "Menu"
|
|
|
|
bootparam_printscreen db 'DIRECT',0
|
|
type_lang db 0
|
|
contrast db 0
|
|
page_clean_but db 25,24,18
|
|
hidetext db 17,16,30
|
|
Path_def_val db 'NONE',0
|
|
sec db ': '
|
|
chlang db 'LANG',0
|
|
page_a1 db '< >'
|
|
text db '0123456789'
|
|
|
|
exec_fileinfo:
|
|
dd 7
|
|
dd 0
|
|
dd 0
|
|
dd 0
|
|
dd 0
|
|
db 0
|
|
.name dd 0
|
|
|
|
;--------------------------------------
|
|
menu_button_x:
|
|
.start dd 1234 ;0xffff
|
|
.size dd 0x999
|
|
;--------------------------------------
|
|
menu_button_y:
|
|
.start dd 0xaa
|
|
.size dd 0xc
|
|
;------------------------------------------------------------------------------
|
|
; INI variables
|
|
width: dd 0 ;305
|
|
height: dd 30 ;18
|
|
soften_height: dd 5
|
|
button_top_offset: dd 0
|
|
button_bottom_offset: dd 0
|
|
;------------------------------------------------------------------------------
|
|
; INI flags
|
|
soften_up: dd 1 ; 0 no ; 1 yes
|
|
soften_down: dd 0 ; 0 no ; 1 yes
|
|
minimize_left: dd 0
|
|
minimize_right: dd 1
|
|
menu_enable: dd 1
|
|
run_appl: dd 1 ; 0 defaults ; 1 activate
|
|
clean_desktop_enable: dd 1
|
|
clock_enable: dd 1
|
|
cpu_usage_enable: dd 1
|
|
chlang_enable: dd 1
|
|
place_attachment dd 1
|
|
;------------------------------------------------------------------------------
|
|
page_list_enable: dd 0
|
|
redraw_window_flag dd 0
|
|
;------------------------------------------------------------------------------
|
|
; INI colors
|
|
MenuButton_color dd 0x44aa44 ; Green
|
|
CleanDesktopButton_color dd 0x66cc ; Blue
|
|
Clock_color dd 0x66cc ; Blue
|
|
CpuUsage_color dd 0x44aa44 ; Green
|
|
CpuUsageBckgr_color dd 0xdd2222 ; Red
|
|
ChangeLang_color dd 0x66cc ; Blue
|
|
PageList_color dd 0xffffff ; White
|
|
PanelText_color dd 0xffffff ; White
|
|
AltTab_color dd 0xff8000 ; Orange
|
|
;------------------------------------------------------------------------------
|
|
aVariables db 'Variables',0
|
|
aPanelHeight db 'PanelHeight',0
|
|
aPanelWidth db 'PanelWidth',0
|
|
aSoftenHeight db 'SoftenHeight',0
|
|
aButtonTopOffset db 'ButtonTopOffset',0
|
|
aButtonBottomOffset db 'ButtonBottOffset',0
|
|
;------------------------------------------------------------------------------
|
|
aFlags db 'Flags',0
|
|
aSoftenUp db 'SoftenUp',0
|
|
aSoftenDown db 'SoftenDown',0
|
|
aMinimizeLeftButton db 'MinLeftButton',0
|
|
aMinimizeRightButton db 'MinRightButton',0
|
|
aMenuButton db 'MenuButton',0
|
|
aRunApplButtons db 'RunApplButtons',0
|
|
aCleanDesktopButton db 'ClnDesktButton',0
|
|
aClock db 'Clock',0
|
|
aCpuUsage db 'CpuUsage',0
|
|
aChangeLang db 'ChangeLang',0
|
|
aPageList db 'PageList',0
|
|
aAttachment db 'Attachment',0
|
|
;------------------------------------------------------------------------------
|
|
aColors db 'Colors',0
|
|
aCpuUsageBckgr db 'CpuUsageBckgr',0
|
|
aPanelText db 'Text',0
|
|
aAltTab db 'AltTab',0
|
|
;------------------------------------------------------------------------------
|
|
aApplicationsPaths db 'ApplicationsPaths',0
|
|
aEnd db 'End',0
|
|
aMenu db 'Menu',0
|
|
aRun db 'Run',0
|
|
aPrnScr db 'PrnScr',0
|
|
aMouseEmul db 'MouseEmul',0
|
|
;------------------------------------------------------------------------------
|
|
plugins_directory db 0
|
|
ini_file_name db 'settings/taskbar.ini',0
|
|
system_dir_Libini db '/sys/lib/libini.obj',0
|
|
err_message_found_lib2 db 'libini.obj - Not found!',0
|
|
err_message_import2 db 'libini.obj - Wrong import!',0
|
|
head_f_i:
|
|
head_f_l db 'Errors of PLugins:',0
|
|
;------------------------------------------------------------------------------
|
|
l_libs_start:
|
|
|
|
library02 l_libs system_dir_Libini+9, path, library_path, system_dir_Libini, \
|
|
err_message_found_lib2, head_f_l, Libini_import, err_message_import2, head_f_i, plugins_directory
|
|
|
|
end_l_libs:
|
|
;------------------------------------------------------------------------------
|
|
align 4
|
|
Libini_import:
|
|
lib_init dd aLib_init
|
|
version_lib_ini dd aVersion_lib_ini
|
|
ini_enum_sections dd aIni_enum_sections
|
|
ini_enum_keys dd aIni_enum_keys
|
|
ini_get_str dd aIni_get_str
|
|
ini_get_int dd aIni_get_int
|
|
ini_get_color dd aIni_get_color
|
|
ini_set_str dd aIni_set_str
|
|
ini_set_int dd aIni_set_int
|
|
ini_set_color dd aIni_set_color
|
|
dd 0
|
|
dd 0
|
|
|
|
aLib_init db 'lib_init',0
|
|
aVersion_lib_ini db 'version',0
|
|
aIni_enum_sections db 'ini_enum_sections',0
|
|
aIni_enum_keys db 'ini_enum_keys',0
|
|
aIni_get_str db 'ini_get_str',0
|
|
aIni_get_int db 'ini_get_int',0
|
|
aIni_get_color db 'ini_get_color',0
|
|
aIni_set_str db 'ini_set_str',0
|
|
aIni_set_int db 'ini_set_int',0
|
|
aIni_set_color db 'ini_set_color',0
|
|
;------------------------------------------------------------------------------
|