Subversion Repositories Kolibri OS

Rev

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

Rev Author Line No. Line
2619 mario79 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 0xccddee
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
page_list_enable:	dd 1
168
place_attachment	dd 1
169
button_style		dd 1
170
;------------------------------------------------------------------------------
171
; INI colors
172
MenuButton_color		dd 0x44aa44	; Green
173
CleanDesktopButton_color	dd 0x66cc	; Blue
174
Clock_color			dd 0x66cc	; Blue
175
CpuUsage_color			dd 0x44aa44	; Green
176
CpuUsageBckgr_color		dd 0xdd2222	; Red
177
ChangeLang_color		dd 0x66cc	; Blue
178
PageList_color			dd 0xffffff	; White
179
;------------------------------------------------------------------------------
180
aVariables		db 'Variables',0
181
aPanelHeight		db 'PanelHeight',0
182
aPanelWidth		db 'PanelWidth',0
183
aSoftenHeight		db 'SoftenHeight',0
184
aButtonTopOffset	db 'ButtonTopOffset',0
185
aButtonBottomOffset	db 'ButtonBottOffset',0
186
;------------------------------------------------------------------------------
187
aFlags			db 'Flags',0
188
aSoftenUp		db 'SoftenUp',0
189
aSoftenDown		db 'SoftenDown',0
190
aMinimizeLeftButton	db 'MinLeftButton',0
191
aMinimizeRightButton	db 'MinRightButton',0
192
aMenuButton		db 'MenuButton',0
193
aRunApplButtons		db 'RunApplButtons',0
194
aCleanDesktopButton	db 'ClnDesktButton',0
195
aClock			db 'Clock',0
196
aCpuUsage		db 'CpuUsage',0
197
aChangeLang		db 'ChangeLang',0
198
aPageList		db 'PageList',0
199
aAttachment		db 'Attachment',0
200
aButtonsStyle		db 'ButtonsStyle',0
201
;------------------------------------------------------------------------------
202
aColors			db 'Colors',0
203
aCpuUsageBckgr		db 'CpuUsageBckgr',0
204
;------------------------------------------------------------------------------
205
plugins_directory               db 0
206
 
207
ini_file_name                   db 'panel.ini',0
208
 
209
system_dir_Libini			db '/sys/lib/libini.obj',0
210
 
211
err_message_found_lib2		db 'libini.obj - Not found!',0
212
err_message_import2			db 'libini.obj - Wrong import!',0
213
 
214
head_f_i:
215
head_f_l        db 'Errors of PLugins:',0
216
;------------------------------------------------------------------------------
217
l_libs_start:
218
 
219
library02  l_libs system_dir_Libini+9, path, library_path, system_dir_Libini, \
220
err_message_found_lib2, head_f_l, Libini_import, err_message_import2, head_f_i, plugins_directory
221
 
222
end_l_libs:
223
;------------------------------------------------------------------------------
224
align 4
225
Libini_import:
226
lib_init		dd aLib_init
227
version_lib_ini		dd aVersion_lib_ini
228
ini_enum_sections	dd aIni_enum_sections
229
ini_enum_keys		dd aIni_enum_keys
230
ini_get_str		dd aIni_get_str
231
ini_get_int		dd aIni_get_int
232
ini_get_color		dd aIni_get_color
233
ini_set_str		dd aIni_set_str
234
ini_set_int		dd aIni_set_int
235
ini_set_color		dd aIni_set_color
236
        dd      0
237
        dd      0
238
 
239
aLib_init		db 'lib_init',0
240
aVersion_lib_ini	db 'version',0
241
aIni_enum_sections	db 'ini_enum_sections',0
242
aIni_enum_keys		db 'ini_enum_keys',0
243
aIni_get_str		db 'ini_get_str',0
244
aIni_get_int		db 'ini_get_int',0
245
aIni_get_color		db 'ini_get_color',0
246
aIni_set_str		db 'ini_set_str',0
247
aIni_set_int		db 'ini_set_int',0
248
aIni_set_color		db 'ini_set_color',0
249
;------------------------------------------------------------------------------