Subversion Repositories Kolibri OS

Rev

Rev 2626 | Go to most recent revision | Details | Compare with Previous | 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
 
58
;b_size_y:	dd 0x0
59
ysi		dd 0
60
small_draw	dd 0x0
61
 
62
ptime		dd 0x0
63
max_x		dd 0x0
64
text		db '0123456789'
65
 
66
page_a1		db '<   >'
67
page_clean_but	db 25,24,18
68
 
2626 mario79 69
;bte	dd 0x0	;ccddee
2619 mario79 70
 
71
wcolor	dd 0x506070
72
 
73
sec	db ': '
74
;pros	db '                                                  '
75
;	db '                                                  '
76
 
77
screenxy    dd	0x0
78
stcount     dd	0x0
79
 
80
setup_exec:
81
		dd 7
82
		dd 0
83
.cmdline	dd 0
84
		dd 0
85
		dd 0
86
		db '/sys/'
87
file_sys	db 'SETUP',0
88
 
89
exec_fileinfo:
90
	dd 7
91
	dd 0
92
	dd 0
93
	dd 0
94
	dd 0
95
	db 0
96
.name	dd 0
97
 
2630 mario79 98
bootparam_printscreen	db 'DIRECT',0
2619 mario79 99
 
2630 mario79 100
Path_def_val db 'NONE',0
2619 mario79 101
 
102
this_slot	dd 0	      ; Slot of this process
103
max_slot	dd 255
104
 
105
;--------------------------------------
106
menu_button_x:
107
.start	dd 1234	;0xffff
108
.size	dd 0x999
109
;--------------------------------------
110
menu_button_y:
111
.start	dd 0xaa
112
.size	dd 0xc
113
;--------------------------------------
114
;------------------------------------------------------------------------------
115
; INI variables
116
width:			dd 0	;305
117
height:			dd 30	;18
118
soften_height:		dd 5
119
button_top_offset:	dd 3
120
button_bottom_offset:	dd 3
121
;------------------------------------------------------------------------------
122
; INI flags
123
;buttons 	dd 1	;  0 no frames  ; 1 frames
124
soften_up:	dd 1	;  0 no         ; 1 yes
125
soften_down:	dd 0	;  0 no         ; 1 yes
126
minimize_left:	dd 1
127
minimize_right:	dd 1
128
;icons_position	dd 95	; not used!
129
menu_enable:	dd 1
130
;tray_enable:	dd 0	; draw cpu usage, time, date
131
;graph_text	dd 1	; not used!
132
;soften_middle	dd 1	; not used!	;  0 no         ; 1 yes
133
run_appl:		dd 1	;  0 defaults   ; 1 activate
134
clean_desktop_enable:	dd 1
135
clock_enable:		dd 1
136
cpu_usage_enable:	dd 1
137
chlang_enable:		dd 1
138
place_attachment	dd 1
139
button_style		dd 1
140
;------------------------------------------------------------------------------
2626 mario79 141
page_list_enable:	dd 0
142
redraw_window_flag	dd 0
143
;------------------------------------------------------------------------------
2619 mario79 144
; INI colors
145
MenuButton_color		dd 0x44aa44	; Green
146
CleanDesktopButton_color	dd 0x66cc	; Blue
147
Clock_color			dd 0x66cc	; Blue
148
CpuUsage_color			dd 0x44aa44	; Green
149
CpuUsageBckgr_color		dd 0xdd2222	; Red
150
ChangeLang_color		dd 0x66cc	; Blue
151
PageList_color			dd 0xffffff	; White
2626 mario79 152
PanelText_color			dd 0xffffff	; White
2630 mario79 153
AltTab_color			dd 0xff8000	; Orange
2619 mario79 154
;------------------------------------------------------------------------------
155
aVariables		db 'Variables',0
156
aPanelHeight		db 'PanelHeight',0
157
aPanelWidth		db 'PanelWidth',0
158
aSoftenHeight		db 'SoftenHeight',0
159
aButtonTopOffset	db 'ButtonTopOffset',0
160
aButtonBottomOffset	db 'ButtonBottOffset',0
161
;------------------------------------------------------------------------------
162
aFlags			db 'Flags',0
163
aSoftenUp		db 'SoftenUp',0
164
aSoftenDown		db 'SoftenDown',0
165
aMinimizeLeftButton	db 'MinLeftButton',0
166
aMinimizeRightButton	db 'MinRightButton',0
167
aMenuButton		db 'MenuButton',0
168
aRunApplButtons		db 'RunApplButtons',0
169
aCleanDesktopButton	db 'ClnDesktButton',0
170
aClock			db 'Clock',0
171
aCpuUsage		db 'CpuUsage',0
172
aChangeLang		db 'ChangeLang',0
173
aPageList		db 'PageList',0
174
aAttachment		db 'Attachment',0
175
aButtonsStyle		db 'ButtonsStyle',0
176
;------------------------------------------------------------------------------
177
aColors			db 'Colors',0
178
aCpuUsageBckgr		db 'CpuUsageBckgr',0
2626 mario79 179
aPanelText		db 'Text',0
2630 mario79 180
aAltTab			db 'AltTab',0
2619 mario79 181
;------------------------------------------------------------------------------
2630 mario79 182
aApplicationsPaths	db 'ApplicationsPaths',0
183
aEnd			db 'End',0
184
aMenu			db 'Menu',0
185
aRun			db 'Run',0
186
aPrnScr			db 'PrnScr',0
187
aMouseEmul		db 'MouseEmul',0
188
;------------------------------------------------------------------------------
2619 mario79 189
plugins_directory               db 0
190
 
191
ini_file_name                   db 'panel.ini',0
192
 
193
system_dir_Libini			db '/sys/lib/libini.obj',0
194
 
195
err_message_found_lib2		db 'libini.obj - Not found!',0
196
err_message_import2			db 'libini.obj - Wrong import!',0
197
 
198
head_f_i:
199
head_f_l        db 'Errors of PLugins:',0
200
;------------------------------------------------------------------------------
201
l_libs_start:
202
 
203
library02  l_libs system_dir_Libini+9, path, library_path, system_dir_Libini, \
204
err_message_found_lib2, head_f_l, Libini_import, err_message_import2, head_f_i, plugins_directory
205
 
206
end_l_libs:
207
;------------------------------------------------------------------------------
208
align 4
209
Libini_import:
210
lib_init		dd aLib_init
211
version_lib_ini		dd aVersion_lib_ini
212
ini_enum_sections	dd aIni_enum_sections
213
ini_enum_keys		dd aIni_enum_keys
214
ini_get_str		dd aIni_get_str
215
ini_get_int		dd aIni_get_int
216
ini_get_color		dd aIni_get_color
217
ini_set_str		dd aIni_set_str
218
ini_set_int		dd aIni_set_int
219
ini_set_color		dd aIni_set_color
220
        dd      0
221
        dd      0
222
 
223
aLib_init		db 'lib_init',0
224
aVersion_lib_ini	db 'version',0
225
aIni_enum_sections	db 'ini_enum_sections',0
226
aIni_enum_keys		db 'ini_enum_keys',0
227
aIni_get_str		db 'ini_get_str',0
228
aIni_get_int		db 'ini_get_int',0
229
aIni_get_color		db 'ini_get_color',0
230
aIni_set_str		db 'ini_set_str',0
231
aIni_set_int		db 'ini_set_int',0
232
aIni_set_color		db 'ini_set_color',0
233
;------------------------------------------------------------------------------