Subversion Repositories Kolibri OS

Rev

Rev 3438 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3435 mario79 1
lsz text,\
2
    ru,  ' €ŒŠ€ ŽŠ€                     ',\
3
    ru,  ' Ž‹Ž‘€ ‡€ƒŽ‹Ž‚Š€               ',\
4
    ru,  ' ŠŽŠ€ € Ž‹Ž‘… ‡€ƒŽ‹Ž‚Š€     ',\
5
    ru,  ' ’…Š‘’ € ŠŽŠ… € ‡€ƒŽ‹Ž‚Š…   ',\
3438 mario79 6
    ru,  ' ’…Š‘’ ‡€ƒŽ‹Ž‚Š€                ',\
3435 mario79 7
    ru,  ' €Ž—€Ÿ Ž‹€‘’œ                ',\
8
    ru,  ' ŠŽŠ€ ‚ €Ž—…‰ Ž‹€‘’ˆ       ',\
9
    ru,  ' ’…Š‘’ € ŠŽŠ…                ',\
10
    ru,  ' ’…Š‘’ ‚ €Ž—…‰ Ž‹€‘’ˆ        ',\
11
    ru,  ' ƒ€”ˆŠ€ ‚ €Ž—…‰ Ž‹€‘’ˆ      ',\
12
    ru,  'x',\
13
    en,  ' WINDOW FRAME                   ',\
14
    en,  ' WINDOW GRAB BAR                ',\
15
    en,  ' WINDOW GRAB BUTTON             ',\
16
    en,  ' WINDOW GRAB BUTTON TEXT        ',\
17
    en,  ' WINDOW GRAB TITLE              ',\
18
    en,  ' WINDOW WORK AREA               ',\
19
    en,  ' WINDOW WORK AREA BUTTON        ',\
20
    en,  ' WINDOW WORK AREA BUTTON TEXT   ',\
21
    en,  ' WINDOW WORK AREA TEXT          ',\
22
    en,  ' WINDOW WORK AREA GRAPH         ',\
23
    en,  'x',\
24
    et,  ' AKNA RAAM                      ',\
25
    et,  ' AKNA HAARAMISE RIBA            ',\
26
    et,  ' AKNA HAARAMISE NUPP            ',\
27
    et,  ' AKNA HAARAMISE NUPU TEKST      ',\
28
    et,  ' AKNA HAARAMISE PEALKIRI        ',\
29
    et,  ' AKNA TÖÖPIIRKOND               ',\
30
    et,  ' AKNA TÖÖPIIRKONNA NUPP         ',\
31
    et,  ' AKNA TÖÖPIIRKONNA NUPPU TEKST  ',\
32
    et,  ' AKNA TÖÖPIIRKONNA TEKST        ',\
33
    et,  ' AKNA TÖÖPIIRKONNA GRAAFIKA     ',\
34
    et,  'x'
35
 
36
lsz t1,\
37
    ru,  '‡€ƒ“‡ˆ’œ  ‘Ž•€ˆ’œ                                   ˆŒ…ˆ’œ',\
38
    en,  '  LOAD        SAVE                                       APPLY',\
39
    et,  '  LAADI     SALVESTA                                    KINNITA',\
40
 
41
lsz t2,\
42
    ru,  '‡€ƒ“‡ˆ’œ                3D   ‹Ž‘Šˆ…                  ˆŒ…ˆ’œ',\
43
    en,  '  LOAD                   3D    FLAT                      APPLY',\
44
    et,  '  LAADI                  3D    LAME                     KINNITA '
45
 
46
lsz select_dtp_text,\
47
    ru, ' ‚›Ž –‚…’Ž‚ŽƒŽ Ž”ŽŒ‹…ˆŸ: ',\
48
    en, ' CHOICE OF COLOR SCHEMES: ',\
49
    et, ' VALIK VARVISKEEME: '
3472 mario79 50
	db 0
51
 
3435 mario79 52
lsz select_skin_text,\
53
    ru, ' ‚›Ž ˜Š“Šˆ: ',\
54
    en, ' CHOICE OF SKINS: ',\
55
    et, ' VALIK NAHAD: '
3472 mario79 56
	db 0
57
 
3435 mario79 58
lsz caption_text,\
59
    ru, '‡ £®«®¢®ª',\
60
    en, 'Caption',\
61
    et, 'Pealkiri'
62
 
63
sz  close_text,'x'
64
 
