Subversion Repositories Kolibri OS

Rev

Rev 3927 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

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