1 ;---------------------------------------------------------------------
\r
3 ;---------------------------------------------------------------------
\r
10 ;---------------------------------------------------------------------
\r
12 en_US, 'File info',\
\r
13 ru_RU, 'ˆä®à¬ æ¨ï ® ä ©«¥',\
\r
18 en_US, 'File name ',\
\r
19 en_US, 'File size ',\
\r
22 en_US, 'Resolution ',\
\r
23 en_US, 'Frames total ',\
\r
25 ru_RU, 'ˆ¬ï ä ©« ',\
\r
26 ru_RU, '� §¬¥à ä ©« ',\
\r
29 ru_RU, '�¨â ¯¨ªá¥« ',\
\r
30 ru_RU, '‚ᥣ® ª ¤à®¢ ',\
\r
32 de_DE, 'Datei Namen ',\
\r
33 de_DE, 'Fateigroesse ',\
\r
34 de_DE, 'X groesse ',\
\r
35 de_DE, 'Y groesse ',\
\r
36 de_DE, 'Die Tiefe ',\
\r
37 de_DE, 'Zahl Frames '
\r
39 ;---------------------------------------------------------------------
\r
41 .1: db 'zSea version: 1.00 RC5-1 Date: 03/12/2021',0
\r
43 .3: db 'Marat Zakiyanov aka Mario(Mario79)',0
\r
44 .4: db 'zSea program, modules: cnv_bmp.obj,',0
\r
45 .5: db 'cnv_png.obj, convert.obj, rotate.obj ',0
\r
46 .6: db 'scaling.obj, box_lib.obj, OpenDialog',0
\r
47 .7: db 'proc_lib.obj',0
\r
49 .8: db 'Evgeny Grechnikov aka Diamond',0
\r
50 .9: db 'modules: cnv_jpeg.obj, cnv_gif.obj,',0
\r
51 .10: db 'archiver.obj, sort.obj ',0
\r
53 .11: db 'Alexey Teplov aka <Lrz>',0
\r
54 .12: db 'modules: box_lib.obj, load_lib.mac',0
\r
56 .13: db 'Mihail Semenyako aka Mike.dld',0
\r
57 .14: db 'modules: libini.obj, libio.obj',0
\r
58 ;---------------------------------------------------------------------
\r
59 status dd 0 ;bit0=1 if file thread is created
\r
68 ;---------------------------------
\r
70 en_US, 'About program',\
\r
71 ru_RU, 'Ž ¯à®£à ¬¬¥',\
\r
72 de_DE, 'Uber das programm'
\r
74 ;---------------------------------
\r
76 en_US, 'Set wallpaper',\
\r
77 ru_RU, '“áâ ®¢ª ä® ',\
\r
78 de_DE, 'Installation hintergrund'
\r
80 ;---------------------------------
\r
82 en_US, 'Select sorting mode',\
\r
83 ru_RU, '‘®àâ¨à®¢ª ¤¨à¥ªâ®à¨¨',\
\r
84 de_DE, 'Regimes der Sortierung'
\r
86 ;---------------------------------
\r
88 en_US, 'Set as background:',\
\r
89 ru_RU, '’¨¯ ®¡®¥¢:',\
\r
90 de_DE, 'Als hintergrund'
\r
92 ;---------------------------------
\r
94 en_US, 'Position:',\
\r
98 ;---------------------------------
\r
100 en_US, 'Directory sorting mode:',\
\r
101 ru_RU, '�¥¦¨¬ á®àâ¨à®¢ª¨ ¤¨à¥ªâ®à¨¨:',\
\r
102 de_DE, 'Regime der Sortierung des Verzeichnisses:'
\r
104 ;---------------------------------
\r
106 en_US, 'File system error:',\
\r
107 ru_RU, 'Žè¨¡ª ä ©«®¢®© á¨á⥬ë:',\
\r
108 de_DE, 'Fehler files systemes:'
\r
110 ;---------------------------------
\r
112 en_US, 'Options:',\
\r
113 ru_RU, '� áâனª¨:',\
\r
116 ;---------------------------------
\r
119 ; ru_RU, '‡ ¬®áâ¨âì',\
\r
120 ; de_DE, 'Gekachelt'
\r
123 ; en_US, 'Stretch',\
\r
124 ; ru_RU, '� áâïãâì',\
\r
125 ; de_DE, 'Gestreckt'
\r
126 ;---------------------------------
\r
128 en_US, 'Background color:',\
\r
129 ru_RU, '–¢¥â ä® :',\
\r
130 de_DE, 'Hintergrundfarbe:'
\r
132 ;---------------------------------
\r
138 ;---------------------------------
\r
139 lsz slide_show_delay_title,\
\r
140 en_US, 'Slide show delay:',\
\r
141 ru_RU, '‡ ¤¥à¦ª á« ©¤è®ã:',\
\r
142 de_DE, 'Verzug der schau:'
\r
144 ;---------------------------------
\r
145 lsz arrows_offset_title,\
\r
146 en_US, 'Arrows offset:',\
\r
147 ru_RU, '‘¬¥é¥¨¥ áâ५ª ¬¨:',\
\r
148 de_DE, 'Bewegung von den zeigern:'
\r
150 ;---------------------------------
\r
151 slide_show_delay_text:
\r
153 ;---------------------------------------------------------------------
\r
159 dd zoom_factors.100
\r
212 zoom_factors_old dd 0
\r
214 ;---------------------------------------------------------------------
\r
215 ; not change this section!!!
\r
217 ;---------------------------------------------------------------------
\r
219 crop_image_file dd 0 ;+0
\r
220 crop_raw_pointer dd 0 ;+4
\r
221 crop_return_code dd 0 ;+8
\r
222 crop_img_size dd 0 ;+12
\r
223 crop_deflate_unpack dd 0 ;+16
\r
224 crop_raw_pointer_2 dd 0 ;+20
\r
225 ;---------------------------------------------------------------------
\r
227 ;---------------------------------------------------------------------
\r
229 ;---------------------------------------------------------------------
\r
230 ; not change this section!!!
\r
232 ;---------------------------------------------------------------------
\r
234 image_file dd 0 ;+0
\r
235 raw_pointer dd 0 ;+4
\r
236 return_code dd 0 ;+8
\r
238 deflate_unpack dd 0 ;+16
\r
239 raw_pointer_2 dd 0 ;+20
\r
240 ;---------------------------------------------------------------------
\r
242 ;---------------------------------------------------------------------
\r
250 ;---------------------------------------------------------------------
\r
257 img_resolution dd 0
\r
258 img_resolution_2 dd 0
\r
261 background_color dd 0xffffff
\r
268 stretch_start_coordinates:
\r
272 screen_relation dd 0
\r
273 picture_relation dd 0
\r
275 stretch_img_high dd 0
\r
276 stretch_img_width dd 0
\r
282 Total_Repeat_N dd 1
\r
283 previous_frame_pointer dd 0
\r
284 Animation_timer dd 0
\r
288 Disposal_Method db 0
\r
291 redraw_wallpaper_flag db 0
\r
293 calc_next_value_plus db 0
\r
294 calc_next_value_minus db 0
\r
295 ;---------------------------------------------------------------------
\r
302 ;plugin_validate dd 0
\r
303 ;plugin_validate_1 dd 0
\r
304 ;plugin_validate_2 dd 0
\r
305 ;plugin_validate_3 dd 0
\r
307 ;plugin_format dd 0
\r
308 ;plugin_format_1 dd 0
\r
309 ;plugin_format_2 dd 0
\r
310 ;plugin_format_3 dd 0
\r
312 ;plugin_convert dd 0
\r
313 ;plugin_convert_background dd 0
\r
315 ;plugin_rotate dd 0
\r
316 ;plugin_scaling dd 0
\r
318 slide_show_delay dd 500 ; cost of 0,01 sec.
\r
319 slide_show_delay_old dd 0
\r
323 ;---------------------------------------------------------------------
\r
324 expansion_length dd 0
\r
325 expansion_start dd 0
\r
328 ;---------------------------------------------------------------------
\r
337 mouse_position_old:
\r
342 mouse_keys_old dd 0
\r
344 arrows_offset dd 10
\r
345 arrows_offset_old dd 10
\r
347 option_pointer dd 0
\r
352 ;---------------------------------------------------------------------
\r
355 work_area_LR_old dd 0
\r
356 work_area_TB_old dd 0
\r
358 scaling_mode dd 100
\r
359 scaling_mode_old dd 100
\r
361 window_start_x_old dd 0
\r
362 window_start_y_old dd 0
\r
363 window_high_old dd 0
\r
364 window_width_old dd 0
\r
366 window_start_x dd 0
\r
367 window_start_y dd 0
\r
385 image_start_coordinates dd 0
\r
390 vertical_position_coorect dd 0
\r
391 horizontal_position_coorect dd 0
\r
393 fill_color dd 0xffffff
\r
394 fill_color_old dd 0xffffff
\r
396 position_coorect db 0
\r
398 open_file_flag db 0
\r
399 sort_directory_flag db 0
\r
402 press_Enter_flag db 0
\r
404 capture_image_area_flag db 0
\r
406 correct_scrollbar_100_flag db 0
\r
407 ;---------------------------------------------------------------------
\r
409 ;dd test_area.end - test_area
\r
412 ;db 0,0,0,0,0,0,0,0,0,0,0,0,0
\r
413 ;---------------------------------------------------------------------
\r
414 aApplicationsPaths db 'ApplicationsPaths',0
\r
415 aOther db 'Other',0
\r
418 aEditor db 'Editor',0
\r
419 aOpenDialog db 'OpenDialog',0
\r
420 akey_help db 'HelpFile',0
\r
422 aConvertPlugins db 'ConvertPlugins',0
\r
424 ConvertPlugins_no_key db 'NoKey',0
\r
436 ;---------------------------------------------------------------------
\r
437 plugin_BMP_name db 'cnv_bmp.obj',0
\r
438 plugin_PNG_name db 'cnv_png.obj',0
\r
439 plugin_JPEG_name db 'cnv_jpeg.obj',0
\r
440 plugin_GIF_name db 'cnv_gif.obj',0
\r
442 ;plugin_convert_name db 'convert.obj',0
\r
443 ;plugin_sort_name db 'sort.obj',0
\r
444 ;plugin_rotate_name db 'rotate.obj',0
\r
445 ;plugin_scaling_name db 'scaling.obj',0
\r
446 ;plugin_UNPACK_name db 'archiver.obj',0
\r
447 ;boxlib_name db 'box_lib.obj',0
\r
448 ;Libini_name db 'libini.obj',0
\r
449 plugins_directory db 'plugins/',0
\r
450 ini_file_name db 'zsea.ini',0
\r
452 button_name db 'buttons.png',0
\r
453 ;buttons_passive_name db '1.png',0
\r
454 ;buttons_active_name db '2.png',0
\r
455 ;buttons_click_name db '3.png',0
\r
457 buttons_directory db 'buttons/',0
\r
458 ;UNPACK_function_name db 'deflate_unpack',0
\r
459 ;UNPACK_function_name_end:
\r
460 ;UNPACK_function_name db 'deflate_unpack2',0
\r
461 ;UNPACK_function_name_end:
\r
463 system_dir_Boxlib db '/sys/lib/box_lib.obj',0
\r
464 system_dir_Libini db '/sys/lib/libini.obj',0
\r
465 system_dir_Sort db '/sys/lib/sort.obj',0
\r
466 system_dir_UNPACK db '/sys/lib/archiver.obj',0
\r
467 system_dir_Convert db '/sys/lib/convert.obj',0
\r
468 system_dir_Rotate db '/sys/lib/rotate.obj',0
\r
469 system_dir_Scaling db '/sys/lib/scaling.obj',0
\r
470 system_dir_ProcLib db '/sys/lib/proc_lib.obj',0
\r
472 ;---------------------------------------------------------------------
\r
474 library01 l_libs system_dir_Boxlib+9, library_path, system_dir_Boxlib, \
\r
475 Box_lib_import, plugins_directory
\r
477 library02 l_libs system_dir_Libini+9, library_path, system_dir_Libini, \
\r
478 Libini_import, plugins_directory
\r
480 library03 l_libs system_dir_Sort+9, library_path, system_dir_Sort, \
\r
481 Sort_import, plugins_directory
\r
483 library04 l_libs system_dir_UNPACK+9, library_path, system_dir_UNPACK, \
\r
484 UNPACK_import, plugins_directory
\r
486 library05 l_libs system_dir_Convert+9, library_path, system_dir_Convert, \
\r
487 Convert_import, plugins_directory
\r
489 library06 l_libs system_dir_Rotate+9, library_path, system_dir_Rotate, \
\r
490 Rotate_import, plugins_directory
\r
492 library07 l_libs system_dir_Scaling+9, library_path, system_dir_Scaling, \
\r
493 Scaling_import, plugins_directory
\r
495 library08 l_libs system_dir_ProcLib+9, library_path, system_dir_ProcLib, \
\r
496 ProcLib_import, plugins_directory
\r
499 ;---------------------------------------------------------------------
\r
501 cnv_plugin_name_pointer dd plugin_0_name
\r
502 cnv_plugin_import_pointer dd Convert_plugin_0
\r
504 system_path db '/sys/lib/'
\r
506 ;---------------------------------------------------------------------
\r
508 .Start dd aCP_Start
\r
509 .Version dd aCP_Version
\r
510 .Check dd aCP_Check
\r
511 .Assoc dd aCP_Assoc
\r
515 .Start dd aCP_Start
\r
516 .Version dd aCP_Version
\r
517 .Check dd aCP_Check
\r
518 .Assoc dd aCP_Assoc
\r
522 .Start dd aCP_Start
\r
523 .Version dd aCP_Version
\r
524 .Check dd aCP_Check
\r
525 .Assoc dd aCP_Assoc
\r
529 .Start dd aCP_Start
\r
530 .Version dd aCP_Version
\r
531 .Check dd aCP_Check
\r
532 .Assoc dd aCP_Assoc
\r
536 .Start dd aCP_Start
\r
537 .Version dd aCP_Version
\r
538 .Check dd aCP_Check
\r
539 .Assoc dd aCP_Assoc
\r
543 .Start dd aCP_Start
\r
544 .Version dd aCP_Version
\r
545 .Check dd aCP_Check
\r
546 .Assoc dd aCP_Assoc
\r
550 .Start dd aCP_Start
\r
551 .Version dd aCP_Version
\r
552 .Check dd aCP_Check
\r
553 .Assoc dd aCP_Assoc
\r
557 .Start dd aCP_Start
\r
558 .Version dd aCP_Version
\r
559 .Check dd aCP_Check
\r
560 .Assoc dd aCP_Assoc
\r
564 .Start dd aCP_Start
\r
565 .Version dd aCP_Version
\r
566 .Check dd aCP_Check
\r
567 .Assoc dd aCP_Assoc
\r
571 .Start dd aCP_Start
\r
572 .Version dd aCP_Version
\r
573 .Check dd aCP_Check
\r
574 .Assoc dd aCP_Assoc
\r
577 aCP_Start db 'START',0
\r
578 aCP_Version db 'version',0
\r
579 aCP_Check db 'Check_Header',0
\r
580 aCP_Assoc db 'Associations',0
\r
581 ;---------------------------------------------------------------------
\r
583 file_mount: db 'File N: Amount: Zoom:',0
\r
586 current_key_code db 0
\r
588 ;---------------------------------------------------------------------
\r
590 ;---------------------------------------------------------------------
\r
591 aSortMode db 'SortMode',0
\r
592 aSlideShowDelay db 'SlideShowDelay',0
\r
593 aArrowsOffset db 'ArrowsOffset',0
\r
594 aShowFileName db 'ShowFileName',0
\r
595 aFilteringFlag db 'FilteringFlag',0
\r
596 ;---------------------------------------------------------------------
\r
598 ;---------------------------------------------------------------------
\r
599 aVariables db 'Variables',0
\r
602 ;---------------------------------------------------------------------
\r
605 OpenDialog_Init dd aOpenDialog_Init
\r
606 OpenDialog_Start dd aOpenDialog_Start
\r
608 ColorDialog_Init dd aColorDialog_Init
\r
609 ColorDialog_Start dd aColorDialog_Start
\r
610 ;OpenDialog__Version dd aOpenDialog_Version
\r
614 aOpenDialog_Init db 'OpenDialog_init',0
\r
615 aOpenDialog_Start db 'OpenDialog_start',0
\r
617 aColorDialog_Init db 'ColorDialog_init',0
\r
618 aColorDialog_Start db 'ColorDialog_start',0
\r
619 ;aOpenDialog_Version db 'Version_OpenDialog',0
\r
620 ;---------------------------------------------------------------------
\r
623 Scaling_Start dd aScaling_Start
\r
624 Scaling_Version dd aScaling_Version
\r
627 aScaling_Start db 'START',0
\r
628 aScaling_Version db 'version',0
\r
629 ;---------------------------------------------------------------------
\r
632 rotate_Start dd aRotate_Start
\r
633 rotate_Version dd aRotate_Version
\r
636 aRotate_Start db 'START',0
\r
637 aRotate_Version db 'version',0
\r
638 ;---------------------------------------------------------------------
\r
641 convert_Start dd aConvert_Start
\r
642 convert_Version dd aConvert_Version
\r
643 convert_Conv_24b dd aConvert_Conv_24b
\r
646 aConvert_Start db 'START',0
\r
647 aConvert_Version db 'version',0
\r
648 aConvert_Conv_24b db 'Convert24b',0
\r
649 ;---------------------------------------------------------------------
\r
652 ;unpack_Version dd aUnpack_Version
\r
653 ;unpack_PluginLoad dd aUnpack_PluginLoad
\r
654 ;unpack_OpenFilePlugin dd aUnpack_OpenFilePlugin
\r
655 ;unpack_ClosePlugin dd aUnpack_ClosePlugin
\r
656 ;unpack_ReadFolder dd aUnpack_ReadFolder
\r
657 ;unpack_SetFolder dd aUnpack_SetFolder
\r
658 ;unpack_GetFiles dd aUnpack_GetFiles
\r
659 ;unpack_GetOpenPluginInfo dd aUnpack_GetOpenPluginInfo
\r
660 ;unpack_Getattr dd aUnpack_Getattr
\r
661 ;unpack_Open dd aUnpack_Open
\r
662 ;unpack_Read dd aUnpack_Read
\r
663 ;unpack_Setpos dd aUnpack_Setpos
\r
664 ;unpack_Close dd aUnpack_Close
\r
665 ;unpack_DeflateUnpack dd aUnpack_DeflateUnpack
\r
666 unpack_DeflateUnpack2 dd aUnpack_DeflateUnpack2
\r
670 ;aUnpack_Version db 'version',0
\r
671 ;aUnpack_PluginLoad db 'plugin_load',0
\r
672 ;aUnpack_OpenFilePlugin db 'OpenFilePlugin',0
\r
673 ;aUnpack_ClosePlugin db 'ClosePlugin',0
\r
674 ;aUnpack_ReadFolder db 'ReadFolder',0
\r
675 ;aUnpack_SetFolder db 'SetFolder',0
\r
676 ;aUnpack_GetFiles db 'GetFiles',0
\r
677 ;aUnpack_GetOpenPluginInfo db 'GetOpenPluginInfo',0
\r
678 ;aUnpack_Getattr db 'getattr',0
\r
679 ;aUnpack_Open db 'open',0
\r
680 ;aUnpack_Read db 'read',0
\r
681 ;aUnpack_Setpos db 'setpos',0
\r
682 ;aUnpack_Close db 'close',0
\r
683 ;aUnpack_DeflateUnpack db 'deflate_unpack',0
\r
684 aUnpack_DeflateUnpack2 db 'deflate_unpack2',0
\r
686 ;---------------------------------------------------------------------
\r
689 sort_init dd aSort_init
\r
690 sort_version dd aSort_version
\r
691 sort_dir dd aSort_SortDir
\r
692 sort_strcmpi dd aSort_strcmpi
\r
696 aSort_init db 'START',0
\r
697 aSort_version db 'version',0
\r
698 aSort_SortDir db 'SortDir',0
\r
699 aSort_strcmpi db 'strcmpi',0
\r
701 ;---------------------------------------------------------------------
\r
704 lib_init dd aLib_init
\r
705 version_lib_ini dd aVersion_lib_ini
\r
706 ini_enum_sections dd aIni_enum_sections
\r
707 ini_enum_keys dd aIni_enum_keys
\r
708 ini_get_str dd aIni_get_str
\r
709 ini_get_int dd aIni_get_int
\r
710 ini_get_color dd aIni_get_color
\r
711 ini_set_str dd aIni_set_str
\r
712 ini_set_int dd aIni_set_int
\r
713 ini_set_color dd aIni_set_color
\r
717 aLib_init db 'lib_init',0
\r
718 aVersion_lib_ini db 'version',0
\r
719 aIni_enum_sections db 'ini_enum_sections',0
\r
720 aIni_enum_keys db 'ini_enum_keys',0
\r
721 aIni_get_str db 'ini_get_str',0
\r
722 aIni_get_int db 'ini_get_int',0
\r
723 aIni_get_color db 'ini_get_color',0
\r
724 aIni_set_str db 'ini_set_str',0
\r
725 aIni_set_int db 'ini_set_int',0
\r
726 aIni_set_color db 'ini_set_color',0
\r
728 ;---------------------------------------------------------------------
\r
731 ;init_lib dd a_init
\r
732 ;version_lib dd a_version
\r
734 edit_box_draw dd aEdit_box_draw
\r
735 edit_box_key dd aEdit_box_key
\r
736 edit_box_mouse dd aEdit_box_mouse
\r
737 ;version_ed dd aVersion_ed
\r
739 init_checkbox dd aInit_checkbox
\r
740 check_box_draw dd aCheck_box_draw
\r
741 check_box_mouse dd aCheck_box_mouse
\r
742 ;version_ch dd aVersion_ch
\r
744 option_box_draw dd aOption_box_draw
\r
745 option_box_mouse dd aOption_box_mouse
\r
746 ;version_op dd aVersion_op
\r
748 scrollbar_ver_draw dd aScrollbar_ver_draw
\r
749 scrollbar_ver_mouse dd aScrollbar_ver_mouse
\r
750 scrollbar_hor_draw dd aScrollbar_hor_draw
\r
751 scrollbar_hor_mouse dd aScrollbar_hor_mouse
\r
752 ;version_scrollbar dd aVersion_scrollbar
\r
754 dinamic_button_draw dd aDbutton_draw
\r
755 dinamic_button_mouse dd aDbutton_mouse
\r
756 ;version_dbutton dd aVersion_dbutton
\r
758 menu_bar_draw dd aMenu_bar_draw
\r
759 menu_bar_mouse dd aMenu_bar_mouse
\r
760 menu_bar_activate dd aMenu_bar_activate
\r
761 ;version_menu_bar dd aVersion_menu_bar
\r
763 ;FileBrowser_draw dd aFileBrowser_draw
\r
764 ;FileBrowser_mouse dd aFileBrowser_mouse
\r
765 ;FileBrowser_key dd aFileBrowser_key
\r
766 ;Version_FileBrowser dd aVersion_FileBrowser
\r
770 ;a_init db 'lib_init',0
\r
771 ;a_version db 'version',0
\r
773 aEdit_box_draw db 'edit_box_draw',0
\r
774 aEdit_box_key db 'edit_box_key',0
\r
775 aEdit_box_mouse db 'edit_box_mouse',0
\r
776 ;aVersion_ed db 'version_ed',0
\r
778 aInit_checkbox db 'init_checkbox2',0
\r
779 aCheck_box_draw db 'check_box_draw2',0
\r
780 aCheck_box_mouse db 'check_box_mouse2',0
\r
781 ;aVersion_ch db 'version_ch2',0
\r
783 aOption_box_draw db 'option_box_draw',0
\r
784 aOption_box_mouse db 'option_box_mouse',0
\r
785 ;aVersion_op db 'version_op',0
\r
787 aScrollbar_ver_draw db 'scrollbar_v_draw',0
\r
788 aScrollbar_ver_mouse db 'scrollbar_v_mouse',0
\r
789 aScrollbar_hor_draw db 'scrollbar_h_draw',0
\r
790 aScrollbar_hor_mouse db 'scrollbar_h_mouse',0
\r
791 ;aVersion_scrollbar db 'version_scrollbar',0
\r
793 aDbutton_draw db 'dbutton_draw',0
\r
794 aDbutton_mouse db 'dbutton_mouse',0
\r
795 ;aVersion_dbutton db 'version_dbutton',0
\r
797 aMenu_bar_draw db 'menu_bar_draw',0
\r
798 aMenu_bar_mouse db 'menu_bar_mouse',0
\r
799 aMenu_bar_activate db 'menu_bar_activate',0
\r
800 ;aVersion_menu_bar db 'version_menu_bar',0
\r
802 ;aFileBrowser_draw db 'FileBrowser_draw',0
\r
803 ;aFileBrowser_mouse db 'FileBrowser_mouse',0
\r
804 ;aFileBrowser_key db 'FileBrowser_key',0
\r
805 ;aVersion_FileBrowser db 'version_FileBrowser',0
\r
806 ;---------------------------------------------------------------------
\r
808 load_directory_pointer dd 0
\r
809 file_name_length dd 0
\r
810 load_file_number dd 0
\r
814 error_window_x: dd 100 shl 16 + 300
\r
815 error_window_y: dd 100 shl 16 + 100
\r
825 active_process dd 0
\r
827 draw_scrollbar_counter dd 0
\r
828 ;---------------------------------------------------------------------
\r
830 error_fs_text_pointers:
\r
841 dd error_fs_text_10
\r
842 dd error_fs_text_11
\r
844 error_fs_text_0: db 'Success full',0
\r
845 error_fs_text_1: db 'Base and/or partition of a hard disk is not defined',0
\r
846 error_fs_text_2: db 'Function is not supported for the given file system',0
\r
847 error_fs_text_3: db 'Unknown file system',0
\r
848 error_fs_text_4: db 'Reserved, is never returned in the current implementation',0
\r
849 error_fs_text_5: db 'File not found',0
\r
850 error_fs_text_6: db 'End of file, EOF',0
\r
851 error_fs_text_7: db 'Pointer lies outside of application memory',0
\r
852 error_fs_text_8: db 'Disk is full',0
\r
853 error_fs_text_9: db 'FAT table is destroyed',0
\r
854 error_fs_text_10: db 'Access denied',0
\r
855 error_fs_text_11: db 'Device error',0
\r
856 ;---------------------------------------------------------------------
\r
858 db 'File system error',0
\r
859 ;---------------------------------------------------------------------
\r
860 error_not_supported_file:
\r
861 db 'Unsupported file or corrupt data',0
\r
862 ;---------------------------------------------------------------------
\r
863 error_not_enough_memory:
\r
864 db 'Not_enough_memory',0
\r
865 ;---------------------------------------------------------------------
\r
867 db 'Unknown error',0
\r
868 ;---------------------------------------------------------------------
\r
870 no_draw_window db 0
\r
875 ;---------------------------------------------------------------------
\r
879 edit1 edit_box 200,10,30,0xffffff,0xbbddff,0,0,0,255,string,mouse_dd,ed_focus+ed_always_focus,0
\r
880 name_editboxes_end:
\r
882 ;mouse_flag: dd 0x0
\r
885 ;---------------------------------------------------------------------
\r
887 ; option_boxes_bcgr:
\r
888 op1 option_box option_group1,60,45,6,12,0xFFFFFF,0,0xffffff,op_text.1,op_text.e1-op_text.1
\r
889 op2 option_box option_group1,60,60,6,12,0xFFFFFF,0,0xffffff,op_text.2,op_text.e2-op_text.2
\r
890 op3 option_box option_group1,60,75,6,12,0xFFFFFF,0,0xffffff,op_text.3,op_text.e3-op_text.3
\r
891 op4 option_box option_group1,60,90,6,12,0xFFFFFF,0,0xffffff,op_text.4,op_text.e4-op_text.4
\r
892 ;option_boxes_bcgr_end:
\r
899 .3 db 'Stretch + Crop'
\r
901 .4 db 'Stretch + Inscribe'
\r
904 option_group1 dd op1
\r
906 option_boxes_bcgr: dd op1,op2,op3,op4,0
\r
908 ;---------------------------------------------------------------------
\r
910 op_UL option_box option_group3,200,40,20,20,0xFFFFFF,0,0xffffff,0,0
\r
911 op_UC option_box option_group3,223,40,20,20,0xFFFFFF,0,0xffffff,0,0
\r
912 op_UR option_box option_group3,246,40,20,20,0xFFFFFF,0,0xffffff,0,0
\r
913 op_CL option_box option_group3,200,63,20,20,0xFFFFFF,0,0xffffff,0,0
\r
914 op_CC option_box option_group3,223,63,20,20,0xFFFFFF,0,0xffffff,0,0
\r
915 op_CR option_box option_group3,246,63,20,20,0xFFFFFF,0,0xffffff,0,0
\r
916 op_DL option_box option_group3,200,86,20,20,0xFFFFFF,0,0xffffff,0,0
\r
917 op_DC option_box option_group3,223,86,20,20,0xFFFFFF,0,0xffffff,0,0
\r
918 op_DR option_box option_group3,246,86,20,20,0xFFFFFF,0,0xffffff,0,0
\r
919 ;option_boxes_bcgr_end:
\r
921 option_group3 dd op_CC
\r
923 Stretch_Crop_Corner dd 1 shl 16+1
\r
924 option_boxes_SCC: dd op_UL,op_UC,op_UR,op_CL,op_CC,op_CR,op_DL,op_DC,op_DR,0
\r
926 bcgr_group_pointer db 0
\r
927 ;---------------------------------------------------------------------
\r
929 ;option_boxes_sort:
\r
930 sort0 option_box option_group2,60,40,6,12,0xFFFFFF,0,0xffffff,op_text_1.1,op_text_1.e1-op_text_1.1
\r
931 sort2 option_box option_group2,60,55,6,12,0xFFFFFF,0,0xffffff,op_text_1.2,op_text_1.e2-op_text_1.2
\r
932 sort4 option_box option_group2,60,70,6,12,0xFFFFFF,0,0xffffff,op_text_1.3,op_text_1.e3-op_text_1.3
\r
933 sort6 option_box option_group2,60,85,6,12,0xFFFFFF,0,0xffffff,op_text_1.4,op_text_1.e4-op_text_1.4
\r
934 option_boxes_sort_end:
\r
946 option_group2 dd sort2
\r
947 option_group2_old dd 0
\r
949 option_boxes_sort dd sort0, sort2, sort4, sort6,0
\r
950 ;---------------------------------------------------------------------
\r
951 check1 check_box2 (140 shl 16)+12,(50 shl 16)+12,6,0xFFFFFF,0,0xffffff,check_text1,ch_flag_middle ;ch_flag_en
\r
953 check_text1 db 'Show file name',0
\r
955 show_file_name_old dd 0
\r
956 ;---------------------------------------------------------------------
\r
957 check2 check_box2 (140 shl 16)+12,(70 shl 16)+12,6,0xFFFFFF,0,0xffffff,check_text2,ch_flag_middle ;ch_flag_en
\r
959 check_text2 db 'Bilinear filtering',0
\r
961 filtering_flag dd 0
\r
962 filtering_flag_old dd 0
\r
963 ;---------------------------------------------------------------------
\r
965 scroll_bar_data_vertical:
\r
968 .start_x dw 500 ;+2
\r
972 .btn_high dd 15 ;+8
\r
974 .max_area dd 10 ;+16
\r
975 .cur_area dd 2 ;+20
\r
976 .position dd 0 ;+24
\r
977 .bckg_col dd 0xeeeeee ;+28
\r
978 .frnt_col dd 0x8aeaa0 ;0xbbddff ;+32
\r
979 .line_col dd 0 ;+36
\r
984 .r_size_x dw 0 ;+48
\r
985 .r_start_x dw 0 ;+50
\r
987 .r_size_y dw 0 ;+52
\r
988 .r_start_y dw 0 ;+54
\r
992 .run_size dd 0 ;+68
\r
993 .position2 dd 0 ;+72
\r
994 .work_size dd 0 ;+76
\r
995 .all_redraw dd 0 ;+80
\r
996 .ar_offset dd 10 ;+84
\r
997 ;---------------------------------------------------------------------
\r
999 scroll_bar_data_horizontal:
\r
1001 .size_x dw 300 ;0 ;+0
\r
1002 .start_x dw 10 ;0 ;+2
\r
1004 .size_y dw 15 ;0 ;+4
\r
1005 .start_y dw 300 ;0 ;+6
\r
1006 .btn_high dd 15 ;+8
\r
1008 .max_area dd 10 ;+16
\r
1009 .cur_area dd 2 ;+20
\r
1010 .position dd 0 ;+24
\r
1011 .bckg_col dd 0xeeeeee ;+28
\r
1012 .frnt_col dd 0x8aeaa0 ;0xbbddff ;+32
\r
1013 .line_col dd 0 ;+36
\r
1018 .r_size_x dw 0 ;+48
\r
1019 .r_start_x dw 0 ;+50
\r
1021 .r_size_y dw 0 ;+52
\r
1022 .r_start_y dw 0 ;+54
\r
1024 .m_pos_2 dd 0 ;+60
\r
1026 .run_size dd 0 ;+68
\r
1027 .position2 dd 0 ;+72
\r
1028 .work_size dd 0 ;+76
\r
1029 .all_redraw dd 0 ;+80
\r
1030 .ar_offset dd 10 ;+84
\r
1031 ;---------------------------------------------------------------------
\r
1040 .start_y dw 6 ;+10
\r
1041 .text_pointer: dd menu_text_area_1 ;0 ;+12
\r
1042 .pos_pointer: dd menu_text_area_1.1 ;0 ;+16
\r
1043 .text_end dd menu_text_area_1.end ;0 ;+20
\r
1044 .ret_key dd 0 ;+24
\r
1045 .mouse_keys dd 0 ;+28
\r
1047 .size_x1 dw 70 ;+32
\r
1048 .start_x1 dw 5 ;+34
\r
1050 .size_y1 dw 100 ;+36
\r
1051 .start_y1 dw 21 ;+38
\r
1052 .bckg_col dd 0xe5e5e5 ;+40
\r
1053 .frnt_col dd 0xff ;+44
\r
1054 .menu_col dd 0xeef0ff ;0xffffff ;+48
\r
1056 .out_select dd 0 ;+56
\r
1057 .buf_adress dd 0 ;+60
\r
1058 .procinfo dd 0 ;+64
\r
1061 .cursor_old dd 0 ;+76
\r
1062 .interval dd 16 ;+80
\r
1063 .cursor_max dd 0 ;+84
\r
1064 .extended_key dd 0 ;+88
\r
1065 .menu_sel_col dd 0x00cc00 ;+92
\r
1066 .bckg_text_col dd 0 ; +96
\r
1067 .frnt_text_col dd 0xffffff ;+100
\r
1068 .mouse_keys_old dd 0 ;+104
\r
1069 .font_height dd 8 ;+108
\r
1070 .cursor_out dd 0 ;+112
\r
1071 .get_mouse_flag dd 0 ;+116
\r
1072 ;---------------------------------------------------------------------
\r
1081 ;---------------------------------------------------------------------
\r
1087 .start_x dw 40 ;+6
\r
1090 .start_y dw 6 ;+10
\r
1091 .text_pointer: dd menu_text_area_2 ;0 ;+12
\r
1092 .pos_pointer: dd menu_text_area_2.1 ;0 ;+16
\r
1093 .text_end dd menu_text_area_2.end ;0 ;+20
\r
1094 .ret_key dd 0 ;+24
\r
1095 .mouse_keys dd 0 ;+28
\r
1097 .size_x1 dw 90 ;+32
\r
1098 .start_x1 dw 40 ;+34
\r
1100 .size_y1 dw 100 ;+36
\r
1101 .start_y1 dw 21 ;+38
\r
1102 .bckg_col dd 0xe5e5e5 ;+40
\r
1103 .frnt_col dd 0xff ;+44
\r
1104 .menu_col dd 0xeef0ff ;0xffffff ;+48
\r
1106 .out_select dd 0 ;+56
\r
1107 .buf_adress dd 0 ;+60
\r
1108 .procinfo dd 0 ;+64
\r
1111 .cursor_old dd 0 ;+76
\r
1112 .interval dd 16 ;+80
\r
1113 .cursor_max dd 0 ;+84
\r
1114 .extended_key dd 0 ;+88
\r
1115 .menu_sel_col dd 0x00cc00 ;+92
\r
1116 .bckg_text_col dd 0 ; +96
\r
1117 .frnt_text_col dd 0xffffff ;+100
\r
1118 .mouse_keys_old dd 0 ;+104
\r
1119 .font_height dd 8 ;+108
\r
1120 .cursor_out dd 0 ;+112
\r
1121 .get_mouse_flag dd 0 ;+116
\r
1122 ;---------------------------------------------------------------------
\r
1126 db 'Rotate Clock.',0
\r
1127 db 'Rotate CClock.',0
\r
1128 db 'Invert L to R',0
\r
1129 db 'Invert U to D',0
\r
1132 ;---------------------------------------------------------------------
\r
1138 .start_x dw 75 ;+6
\r
1141 .start_y dw 6 ;+10
\r
1142 .text_pointer: dd menu_text_area_3 ;0 ;+12
\r
1143 .pos_pointer: dd menu_text_area_3.1 ;0 ;+16
\r
1144 .text_end dd menu_text_area_3.end ;0 ;+20
\r
1145 .ret_key dd 0 ;+24
\r
1146 .mouse_keys dd 0 ;+28
\r
1148 .size_x1 dw 90 ;+32
\r
1149 .start_x1 dw 75 ;+34
\r
1151 .size_y1 dw 100 ;+36
\r
1152 .start_y1 dw 21 ;+38
\r
1153 .bckg_col dd 0xe5e5e5 ;+40
\r
1154 .frnt_col dd 0xff ;+44
\r
1155 .menu_col dd 0xeef0ff ;0xffffff ;+48
\r
1157 .out_select dd 0 ;+56
\r
1158 .buf_adress dd 0 ;+60
\r
1159 .procinfo dd 0 ;+64
\r
1162 .cursor_old dd 0 ;+76
\r
1163 .interval dd 16 ;+80
\r
1164 .cursor_max dd 0 ;+84
\r
1165 .extended_key dd 0 ;+88
\r
1166 .menu_sel_col dd 0x00cc00 ;+92
\r
1167 .bckg_text_col dd 0 ; +96
\r
1168 .frnt_text_col dd 0xffffff ;+100
\r
1169 .mouse_keys_old dd 0 ;+104
\r
1170 .font_height dd 8 ;+108
\r
1171 .cursor_out dd 0 ;+112
\r
1172 .get_mouse_flag dd 0 ;+116
\r
1173 ;---------------------------------------------------------------------
\r
1177 db 'Sort Directory',0
\r
1178 db 'Full Screen',0
\r
1182 ;---------------------------------------------------------------------
\r
1188 .start_x dw 110 ;+6
\r
1191 .start_y dw 6 ;+10
\r
1192 .text_pointer: dd menu_text_area_4 ;0 ;+12
\r
1193 .pos_pointer: dd menu_text_area_4.1 ;0 ;+16
\r
1194 .text_end dd menu_text_area_4.end ;0 ;+20
\r
1195 .ret_key dd 0 ;+24
\r
1196 .mouse_keys dd 0 ;+28
\r
1198 .size_x1 dw 40 ;+32
\r
1199 .start_x1 dw 110 ;+34
\r
1201 .size_y1 dw 100 ;+36
\r
1202 .start_y1 dw 21 ;+38
\r
1203 .bckg_col dd 0xe5e5e5 ;+40
\r
1204 .frnt_col dd 0xff ;+44
\r
1205 .menu_col dd 0xeef0ff ;0xffffff ;+48
\r
1207 .out_select dd 0 ;+56
\r
1208 .buf_adress dd 0 ;+60
\r
1209 .procinfo dd 0 ;+64
\r
1212 .cursor_old dd 0 ;+76
\r
1213 .interval dd 16 ;+80
\r
1214 .cursor_max dd 0 ;+84
\r
1215 .extended_key dd 0 ;+88
\r
1216 .menu_sel_col dd 0x00cc00 ;+92
\r
1217 .bckg_text_col dd 0 ; +96
\r
1218 .frnt_text_col dd 0xffffff ;+100
\r
1219 .mouse_keys_old dd 0 ;+104
\r
1220 .font_height dd 8 ;+108
\r
1221 .cursor_out dd 0 ;+112
\r
1222 .get_mouse_flag dd 0 ;+116
\r
1223 ;---------------------------------------------------------------------
\r
1233 ;---------------------------------------------------------------------
\r
1239 .start_x dw 145 ;+6
\r
1242 .start_y dw 6 ;+10
\r
1243 .text_pointer: dd menu_text_area_5 ;0 ;+12
\r
1244 .pos_pointer: dd menu_text_area_5.1 ;0 ;+16
\r
1245 .text_end dd menu_text_area_5.end ;0 ;+20
\r
1246 .ret_key dd 0 ;+24
\r
1247 .mouse_keys dd 0 ;+28
\r
1249 .size_x1 dw 80 ;+32
\r
1250 .start_x1 dw 145 ;+34
\r
1252 .size_y1 dw 100 ;+36
\r
1253 .start_y1 dw 21 ;+38
\r
1254 .bckg_col dd 0xe5e5e5 ;+40
\r
1255 .frnt_col dd 0xff ;+44
\r
1256 .menu_col dd 0xeef0ff ;0xffffff ;+48
\r
1258 .out_select dd 0 ;+56
\r
1259 .buf_adress dd 0 ;+60
\r
1260 .procinfo dd 0 ;+64
\r
1263 .cursor_old dd 0 ;+76
\r
1264 .interval dd 16 ;+80
\r
1265 .cursor_max dd 0 ;+84
\r
1266 .extended_key dd 0 ;+88
\r
1267 .menu_sel_col dd 0x00cc00 ;+92
\r
1268 .bckg_text_col dd 0 ; +96
\r
1269 .frnt_text_col dd 0xffffff ;+100
\r
1270 .mouse_keys_old dd 0 ;+104
\r
1271 .font_height dd 8 ;+108
\r
1272 .cursor_out dd 0 ;+112
\r
1273 .get_mouse_flag dd 0 ;+116
\r
1274 ;---------------------------------------------------------------------
\r
1278 db 'Image Editor',0
\r
1284 ;---------------------------------------------------------------------
\r
1290 .start_x dw 185 ;+6
\r
1293 .start_y dw 6 ;+10
\r
1294 .text_pointer: dd menu_text_area_6 ;0 ;+12
\r
1295 .pos_pointer: dd menu_text_area_6.1 ;0 ;+16
\r
1296 .text_end dd menu_text_area_6.end ;0 ;+20
\r
1297 .ret_key dd 0 ;+24
\r
1298 .mouse_keys dd 0 ;+28
\r
1300 .size_x1 dw 50 ;+32
\r
1301 .start_x1 dw 185 ;+34
\r
1303 .size_y1 dw 100 ;+36
\r
1304 .start_y1 dw 21 ;+38
\r
1305 .bckg_col dd 0xe5e5e5 ;+40
\r
1306 .frnt_col dd 0xff ;+44
\r
1307 .menu_col dd 0xeef0ff ;0xffffff ;+48
\r
1309 .out_select dd 0 ;+56
\r
1310 .buf_adress dd 0 ;+60
\r
1311 .procinfo dd 0 ;+64
\r
1314 .cursor_old dd 0 ;+76
\r
1315 .interval dd 16 ;+80
\r
1316 .cursor_max dd 0 ;+84
\r
1317 .extended_key dd 0 ;+88
\r
1318 .menu_sel_col dd 0x00cc00 ;+92
\r
1319 .bckg_text_col dd 0 ; +96
\r
1320 .frnt_text_col dd 0xffffff ;+100
\r
1321 .mouse_keys_old dd 0 ;+104
\r
1322 .font_height dd 8 ;+108
\r
1323 .cursor_out dd 0 ;+112
\r
1324 .get_mouse_flag dd 0 ;+116
\r
1325 ;---------------------------------------------------------------------
\r
1333 ;---------------------------------------------------------------------
\r
1335 dinamic_button_data_1: ; open file
\r
1339 .start_x dw 230 ;+6
\r
1342 .start_y dw 3 ;+10
\r
1343 .mouse_pos dd 0 ;+12
\r
1344 .mouse_keys dd 0 ;+16
\r
1345 .mouse_keys_old dd 0 ;+20
\r
1346 .active_raw dd 0 ;+24
\r
1347 .passive_raw dd 0 ;+28
\r
1348 .click_raw dd 0 ;+32
\r
1349 .resolution_raw dd 0 ;+36
\r
1350 .palette_raw dd 0 ;+40
\r
1351 .offset_raw dd 0 ;+44
\r
1354 ;---------------------------------------------------------------------
\r
1356 dinamic_button_data_2: ; reload file
\r
1360 .start_x dw 255 ;+6
\r
1363 .start_y dw 3 ;+10
\r
1364 .mouse_pos dd 0 ;+12
\r
1365 .mouse_keys dd 0 ;+16
\r
1366 .mouse_keys_old dd 0 ;+20
\r
1367 .active_raw dd 0 ;+24
\r
1368 .passive_raw dd 0 ;+28
\r
1369 .click_raw dd 0 ;+32
\r
1370 .resolution_raw dd 0 ;+36
\r
1371 .palette_raw dd 0 ;+40
\r
1372 .offset_raw dd 0 ;+44
\r
1375 ;---------------------------------------------------------------------
\r
1377 dinamic_button_data_3: ; left limit
\r
1381 .start_x dw 285 ;+6
\r
1384 .start_y dw 3 ;+10
\r
1385 .mouse_pos dd 0 ;+12
\r
1386 .mouse_keys dd 0 ;+16
\r
1387 .mouse_keys_old dd 0 ;+20
\r
1388 .active_raw dd 0 ;+24
\r
1389 .passive_raw dd 0 ;+28
\r
1390 .click_raw dd 0 ;+32
\r
1391 .resolution_raw dd 0 ;+36
\r
1392 .palette_raw dd 0 ;+40
\r
1393 .offset_raw dd 0 ;+44
\r
1396 ;---------------------------------------------------------------------
\r
1398 dinamic_button_data_4: ; left arrow
\r
1402 .start_x dw 310 ;+6
\r
1405 .start_y dw 3 ;+10
\r
1406 .mouse_pos dd 0 ;+12
\r
1407 .mouse_keys dd 0 ;+16
\r
1408 .mouse_keys_old dd 0 ;+20
\r
1409 .active_raw dd 0 ;+24
\r
1410 .passive_raw dd 0 ;+28
\r
1411 .click_raw dd 0 ;+32
\r
1412 .resolution_raw dd 0 ;+36
\r
1413 .palette_raw dd 0 ;+40
\r
1414 .offset_raw dd 0 ;+44
\r
1417 ;---------------------------------------------------------------------
\r
1419 dinamic_button_data_5: ; slide show
\r
1423 .start_x dw 335 ;+6
\r
1426 .start_y dw 3 ;+10
\r
1427 .mouse_pos dd 0 ;+12
\r
1428 .mouse_keys dd 0 ;+16
\r
1429 .mouse_keys_old dd 0 ;+20
\r
1430 .active_raw dd 0 ;+24
\r
1431 .passive_raw dd 0 ;+28
\r
1432 .click_raw dd 0 ;+32
\r
1433 .resolution_raw dd 0 ;+36
\r
1434 .palette_raw dd 0 ;+40
\r
1435 .offset_raw dd 0 ;+44
\r
1438 ;---------------------------------------------------------------------
\r
1440 dinamic_button_data_6: ; right arrow
\r
1444 .start_x dw 360 ;+6
\r
1447 .start_y dw 3 ;+10
\r
1448 .mouse_pos dd 0 ;+12
\r
1449 .mouse_keys dd 0 ;+16
\r
1450 .mouse_keys_old dd 0 ;+20
\r
1451 .active_raw dd 0 ;+24
\r
1452 .passive_raw dd 0 ;+28
\r
1453 .click_raw dd 0 ;+32
\r
1454 .resolution_raw dd 0 ;+36
\r
1455 .palette_raw dd 0 ;+40
\r
1456 .offset_raw dd 0 ;+44
\r
1459 ;---------------------------------------------------------------------
\r
1461 dinamic_button_data_7: ; right limit
\r
1465 .start_x dw 385 ;+6
\r
1468 .start_y dw 3 ;+10
\r
1469 .mouse_pos dd 0 ;+12
\r
1470 .mouse_keys dd 0 ;+16
\r
1471 .mouse_keys_old dd 0 ;+20
\r
1472 .active_raw dd 0 ;+24
\r
1473 .passive_raw dd 0 ;+28
\r
1474 .click_raw dd 0 ;+32
\r
1475 .resolution_raw dd 0 ;+36
\r
1476 .palette_raw dd 0 ;+40
\r
1477 .offset_raw dd 0 ;+44
\r
1480 ;---------------------------------------------------------------------
\r
1482 dinamic_button_data_8: ; zoom +
\r
1486 .start_x dw 415 ;+6
\r
1489 .start_y dw 3 ;+10
\r
1490 .mouse_pos dd 0 ;+12
\r
1491 .mouse_keys dd 0 ;+16
\r
1492 .mouse_keys_old dd 0 ;+20
\r
1493 .active_raw dd 0 ;+24
\r
1494 .passive_raw dd 0 ;+28
\r
1495 .click_raw dd 0 ;+32
\r
1496 .resolution_raw dd 0 ;+36
\r
1497 .palette_raw dd 0 ;+40
\r
1498 .offset_raw dd 0 ;+44
\r
1501 ;---------------------------------------------------------------------
\r
1503 dinamic_button_data_9: ; zoom -
\r
1507 .start_x dw 440 ;+6
\r
1510 .start_y dw 3 ;+10
\r
1511 .mouse_pos dd 0 ;+12
\r
1512 .mouse_keys dd 0 ;+16
\r
1513 .mouse_keys_old dd 0 ;+20
\r
1514 .active_raw dd 0 ;+24
\r
1515 .passive_raw dd 0 ;+28
\r
1516 .click_raw dd 0 ;+32
\r
1517 .resolution_raw dd 0 ;+36
\r
1518 .palette_raw dd 0 ;+40
\r
1519 .offset_raw dd 0 ;+44
\r
1522 ;---------------------------------------------------------------------
\r
1524 dinamic_button_data_10: ; zoom 100%
\r
1528 .start_x dw 465 ;+6
\r
1531 .start_y dw 3 ;+10
\r
1532 .mouse_pos dd 0 ;+12
\r
1533 .mouse_keys dd 0 ;+16
\r
1534 .mouse_keys_old dd 0 ;+20
\r
1535 .active_raw dd 0 ;+24
\r
1536 .passive_raw dd 0 ;+28
\r
1537 .click_raw dd 0 ;+32
\r
1538 .resolution_raw dd 0 ;+36
\r
1539 .palette_raw dd 0 ;+40
\r
1540 .offset_raw dd 0 ;+44
\r
1543 ;---------------------------------------------------------------------
\r
1545 dinamic_button_data_11: ; rotate clockwise
\r
1549 .start_x dw 495 ;+6
\r
1552 .start_y dw 3 ;+10
\r
1553 .mouse_pos dd 0 ;+12
\r
1554 .mouse_keys dd 0 ;+16
\r
1555 .mouse_keys_old dd 0 ;+20
\r
1556 .active_raw dd 0 ;+24
\r
1557 .passive_raw dd 0 ;+28
\r
1558 .click_raw dd 0 ;+32
\r
1559 .resolution_raw dd 0 ;+36
\r
1560 .palette_raw dd 0 ;+40
\r
1561 .offset_raw dd 0 ;+44
\r
1564 ;---------------------------------------------------------------------
\r
1566 dinamic_button_data_12: ; rotate counter-clockwise
\r
1570 .start_x dw 520 ;+6
\r
1573 .start_y dw 3 ;+10
\r
1574 .mouse_pos dd 0 ;+12
\r
1575 .mouse_keys dd 0 ;+16
\r
1576 .mouse_keys_old dd 0 ;+20
\r
1577 .active_raw dd 0 ;+24
\r
1578 .passive_raw dd 0 ;+28
\r
1579 .click_raw dd 0 ;+32
\r
1580 .resolution_raw dd 0 ;+36
\r
1581 .palette_raw dd 0 ;+40
\r
1582 .offset_raw dd 0 ;+44
\r
1585 ;---------------------------------------------------------------------
\r
1587 dinamic_button_data_13: ; file information
\r
1591 .start_x dw 550 ;+6
\r
1594 .start_y dw 3 ;+10
\r
1595 .mouse_pos dd 0 ;+12
\r
1596 .mouse_keys dd 0 ;+16
\r
1597 .mouse_keys_old dd 0 ;+20
\r
1598 .active_raw dd 0 ;+24
\r
1599 .passive_raw dd 0 ;+28
\r
1600 .click_raw dd 0 ;+32
\r
1601 .resolution_raw dd 0 ;+36
\r
1602 .palette_raw dd 0 ;+40
\r
1603 .offset_raw dd 0 ;+44
\r
1606 ;---------------------------------------------------------------------
\r
1608 dinamic_button_data_14: ; wallpaper
\r
1612 .start_x dw 575 ;+6
\r
1615 .start_y dw 3 ;+10
\r
1616 .mouse_pos dd 0 ;+12
\r
1617 .mouse_keys dd 0 ;+16
\r
1618 .mouse_keys_old dd 0 ;+20
\r
1619 .active_raw dd 0 ;+24
\r
1620 .passive_raw dd 0 ;+28
\r
1621 .click_raw dd 0 ;+32
\r
1622 .resolution_raw dd 0 ;+36
\r
1623 .palette_raw dd 0 ;+40
\r
1624 .offset_raw dd 0 ;+44
\r
1627 ;---------------------------------------------------------------------
\r
1629 dinamic_button_data_15: ; settings
\r
1633 .start_x dw 600 ;+6
\r
1636 .start_y dw 3 ;+10
\r
1637 .mouse_pos dd 0 ;+12
\r
1638 .mouse_keys dd 0 ;+16
\r
1639 .mouse_keys_old dd 0 ;+20
\r
1640 .active_raw dd 0 ;+24
\r
1641 .passive_raw dd 0 ;+28
\r
1642 .click_raw dd 0 ;+32
\r
1643 .resolution_raw dd 0 ;+36
\r
1644 .palette_raw dd 0 ;+40
\r
1645 .offset_raw dd 0 ;+44
\r
1648 ;---------------------------------------------------------------------
\r
1655 .return dd procinfo
\r
1657 .name: dd plugin_pach
\r
1658 ;---------------------------------------------------------------------
\r
1665 .return dd process_info
\r
1668 ;---------------------------------------------------------------------
\r
1673 .parameter dd library_path
\r
1677 .name: dd Help_path
\r
1678 ;---------------------------------------------------------------------
\r
1682 .curn_blocks dd 0 ;+4
\r
1683 .totl_blocks dd 0 ;+8
\r
1685 ;---------------------------------------------------------------------
\r
1688 .procinfo dd procinfo ;+4
\r
1689 .com_area_name dd communication_area_name ;+8
\r
1690 .com_area dd 0 ;+12
\r
1691 .opendir_pach dd plugin_pach ;+16
\r
1692 .dir_default_pach dd communication_area_default_pach ;+20
\r
1693 .start_path dd library_path ;+24
\r
1694 .draw_window dd draw_window ;+28
\r
1696 .openfile_pach dd string ;+36
\r
1697 .filename_area dd 0 ;+40
\r
1698 .filter_area dd Filter
\r
1700 .x_size dw 420 ;+48 ; Window X size
\r
1701 .x_start dw 10 ;+50 ; Window X position
\r
1703 .y_size dw 320 ;+52 ; Window y size
\r
1704 .y_start dw 10 ;+54 ; Window Y position
\r
1706 communication_area_name:
\r
1707 db 'FFFFFFFF_open_dialog',0
\r
1710 communication_area_default_pach:
\r
1712 ;communication_area dd 0
\r
1713 ;---------------------------------------------------------------------
\r
1716 .procinfo dd procinfo ;+4
\r
1717 .com_area_name dd cd_communication_area_name ;+8
\r
1718 .com_area dd 0 ;+12
\r
1719 .start_path dd colordialog_path ;+16
\r
1720 .draw_window dd thread4.draw_window ;+20
\r
1723 .x_size dw 510 ;+28 ; Window X size
\r
1724 .x_start dw 10 ;+30 ; Window X position
\r
1726 .y_size dw 310 ;+32 ; Window y size
\r
1727 .y_start dw 10 ;+34 ; Window Y position
\r
1728 .color_type dd 0 ;+36 ; 0- RGB, 1 or other - reserved
\r
1729 .color dd 0 ;+40 ; Selected color
\r
1731 cd_communication_area_name:
\r
1732 db 'FFFFFFFF_color_dialog',0
\r
1734 db '/sys/colrdial',0
\r
1735 ;---------------------------------------------------------------------
\r
1736 ; clear bacground thread
\r
1737 clear_thread_stack:
\r
1739 ;----------------------
\r
1743 ;----------------------
\r
1744 ; window error message
\r
1747 ;----------------------
\r
1748 ; window set sort mode
\r
1751 ;----------------------
\r
1752 ; window background
\r
1755 ;----------------------
\r
1759 ;----------------------
\r
1763 ;----------------------
\r
1767 ;---------------------------------------------------------------------
\r
1768 ;size_before_open_dir:
\r
1770 ;size_before_open_file:
\r
1772 ;size_after_open_file:
\r
1774 ;size_after_convert:
\r
1776 ;size_after_convert_2:
\r
1778 ;size_before_draw_image:
\r
1780 ;size_after_draw_image:
\r
1782 ;size_before_scaling:
\r
1784 ;size_after_scaling:
\r