65
lsz window_text,\
66
    ru, '’¥ªáâ ¢ ®ª­¥',\
67
    en, 'Window text',\
68
    et, 'Akna tekst'
69
 
70
lsz button_text,\
71
    ru, '’¥ªáâ ­  ª­®¯ª¥',\
72
    en, 'Button text',\
73
    et, 'Nupu tekst'
74
 
75
if lang eq ru
76
  title db '€‘’Ž‰Š€ ŽŠŽ',0
77
else if lang eq et
78
  title db 'AKNA SEADED - VALI VÄRV JA VAJUTA OBJEKTILE',0
79
else
80
  title db 'WINDOWS SETTINGS - DEFINE COLOR AND CLICK ON TARGET',0
81
end if
82
;---------------------------------------------------------------------
83
l_libs_start:
84
 
85
library01  l_libs system_dir_Boxlib+9, cur_dir_path, library_path, system_dir_Boxlib, \
86
err_message_found_lib1, head_f_l, Box_lib_import, err_message_import1, head_f_i
87
 
88
library02  l_libs system_dir_ProcLib+9, cur_dir_path, library_path, system_dir_ProcLib, \
89
err_message_found_lib2, head_f_l, ProcLib_import, err_message_import2, head_f_i
90
 
91
end_l_libs:
92
;---------------------------------------------------------------------
93
system_dir_Boxlib	db '/sys/lib/box_lib.obj',0
94
system_dir_ProcLib	db '/sys/lib/proc_lib.obj',0
95
 
96
head_f_i:
97
head_f_l	db 'System error',0
98
 
99
err_message_found_lib1	db 'box_lib.obj - Not found!',0
100
err_message_found_lib2	db 'proc_lib.obj - Not found!',0
101
 
102
err_message_import1	db 'box_lib.obj - Wrong import!',0
103
err_message_import2	db 'proc_lib.obj - Wrong import!',0
104
 
105
;---------------------------------------------------------------------
106
align 4
107
ProcLib_import:
108
OpenDialog_Init		dd aOpenDialog_Init
109
OpenDialog_Start	dd aOpenDialog_Start
110
 
111
ColorDialog_Init	dd aColorDialog_Init
112
ColorDialog_Start	dd aColorDialog_Start
113
;OpenDialog__Version	dd aOpenDialog_Version
114
        dd      0
115
        dd      0
116
 
117
aOpenDialog_Init	db 'OpenDialog_init',0
118
aOpenDialog_Start	db 'OpenDialog_start',0
119
 
120
aColorDialog_Init	db 'ColorDialog_init',0
121
aColorDialog_Start	db 'ColorDialog_start',0
122
;aOpenDialog_Version	db 'Version_OpenDialog',0
123
;---------------------------------------------------------------------
124
align 4
125
Box_lib_import:
126
;init_lib		dd a_init
127
;version_lib		dd a_version
128
 
129
 
130
;edit_box_draw		dd aEdit_box_draw
131
;edit_box_key		dd aEdit_box_key
132
;edit_box_mouse		dd aEdit_box_mouse
133
;version_ed		dd aVersion_ed
134
 
135
;check_box_draw		dd aCheck_box_draw
136
;check_box_mouse	dd aCheck_box_mouse
137
;version_ch		dd aVersion_ch
138
 
139
;option_box_draw	dd aOption_box_draw
140
;option_box_mouse	dd aOption_box_mouse
141
;version_op		dd aVersion_op
142
 
143
;scrollbar_ver_draw	dd aScrollbar_ver_draw
144
;scrollbar_ver_mouse	dd aScrollbar_ver_mouse
145
;scrollbar_hor_draw	dd aScrollbar_hor_draw
146
;scrollbar_hor_mouse	dd aScrollbar_hor_mouse
147
;version_scrollbar	dd aVersion_scrollbar
148
 
149
;dinamic_button_draw	dd aDbutton_draw
150
;dinamic_button_mouse	dd aDbutton_mouse
151
;version_dbutton	dd aVersion_dbutton
152
 
153
;menu_bar_draw		dd aMenu_bar_draw
154
;menu_bar_mouse		dd aMenu_bar_mouse
155
;menu_bar_activate	dd aMenu_bar_activate
156
;version_menu_bar	dd aVersion_menu_bar
157
 
158
;FileBrowser_draw	dd aFileBrowser_draw
159
;FileBrowser_mouse	dd aFileBrowser_mouse
160
;FileBrowser_key	dd aFileBrowser_key
161
;Version_FileBrowser	dd aVersion_FileBrowser
162
 
