2014-04-22 22:50:14 +02:00
; -----------------------------------------------------------------------------
text :
if lang eq ru
2021-07-04 12:44:36 +02:00
db ' Unused1 '
db ' Unused2 '
db ' 3d ⥬<> <E2A5AC> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> '
db ' 3d ᢥ⫠<E1A2A5> <20> <> <EFBFBD> <EFBFBD> '
db ' <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> '
db ' <20> <> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> '
db ' <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> '
db ' <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> '
db ' <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> '
db ' <20> <> <EFBFBD> 䨪<EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> '
2014-04-22 22:50:14 +02:00
db 'x'
else if lang eq et
2021-07-04 12:44:36 +02:00
db ' Unused1 '
db ' Unused2 '
db ' 3d dark '
db ' 3d light '
db ' Akna pealkiri '
db ' Akna t<> <74> piirkond '
db ' Akna t<> <74> piirkonna nupp '
db ' Akna t<> <74> piirkonna nuppu tekst '
db ' Akna t<> <74> piirkonna tekst '
db ' Akna t<> <74> piirkonna graafika '
2014-04-22 22:50:14 +02:00
db 'x'
else
2021-07-04 12:44:36 +02:00
db ' Unused1 '
db ' Unused2 '
db ' 3d dark '
db ' 3d light '
db ' Window title '
db ' Window background '
db ' Button '
db ' Button text '
db ' Window text '
db ' Window graph '
2014-04-22 22:50:14 +02:00
db 'x'
end if
; -----------------------------------------------------------------------------
if lang eq ru
2021-07-04 12:44:36 +02:00
sz t1 , '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> '
2014-04-22 22:50:14 +02:00
else if lang eq et
2021-07-04 12:44:36 +02:00
sz t1 , ' LAADI SALVESTA KINNITA'
2014-04-22 22:50:14 +02:00
else
2021-07-04 12:44:36 +02:00
sz t1 , ' LOAD SAVE APPLY'
2014-04-22 22:50:14 +02:00
end if
; -----------------------------------------------------------------------------
if lang eq ru
2021-07-04 12:44:36 +02:00
sz t2 , '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> 3D <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> '
2014-04-22 22:50:14 +02:00
else if lang eq et
2021-07-04 12:44:36 +02:00
sz t2 , ' LAADI 3D LAME KINNITA'
2014-04-22 22:50:14 +02:00
else
2021-07-04 12:44:36 +02:00
sz t2 , ' LOAD 3D FLAT APPLY'
2014-04-22 22:50:14 +02:00
end if
; -----------------------------------------------------------------------------
select_dtp_text :
if lang eq ru
2021-07-04 12:44:36 +02:00
db ' <20> 롮<EFBFBD> 梥⮢<E6A2A5> <E2AEA2> <EFBFBD> <20> <> <EFBFBD> ଫ<EFBFBD> <E0ACAB> <EFBFBD> <EFBFBD> : ' , 0
2014-04-22 22:50:14 +02:00
else if lang eq et
2021-07-04 12:44:36 +02:00
db ' Valik varviskeeme: ' , 0
2014-04-22 22:50:14 +02:00
else
2021-07-04 12:44:36 +02:00
db ' Choice of color schemes: ' , 0
2014-04-22 22:50:14 +02:00
end if
; -----------------------------------------------------------------------------
select_skin_text :
if lang eq ru
2021-07-04 12:44:36 +02:00
db ' <20> 롮<EFBFBD> ᪨<> <E1AAA8> : ' , 0
2014-04-22 22:50:14 +02:00
else if lang eq et
2021-07-04 12:44:36 +02:00
db ' Valik nahad: ' , 0
2014-04-22 22:50:14 +02:00
else
2021-07-04 12:44:36 +02:00
db ' Choice of skins: ' , 0
2014-04-22 22:50:14 +02:00
end if
; -----------------------------------------------------------------------------
if lang eq ru
sz caption_text , '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> '
else if lang eq et
sz caption_text , 'Pealkiri'
else
sz caption_text , 'Caption'
end if
; -----------------------------------------------------------------------------
2013-04-01 00:26:30 +02:00
sz close_text , 'x'
2014-04-22 22:50:14 +02:00
; -----------------------------------------------------------------------------
if lang eq ru
sz window_text , '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <20> <> <EFBFBD> <EFBFBD> '
else if lang eq et
sz window_text , 'Akna tekst'
else
sz window_text , 'Window text'
end if
; -----------------------------------------------------------------------------
if lang eq ru
sz button_text , '<27> <> <EFBFBD> <EFBFBD> <EFBFBD> <20> <> <20> <> <EFBFBD> <EFBFBD> <EFBFBD> <EFBFBD> '
else if lang eq et
sz button_text , 'Nupu tekst'
else
sz button_text , 'Button text'
end if
; -----------------------------------------------------------------------------
2013-04-01 00:26:30 +02:00
if lang eq ru
2016-01-25 23:30:12 +01:00
title db '<27> <> <EFBFBD> <EFBFBD> ன<EFBFBD> <E0AEA9> <20> <> <EFBFBD> <EFBFBD> ' , 0
2013-04-01 00:26:30 +02:00
else if lang eq et
2016-01-25 23:30:12 +01:00
title db 'Akna seaded' , 0
2013-06-02 07:26:24 +02:00
else if lang eq it
2016-01-25 23:30:12 +01:00
title db 'Impostazioni' , 0
2013-04-01 00:26:30 +02:00
else
2016-01-25 23:30:12 +01:00
title db 'Windows settings' , 0
2013-04-01 00:26:30 +02:00
end if
; ---------------------------------------------------------------------
2019-04-24 14:52:10 +02:00
LibIniImportTable :
library \
libini , 'libini.obj'
import libini , \
ini_set_int , 'ini_set_int'
2020-05-05 23:42:00 +02:00
aIni db '/sys/settings/system.ini' , 0
aSectionSkn db 'style' , 0
aButtonStyle db 'buttons_gradient' , 0
2019-04-24 14:52:10 +02:00
; ---------------------------------------------------------------------
2013-04-01 00:26:30 +02:00
l_libs_start :
2022-01-03 22:03:06 +01:00
library01 l_libs system_dir_Boxlib + 9 , library_path , system_dir_Boxlib , \
Box_lib_import
2013-04-01 00:26:30 +02:00
2022-01-03 22:03:06 +01:00
library02 l_libs system_dir_ProcLib + 9 , library_path , system_dir_ProcLib , \
ProcLib_import
2013-04-01 00:26:30 +02:00
end_l_libs :
; ---------------------------------------------------------------------
system_dir_Boxlib db '/sys/lib/box_lib.obj' , 0
system_dir_ProcLib db '/sys/lib/proc_lib.obj' , 0
; ---------------------------------------------------------------------
align 4
2019-04-24 14:52:10 +02:00
2013-04-01 00:26:30 +02:00
ProcLib_import :
OpenDialog_Init dd aOpenDialog_Init
OpenDialog_Start dd aOpenDialog_Start
ColorDialog_Init dd aColorDialog_Init
ColorDialog_Start dd aColorDialog_Start
; OpenDialog__Version dd aOpenDialog_Version
dd 0
dd 0
aOpenDialog_Init db 'OpenDialog_init' , 0
aOpenDialog_Start db 'OpenDialog_start' , 0
aColorDialog_Init db 'ColorDialog_init' , 0
aColorDialog_Start db 'ColorDialog_start' , 0
; aOpenDialog_Version db 'Version_OpenDialog' , 0
; ---------------------------------------------------------------------
align 4
2013-06-02 07:26:24 +02:00
Box_lib_import :
2013-04-01 00:26:30 +02:00
; init_lib dd a_init
; version_lib dd a_version
; edit_box_draw dd aEdit_box_draw
; edit_box_key dd aEdit_box_key
; edit_box_mouse dd aEdit_box_mouse
; version_ed dd aVersion_ed
; check_box_draw dd aCheck_box_draw
; check_box_mouse dd aCheck_box_mouse
; version_ch dd aVersion_ch
; option_box_draw dd aOption_box_draw
; option_box_mouse dd aOption_box_mouse
; version_op dd aVersion_op
; scrollbar_ver_draw dd aScrollbar_ver_draw
; scrollbar_ver_mouse dd aScrollbar_ver_mouse
; scrollbar_hor_draw dd aScrollbar_hor_draw
; scrollbar_hor_mouse dd aScrollbar_hor_mouse
; version_scrollbar dd aVersion_scrollbar
; dinamic_button_draw dd aDbutton_draw
; dinamic_button_mouse dd aDbutton_mouse
; version_dbutton dd aVersion_dbutton
; menu_bar_draw dd aMenu_bar_draw
; menu_bar_mouse dd aMenu_bar_mouse
; menu_bar_activate dd aMenu_bar_activate
; version_menu_bar dd aVersion_menu_bar
; FileBrowser_draw dd aFileBrowser_draw
; FileBrowser_mouse dd aFileBrowser_mouse
; FileBrowser_key dd aFileBrowser_key
; Version_FileBrowser dd aVersion_FileBrowser
PathShow_prepare dd sz_PathShow_prepare
PathShow_draw dd sz_PathShow_draw
; Version_path_show dd szVersion_path_show
2013-04-16 03:27:22 +02:00
Frame_draw dd sz_Frame_draw
; Version_frame dd szVersion_frame
2022-01-03 22:03:06 +01:00
dd 0 , 0
2013-04-01 00:26:30 +02:00
; a_init db 'lib_init' , 0
; a_version db 'version' , 0
2022-01-03 22:03:06 +01:00
; aEdit_box_draw db 'edit_box_draw' , 0
2013-04-01 00:26:30 +02:00
; aEdit_box_key db 'edit_box_key' , 0
; aEdit_box_mouse db 'edit_box_mouse' , 0
; aVersion_ed db 'version_ed' , 0
; aCheck_box_draw db 'check_box_draw' , 0
; aCheck_box_mouse db 'check_box_mouse' , 0
; aVersion_ch db 'version_ch' , 0
; aOption_box_draw db 'option_box_draw' , 0
; aOption_box_mouse db 'option_box_mouse' , 0
; aVersion_op db 'version_op' , 0
; aScrollbar_ver_draw db 'scrollbar_v_draw' , 0
; aScrollbar_ver_mouse db 'scrollbar_v_mouse' , 0
; aScrollbar_hor_draw db 'scrollbar_h_draw' , 0
; aScrollbar_hor_mouse db 'scrollbar_h_mouse' , 0
; aVersion_scrollbar db 'version_scrollbar' , 0
; aDbutton_draw db 'dbutton_draw' , 0
; aDbutton_mouse db 'dbutton_mouse' , 0
; aVersion_dbutton db 'version_dbutton' , 0
; aMenu_bar_draw db 'menu_bar_draw' , 0
; aMenu_bar_mouse db 'menu_bar_mouse' , 0
; aMenu_bar_activate db 'menu_bar_activate' , 0
; aVersion_menu_bar db 'version_menu_bar' , 0
; aFileBrowser_draw db 'FileBrowser_draw' , 0
; aFileBrowser_mouse db 'FileBrowser_mouse' , 0
; aFileBrowser_key db 'FileBrowser_key' , 0
; aVersion_FileBrowser db 'version_FileBrowser' , 0
sz_PathShow_prepare db 'PathShow_prepare' , 0
sz_PathShow_draw db 'PathShow_draw' , 0
; szVersion_path_show db 'version_PathShow' , 0
2013-04-16 03:27:22 +02:00
sz_Frame_draw db 'frame_draw' , 0
; szVersion_frame db 'version_frame' , 0
2013-04-01 00:26:30 +02:00
; ---------------------------------------------------------------------
PathShow_data_1 :
. type dd 0 ; + 0
2021-07-04 12:44:36 +02:00
. start_y dw frame_1 . y + 19 ; + 4
. start_x dw frame_1 . x + 15 ; + 6
2013-04-01 00:26:30 +02:00
. font_size_x dw 6 ; + 8 ; 6 - for font 0 , 8 - for font 1
2021-07-04 12:44:36 +02:00
. area_size_x dw frame_1 . w - 28 ; + 10
2013-04-01 00:26:30 +02:00
. font_number dd 0 ; + 12 ; 0 - monospace , 1 - variable
. background_flag dd 0 ; + 16
. font_color dd 0x0 ; + 20
. background_color dd 0x0 ; + 24
2020-05-17 15:31:17 +02:00
. text_pointer dd dtp_name ; + 28
2013-04-01 00:26:30 +02:00
. work_area_pointer dd text_work_area ; + 32
. temp_text_length dd 0 ; + 36
; ---------------------------------------------------------------------
PathShow_data_2 :
. type dd 0 ; + 0
2021-07-04 12:44:36 +02:00
. start_y dw frame_2 . y + 19 ; + 4
. start_x dw frame_2 . x + 15 ; + 6
2013-04-01 00:26:30 +02:00
. font_size_x dw 6 ; + 8 ; 6 - for font 0 , 8 - for font 1
2021-07-04 12:44:36 +02:00
. area_size_x dw frame_2 . w - 28 ; + 10
2013-04-01 00:26:30 +02:00
. font_number dd 0 ; + 12 ; 0 - monospace , 1 - variable
. background_flag dd 0 ; + 16
. font_color dd 0x0 ; + 20
. background_color dd 0x0 ; + 24
. text_pointer dd skin_info ; + 28
. work_area_pointer dd text_work_area2 ; + 32
. temp_text_length dd 0 ; + 36
; ---------------------------------------------------------------------
OpenDialog_data :
. type dd 0
. procinfo dd procinfo ; + 4
. com_area_name dd communication_area_name ; + 8
. com_area dd 0 ; + 12
. opendir_pach dd temp_dir_pach ; + 16
. dir_default_pach dd communication_area_default_pach ; + 20
. start_path dd open_dialog_path ; + 24
. draw_window dd draw_window ; + 28
. status dd 0 ; + 32
2020-05-17 15:31:17 +02:00
. openfile_pach dd dtp_name ; + 36
2013-04-01 00:26:30 +02:00
. filename_area dd filename_area ; + 40
. filter_area dd Filter
. x :
. x_size dw 420 ; + 48 ; Window X size
. x_start dw 10 ; + 50 ; Window X position
. y :
. y_size dw 320 ; + 52 ; Window y size
. y_start dw 10 ; + 54 ; Window Y position
OpenDialog_data2 :
. type dd 0
. procinfo dd procinfo ; + 4
. com_area_name dd communication_area_name2 ; + 8
. com_area dd 0 ; + 12
. opendir_pach dd temp_dir_pach2 ; + 16
. dir_default_pach dd communication_area_default_pach ; + 20
. start_path dd open_dialog_path ; + 24
. draw_window dd draw_window ; + 28
. status dd 0 ; + 32
. openfile_pach dd skin_info ; + 36
. filename_area dd filename_area2 ; + 40
. filter_area dd Filter2
. x :
. x_size dw 420 ; + 48 ; Window X size
. x_start dw 10 ; + 50 ; Window X position
. y :
. y_size dw 320 ; + 52 ; Window y size
. y_start dw 10 ; + 54 ; Window Y position
communication_area_name2 :
db 'FFFFFFFF_open_dialog' , 0
communication_area_name :
db 'FFFFFFFF_open_dialog2' , 0
open_dialog_path :
if __nightbuild eq yes
db '/sys/MANAGERS/opendial' , 0
else
db '/sys/File Managers/opendial' , 0
end if
communication_area_default_pach :
db '/sys' , 0
Filter :
dd Filter . end - Filter
. 1 :
db 'DTP' , 0
. end :
db 0
Filter2 :
dd Filter . end - Filter
. 1 :
db 'SKN' , 0
. end :
db 0
default_skin :
db '/sys/default.skn' , 0
default_dtp :
db '/sys/default.dtp' , 0
; ---------------------------------------------------------------------
ColorDialog_data :
. type dd 0
. procinfo dd procinfo ; + 4
. com_area_name dd cd_communication_area_name ; + 8
. com_area dd 0 ; + 12
. start_path dd colordialog_path ; + 16
. draw_window dd draw_window ; + 20
. status dd 0 ; + 24
. x :
2013-04-18 02:14:59 +02:00
. x_size dw 510 ; + 28 ; Window X size
2013-04-01 00:26:30 +02:00
. x_start dw 10 ; + 30 ; Window X position
. y :
2013-04-18 02:14:59 +02:00
. y_size dw 310 ; + 32 ; Window y size
2013-04-01 00:26:30 +02:00
. y_start dw 10 ; + 34 ; Window Y position
. color_type dd 0 ; + 36 ; 0 - RGB , 1 or other - reserved
. color dd 0 ; + 40 ; Selected color
cd_communication_area_name :
db 'FFFFFFFF_color_dialog' , 0
colordialog_path :
2020-10-02 14:33:16 +02:00
db '/sys/colrdial' , 0
2013-04-01 00:26:30 +02:00
; ---------------------------------------------------------------------
2013-06-02 07:26:24 +02:00
frame_data :
2013-04-16 03:27:22 +02:00
. type dd 0 ; + 0
. x :
. x_size dw 0 ; + 4
. x_start dw 0 ; + 6
. y :
. y_size dw 0 ; + 8
. y_start dw 0 ; + 10
. ext_fr_col dd 0x0 ; + 12
. int_fr_col dd 0xffffff ; + 16
. draw_text_flag dd 1 ; + 20
. text_pointer dd 0 ; + 24
. text_position dd 0 ; + 28
2021-07-04 12:44:36 +02:00
. font_number dd 1 ; + 32
. font_size_y dd 14 ; + 36
2013-04-16 03:27:22 +02:00
. font_color dd 0x0 ; + 40
. font_backgr_color dd 0xffffff ; + 44
; ---------------------------------------------------------------------
2013-06-02 07:26:24 +02:00
IncludeIGlobals