Rev 7583 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7583 | Rev 8255 | ||
---|---|---|---|
Line 13... | Line 13... | ||
13 | 13 | ||
14 | include '../../proc32.inc' |
14 | include '../../proc32.inc' |
15 | include '../../macros.inc' |
15 | include '../../macros.inc' |
16 | include '../../KOSfuncs.inc' |
16 | include '../../KOSfuncs.inc' |
- | 17 | include '../../load_img.inc' |
|
17 | include '../../load_img.inc' |
18 | include '../../load_lib.mac' |
18 | include '../../develop/libraries/box_lib/trunk/box_lib.mac' |
19 | include '../../develop/libraries/box_lib/trunk/box_lib.mac' |
19 | include '../../system/skincfg/trunk/kglobals.inc' |
20 | include '../../system/skincfg/trunk/kglobals.inc' |
20 | include '../../system/skincfg/trunk/unpacker.inc' |
21 | include '../../system/skincfg/trunk/unpacker.inc' |
Line 25... | Line 26... | ||
25 | include 't_menu.inc' |
26 | include 't_menu.inc' |
26 | include 'strlen.inc' |
27 | include 'strlen.inc' |
27 | include 't_draw.inc' ;draw main window functions |
28 | include 't_draw.inc' ;draw main window functions |
28 | include 'wnd_k_words.inc' |
29 | include 'wnd_k_words.inc' |
Line 29... | Line 30... | ||
29 | 30 | ||
Line 30... | Line 31... | ||
30 | @use_library_mem mem.Alloc,mem.Free,mem.ReAlloc,dll.Load |
31 | @use_library mem.Alloc,mem.Free,mem.ReAlloc,dll.Load |
31 | 32 | ||
32 | align 4 |
33 | align 4 |
Line 369... | Line 370... | ||
369 | edit_find edit_box TED_PANEL_WIDTH-1, 0, 20, 0xffffff, 0xff80, 0xff0000, 0xff, 0x4080, 300, buf_find, mouse_dd, 0 |
370 | edit_find edit_box TED_PANEL_WIDTH-1, 0, 20, 0xffffff, 0xff80, 0xff0000, 0xff, 0x4080, 300, buf_find, mouse_dd, 0 |
370 | edit_goto edit_box TED_PANEL_WIDTH-1, 0, 20, 0xffffff, 0xff80, 0xff0000, 0xff, 0x4080, 10, buf_goto, mouse_dd, 0 |
371 | edit_goto edit_box TED_PANEL_WIDTH-1, 0, 20, 0xffffff, 0xff80, 0xff0000, 0xff, 0x4080, 10, buf_goto, mouse_dd, 0 |
Line 371... | Line 372... | ||
371 | 372 | ||
Line 372... | Line -... | ||
372 | unpac_mem dd 0 |
- | |
373 | - | ||
374 | if lang eq ru |
- | |
375 | head_f_i: |
- | |
376 | head_f_l db '"¨á⥬ ï ®è¨¡ª ',0 |
- | |
377 | err_message_found_lib0 db '¥ ©¤¥ ¡¨¡«¨®â¥ª ',39,'box_lib.obj',39,'" -tE',0 |
- | |
378 | err_message_import0 db '訡ª ¯à¨ ¨¬¯®à⥠¡¨¡«¨®â¥ª¨ ',39,'box_lib.obj',39,'" -tW',0 |
- | |
379 | err_message_found_lib1 db '¥ ©¤¥ ¡¨¡«¨®â¥ª ',39,'msgbox.obj',39,'" -tE',0 |
- | |
380 | err_message_import1 db '訡ª ¯à¨ ¨¬¯®à⥠¡¨¡«¨®â¥ª¨ ',39,'msgbox.obj',39,'" -tW',0 |
- | |
381 | err_message_found_lib2 db '¥ ©¤¥ ¡¨¡«¨®â¥ª ',39,'proc_lib.obj',39,'" -tE',0 |
- | |
382 | err_message_import2 db '訡ª ¯à¨ ¨¬¯®à⥠¡¨¡«¨®â¥ª¨ ',39,'proc_lib.obj',39,'" -tW',0 |
- | |
383 | err_message_found_lib_3 db '¥ ©¤¥ ¡¨¡«¨®â¥ª ',39,'libimg.obj',39,'" -tE',0 |
- | |
384 | err_message_import_3 db '訡ª ¯à¨ ¨¬¯®à⥠¡¨¡«¨®â¥ª¨ ',39,'libimg.obj',39,'" -tW',0 |
- | |
385 | err_message_found_lib_4 db '¥ ©¤¥ ¡¨¡«¨®â¥ª ',39,'libini.obj',39,'" -tE',0 |
- | |
386 | err_message_import_4 db '訡ª ¯à¨ ¨¬¯®à⥠¡¨¡«¨®â¥ª¨ ',39,'libini.obj',39,'" -tW',0 |
- | |
387 | err_message_found_lib_5 db '¥ ©¤¥ ¡¨¡«¨®â¥ª ',39,'libkmenu.obj',39,'" -tE',0 |
- | |
388 | err_message_import_5 db '訡ª ¯à¨ ¨¬¯®à⥠¡¨¡«¨®â¥ª¨ ',39,'libkmenu.obj',39,'" -tW',0 |
- | |
389 | else |
- | |
390 | head_f_i: |
- | |
391 | head_f_l db '"System error',0 |
- | |
392 | err_message_found_lib0 db 'Sorry I cannot found library ',39,'box_lib.obj',39,'" -tE',0 |
- | |
393 | err_message_import0 db 'Error on load import library ',39,'box_lib.obj',39,'" -tW',0 |
- | |
394 | err_message_found_lib1 db 'Sorry I cannot found library ',39,'msgbox.obj',39,'" -tE',0 |
- | |
395 | err_message_import1 db 'Error on load import library ',39,'msgbox.obj',39,'" -tW',0 |
- | |
396 | err_message_found_lib2 db 'Sorry I cannot found library ',39,'proc_lib.obj',39,'" -tE',0 |
- | |
397 | err_message_import2 db 'Error on load import library ',39,'proc_lib.obj',39,'" -tW',0 |
- | |
398 | err_message_found_lib_3 db 'Sorry I cannot found library ',39,'libimg.obj',39,'" -tE',0 |
- | |
399 | err_message_import_3 db 'Error on load import library ',39,'libimg.obj',39,'" -tW',0 |
- | |
400 | err_message_found_lib_4 db 'Sorry I cannot found library ',39,'libini.obj',39,'" -tE',0 |
- | |
401 | err_message_import_4 db 'Error on load import library ',39,'libini.obj',39,'" -tW',0 |
- | |
402 | err_message_found_lib_5 db 'Sorry I cannot found library ',39,'libkmenu.obj',39,'" -tE',0 |
- | |
403 | err_message_import_5 db 'Error on load import library ',39,'libkmenu.obj',39,'" -tW',0 |
- | |
404 | end if |
373 | unpac_mem dd 0 |
405 | 374 | ||
406 | ;library structures |
375 | ;library structures |
407 | l_libs_start: |
- | |
408 | lib0 l_libs lib_name_0, sys_path, file_name, system_dir_0,\ |
376 | l_libs_start: |
409 | err_message_found_lib0, head_f_l, import_box_lib,err_message_import0, head_f_i |
- | |
410 | lib1 l_libs lib_name_1, sys_path, file_name, system_dir_1,\ |
377 | lib0 l_libs lib_name_0, file_name, system_dir_0, import_box_lib |
411 | err_message_found_lib1, head_f_l, import_msgbox_lib, err_message_import1, head_f_i |
- | |
412 | lib2 l_libs lib_name_2, sys_path, file_name, system_dir_2,\ |
378 | lib1 l_libs lib_name_1, file_name, system_dir_1, import_msgbox_lib |
413 | err_message_found_lib2, head_f_l, import_proclib, err_message_import2, head_f_i |
- | |
414 | lib3 l_libs lib_name_3, sys_path, file_name, system_dir_3,\ |
379 | lib2 l_libs lib_name_2, file_name, system_dir_2, import_proclib |
415 | err_message_found_lib_3, head_f_l, import_libimg, err_message_import_3, head_f_i |
- | |
416 | lib4 l_libs lib_name_4, sys_path, file_name, system_dir_4,\ |
380 | lib3 l_libs lib_name_3, file_name, system_dir_3, import_libimg |
417 | err_message_found_lib_4, head_f_l, import_libini, err_message_import_4, head_f_i |
- | |
418 | lib5 l_libs lib_name_5, sys_path, file_name, system_dir_5,\ |
381 | lib4 l_libs lib_name_4, file_name, system_dir_4, import_libini |
Line 419... | Line 382... | ||
419 | err_message_found_lib_5, head_f_l, import_libkmenu, err_message_import_5, head_f_i |
382 | lib5 l_libs lib_name_5, file_name, system_dir_5, import_libkmenu |
420 | load_lib_end: |
383 | load_lib_end: |
421 | 384 |