163
PathShow_prepare	dd sz_PathShow_prepare
164
PathShow_draw		dd sz_PathShow_draw
165
;Version_path_show	dd szVersion_path_show
3472 mario79 166
 
167
Frame_draw		dd sz_Frame_draw
168
;Version_frame		dd szVersion_frame
169
 
3435 mario79 170
			dd 0
171
			dd 0
172
 
173
;a_init			db 'lib_init',0
174
;a_version		db 'version',0
175
 
176
;aEdit_box_draw		db 'edit_box',0
177
;aEdit_box_key		db 'edit_box_key',0
178
;aEdit_box_mouse	db 'edit_box_mouse',0
179
;aVersion_ed		db 'version_ed',0
180
 
181
;aCheck_box_draw	db 'check_box_draw',0
182
;aCheck_box_mouse	db 'check_box_mouse',0
183
;aVersion_ch		db 'version_ch',0
184
 
185
;aOption_box_draw	db 'option_box_draw',0
186
;aOption_box_mouse	db 'option_box_mouse',0
187
;aVersion_op		db 'version_op',0
188
 
189
;aScrollbar_ver_draw	db 'scrollbar_v_draw',0
190
;aScrollbar_ver_mouse	db 'scrollbar_v_mouse',0
191
;aScrollbar_hor_draw	db 'scrollbar_h_draw',0
192
;aScrollbar_hor_mouse	db 'scrollbar_h_mouse',0
193
;aVersion_scrollbar	db 'version_scrollbar',0
194
 
195
;aDbutton_draw		db 'dbutton_draw',0
196
;aDbutton_mouse		db 'dbutton_mouse',0
197
;aVersion_dbutton	db 'version_dbutton',0
198
 
199
;aMenu_bar_draw		db 'menu_bar_draw',0
200
;aMenu_bar_mouse		db 'menu_bar_mouse',0
201
;aMenu_bar_activate	db 'menu_bar_activate',0
202
;aVersion_menu_bar	db 'version_menu_bar',0
203
 
204
;aFileBrowser_draw	db 'FileBrowser_draw',0
205
;aFileBrowser_mouse	db 'FileBrowser_mouse',0
206
;aFileBrowser_key	db 'FileBrowser_key',0
207
;aVersion_FileBrowser	db 'version_FileBrowser',0
208
 
209
sz_PathShow_prepare	db 'PathShow_prepare',0
210
sz_PathShow_draw	db 'PathShow_draw',0
211
;szVersion_path_show	db 'version_PathShow',0
3472 mario79 212
 
213
sz_Frame_draw		db 'frame_draw',0
214
;szVersion_frame	db 'version_frame',0
3435 mario79 215
;---------------------------------------------------------------------
216
PathShow_data_1:
217
.type			dd 0	;+0
218
.start_y		dw frame_1.y+10	;+4
219
.start_x		dw frame_1.x+7	;+6
220
.font_size_x		dw 6	;+8	; 6 - for font 0, 8 - for font 1
221
.area_size_x		dw frame_1.width-20	;+10
222
.font_number		dd 0	;+12	; 0 - monospace, 1 - variable
223
.background_flag	dd 0	;+16
224
.font_color		dd 0x0	;+20
225
.background_color	dd 0x0	;+24
226
.text_pointer		dd fname	;+28
227
.work_area_pointer	dd text_work_area	;+32
228
.temp_text_length	dd 0	;+36
229
;---------------------------------------------------------------------
230
PathShow_data_2:
231
.type			dd 0	;+0
232
.start_y		dw frame_2.y+10	;+4
233
.start_x		dw frame_2.x+7	;+6
234
.font_size_x		dw 6	;+8	; 6 - for font 0, 8 - for font 1
235
.area_size_x		dw frame_2.width-20	;+10
236
.font_number		dd 0	;+12	; 0 - monospace, 1 - variable
237
.background_flag	dd 0	;+16
238
.font_color		dd 0x0	;+20
239
.background_color	dd 0x0	;+24
240
.text_pointer		dd skin_info	;+28
241
.work_area_pointer	dd text_work_area2	;+32
242
.temp_text_length	dd 0	;+36
243
;---------------------------------------------------------------------
244
OpenDialog_data:
245
.type			dd 0
246
.procinfo		dd procinfo	;+4
247
.com_area_name		dd communication_area_name	;+8
248
.com_area		dd 0	;+12
249
.opendir_pach		dd temp_dir_pach	;+16
250
.dir_default_pach	dd communication_area_default_pach	;+20
251
.start_path		dd open_dialog_path	;+24
252
.draw_window		dd draw_window	;+28
253
.status			dd 0	;+32
254
.openfile_pach 		dd fname	;+36
255
.filename_area		dd filename_area	;+40
256
.filter_area		dd Filter
257
.x:
258
.x_size			dw 420 ;+48 ; Window X size
259
.x_start		dw 10 ;+50 ; Window X position
260
.y:
261
.y_size			dw 320 ;+52 ; Window y size
262
.y_start		dw 10 ;+54 ; Window Y position
263
 
