Subversion Repositories Kolibri OS

Rev

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