264
OpenDialog_data2:
265
.type			dd 0
266
.procinfo		dd procinfo	;+4
267
.com_area_name		dd communication_area_name2	;+8
268
.com_area		dd 0	;+12
269
.opendir_pach		dd temp_dir_pach2	;+16
270
.dir_default_pach	dd communication_area_default_pach	;+20
271
.start_path		dd open_dialog_path	;+24
272
.draw_window		dd draw_window	;+28
273
.status			dd 0	;+32
274
.openfile_pach 		dd skin_info	;+36
275
.filename_area		dd filename_area2	;+40
276
.filter_area		dd Filter2
277
.x:
278
.x_size			dw 420 ;+48 ; Window X size
279
.x_start		dw 10 ;+50 ; Window X position
280
.y:
281
.y_size			dw 320 ;+52 ; Window y size
282
.y_start		dw 10 ;+54 ; Window Y position
283
 
284
communication_area_name2:
285
	db 'FFFFFFFF_open_dialog',0
286
 
287
communication_area_name:
288
	db 'FFFFFFFF_open_dialog2',0
289
open_dialog_path:
290
if __nightbuild eq yes
291
	db '/sys/MANAGERS/opendial',0
292
else
293
	db '/sys/File Managers/opendial',0
294
end if
295
communication_area_default_pach:
296
	db '/sys',0
297
 
298
Filter:
299
	dd Filter.end - Filter
300
.1:
301
	db 'DTP',0
302
.end:
303
	db 0
304
 
305
Filter2:
306
	dd Filter.end - Filter
307
.1:
308
	db 'SKN',0
309
.end:
310
	db 0
311
 
312
start_temp_file_name:
313
	db 'default.dtp',0
314
 
315
default_skin:
316
	db '/sys/default.skn',0
317
default_dtp:
318
	db '/sys/default.dtp',0
319
;---------------------------------------------------------------------
320
ColorDialog_data:
321
.type			dd 0
322
.procinfo		dd procinfo ;+4
323
.com_area_name		dd cd_communication_area_name ;+8
324
.com_area		dd 0 ;+12
325
.start_path		dd colordialog_path ;+16
326
.draw_window		dd draw_window ;+20
327
.status			dd 0 ;+24
328
.x:
329
.x_size			dw 420 ;+28 ; Window X size
330
.x_start		dw 10 ;+30 ; Window X position
331
.y:
332
.y_size			dw 320 ;+32 ; Window y size
333
.y_start		dw 10 ;+34 ; Window Y position
334
.color_type		dd 0 ;+36 ; 0- RGB, 1 or other - reserved
335
.color			dd 0 ;+40 ; Selected color
336
 
337
cd_communication_area_name:
338
	db 'FFFFFFFF_color_dialog',0
339
colordialog_path:
340
	db '/rd/1/colrdial',0
341
;---------------------------------------------------------------------
3472 mario79 342
frame_data:
343
.type			dd 0 ;+0
344
.x:
345
.x_size			dw 0 ;+4
346
.x_start		dw 0 ;+6
347
.y:
348
.y_size			dw 0 ;+8
349
.y_start		dw 0 ;+10
350
.ext_fr_col		dd 0x0 ;+12
351
.int_fr_col		dd 0xffffff ;+16
352
.draw_text_flag		dd 1 ;+20
353
.text_pointer		dd 0 ;+24
354
.text_position		dd 0 ;+28
355
.font_number		dd 0 ;+32
356
.font_size_y		dd 9 ;+36
357
.font_color		dd 0x0 ;+40
358
.font_backgr_color	dd 0xffffff ;+44
359
;---------------------------------------------------------------------
3435 mario79 360
IncludeIGlobals