2009-12-29 02:19:20 +03:00
|
|
|
|
fn_col_option dd def_col_file
|
|
|
|
|
fn_syntax_dir db 'info/',0
|
|
|
|
|
def_col_file db 'default.syn',0
|
|
|
|
|
|
|
|
|
|
system_dir0 db '/sys/lib/'
|
2010-08-25 13:12:42 +04:00
|
|
|
|
lib0_name db 'box_lib.obj',0
|
2009-12-29 02:19:20 +03:00
|
|
|
|
|
|
|
|
|
system_dir1 db '/sys/lib/'
|
2010-08-25 13:12:42 +04:00
|
|
|
|
lib1_name db 'msgbox.obj',0
|
|
|
|
|
|
|
|
|
|
system_dir2 db '/sys/lib/'
|
|
|
|
|
lib2_name db 'proc_lib.obj',0
|
2009-12-29 02:19:20 +03:00
|
|
|
|
|
|
|
|
|
fn_icon_tl_sys db 'tl_sys_16.bmp',0
|
|
|
|
|
fn_icon_tl_nod db 'tl_nod_16.bmp',0
|
|
|
|
|
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
align 4
|
2010-06-10 00:06:03 +04:00
|
|
|
|
boxlib_import:
|
|
|
|
|
dd alib_init2 ;<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 1 <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
2010-05-27 18:46:37 +04:00
|
|
|
|
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
|
|
|
|
|
;version_menu_bar dd aVersion_menu_bar
|
|
|
|
|
|
|
|
|
|
tl_data_init dd sz_tl_data_init
|
|
|
|
|
tl_data_clear dd sz_tl_data_clear
|
|
|
|
|
tl_info_clear dd sz_tl_info_clear
|
|
|
|
|
tl_key dd sz_tl_key
|
|
|
|
|
tl_mouse dd sz_tl_mouse
|
|
|
|
|
tl_draw dd sz_tl_draw
|
|
|
|
|
tl_info_undo dd sz_tl_info_undo
|
|
|
|
|
tl_info_redo dd sz_tl_info_redo
|
|
|
|
|
tl_node_add dd sz_tl_node_add
|
|
|
|
|
tl_node_set_data dd sz_tl_node_set_data
|
|
|
|
|
tl_node_get_data dd sz_tl_node_get_data
|
|
|
|
|
tl_node_delete dd sz_tl_node_delete
|
|
|
|
|
tl_cur_beg dd sz_tl_cur_beg
|
|
|
|
|
tl_cur_next dd sz_tl_cur_next
|
|
|
|
|
tl_cur_perv dd sz_tl_cur_perv
|
|
|
|
|
tl_node_close_open dd sz_tl_node_close_open
|
|
|
|
|
tl_node_lev_inc dd sz_tl_node_lev_inc
|
|
|
|
|
tl_node_lev_dec dd sz_tl_node_lev_dec
|
|
|
|
|
|
|
|
|
|
ted_but_save_file dd sz_ted_but_save_file
|
|
|
|
|
ted_but_sumb_upper dd sz_ted_but_sumb_upper
|
|
|
|
|
ted_but_sumb_lover dd sz_ted_but_sumb_lover
|
|
|
|
|
ted_can_save dd sz_ted_can_save
|
|
|
|
|
ted_clear dd sz_ted_clear
|
|
|
|
|
ted_delete dd sz_ted_delete
|
|
|
|
|
ted_draw dd sz_ted_draw
|
|
|
|
|
ted_init dd sz_ted_init
|
|
|
|
|
ted_init_scroll_bars dd sz_ted_init_scroll_bars
|
|
|
|
|
ted_init_syntax_file dd sz_ted_init_syntax_file
|
|
|
|
|
ted_is_select dd sz_ted_is_select
|
|
|
|
|
ted_key dd sz_ted_key
|
|
|
|
|
ted_mouse dd sz_ted_mouse
|
|
|
|
|
ted_open_file dd sz_ted_open_file
|
|
|
|
|
ted_text_add dd sz_ted_text_add
|
|
|
|
|
ted_but_select_word dd sz_ted_but_select_word
|
|
|
|
|
ted_but_cut dd sz_ted_but_cut
|
|
|
|
|
ted_but_copy dd sz_ted_but_copy
|
|
|
|
|
ted_but_paste dd sz_ted_but_paste
|
|
|
|
|
ted_but_undo dd sz_ted_but_undo
|
|
|
|
|
ted_but_redo dd sz_ted_but_redo
|
|
|
|
|
ted_but_reverse dd sz_ted_but_reverse
|
|
|
|
|
ted_but_find_next dd sz_ted_but_find_next
|
|
|
|
|
ted_text_colored dd sz_ted_text_colored
|
|
|
|
|
;version_text_edit dd sz_ted_version
|
2010-04-29 22:27:40 +04:00
|
|
|
|
|
2009-12-29 02:19:20 +03:00
|
|
|
|
dd 0,0
|
2010-06-10 00:06:03 +04:00
|
|
|
|
alib_init2 db 'lib_init',0
|
2009-12-29 02:19:20 +03:00
|
|
|
|
|
2010-05-27 18:46:37 +04:00
|
|
|
|
aEdit_box_draw db 'edit_box',0
|
|
|
|
|
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
|
|
|
|
|
;aVersion_menu_bar db 'version_menu_bar',0
|
|
|
|
|
|
|
|
|
|
sz_tl_data_init db 'tl_data_init',0
|
|
|
|
|
sz_tl_data_clear db 'tl_data_clear',0
|
|
|
|
|
sz_tl_info_clear db 'tl_info_clear',0
|
|
|
|
|
sz_tl_key db 'tl_key',0
|
|
|
|
|
sz_tl_mouse db 'tl_mouse',0
|
|
|
|
|
sz_tl_draw db 'tl_draw',0
|
|
|
|
|
sz_tl_info_undo db 'tl_info_undo',0
|
|
|
|
|
sz_tl_info_redo db 'tl_info_redo',0
|
|
|
|
|
sz_tl_node_add db 'tl_node_add',0
|
|
|
|
|
sz_tl_node_set_data db 'tl_node_set_data',0
|
|
|
|
|
sz_tl_node_get_data db 'tl_node_get_data',0
|
|
|
|
|
sz_tl_node_delete db 'tl_node_delete',0
|
|
|
|
|
sz_tl_cur_beg db 'tl_cur_beg',0
|
|
|
|
|
sz_tl_cur_next db 'tl_cur_next',0
|
|
|
|
|
sz_tl_cur_perv db 'tl_cur_perv',0
|
|
|
|
|
sz_tl_node_close_open db 'tl_node_close_open',0
|
|
|
|
|
sz_tl_node_lev_inc db 'tl_node_lev_inc',0
|
|
|
|
|
sz_tl_node_lev_dec db 'tl_node_lev_dec',0
|
|
|
|
|
|
|
|
|
|
sz_ted_but_save_file db 'ted_but_save_file',0
|
|
|
|
|
sz_ted_but_sumb_upper db 'ted_but_sumb_upper',0
|
|
|
|
|
sz_ted_but_sumb_lover db 'ted_but_sumb_lover',0
|
|
|
|
|
sz_ted_can_save db 'ted_can_save',0
|
|
|
|
|
sz_ted_clear db 'ted_clear',0
|
|
|
|
|
sz_ted_delete db 'ted_delete',0
|
|
|
|
|
sz_ted_draw db 'ted_draw',0
|
|
|
|
|
sz_ted_init db 'ted_init',0
|
|
|
|
|
sz_ted_init_scroll_bars db 'ted_init_scroll_bars',0
|
|
|
|
|
sz_ted_init_syntax_file db 'ted_init_syntax_file',0
|
|
|
|
|
sz_ted_is_select db 'ted_is_select',0
|
|
|
|
|
sz_ted_key db 'ted_key',0
|
|
|
|
|
sz_ted_mouse db 'ted_mouse',0
|
|
|
|
|
sz_ted_open_file db 'ted_open_file',0
|
|
|
|
|
sz_ted_text_add db 'ted_text_add',0
|
|
|
|
|
sz_ted_but_select_word db 'ted_but_select_word',0
|
|
|
|
|
sz_ted_but_cut db 'ted_but_cut',0
|
|
|
|
|
sz_ted_but_copy db 'ted_but_copy',0
|
|
|
|
|
sz_ted_but_paste db 'ted_but_paste',0
|
|
|
|
|
sz_ted_but_undo db 'ted_but_undo',0
|
|
|
|
|
sz_ted_but_redo db 'ted_but_redo',0
|
|
|
|
|
sz_ted_but_reverse db 'ted_but_reverse',0
|
|
|
|
|
sz_ted_but_find_next db 'ted_but_find_next',0
|
|
|
|
|
sz_ted_text_colored db 'ted_text_colored',0
|
|
|
|
|
;sz_ted_version db 'version_text_edit',0
|
2010-08-25 13:12:42 +04:00
|
|
|
|
|
|
|
|
|
align 4
|
|
|
|
|
proclib_import:
|
|
|
|
|
OpenDialog_Init dd aOpenDialog_Init
|
|
|
|
|
OpenDialog_Start dd aOpenDialog_Start
|
|
|
|
|
dd 0,0
|
|
|
|
|
aOpenDialog_Init db 'OpenDialog_init',0
|
|
|
|
|
aOpenDialog_Start db 'OpenDialog_start',0
|
|
|
|
|
|
2009-12-29 02:19:20 +03:00
|
|
|
|
align 4
|
|
|
|
|
msgbox_lib_import:
|
2010-05-27 18:46:37 +04:00
|
|
|
|
mb_create dd amb_create
|
|
|
|
|
mb_reinit dd amb_reinit
|
|
|
|
|
mb_setfunctions dd amb_setfunctions
|
|
|
|
|
dd 0,0
|
|
|
|
|
amb_create db 'mb_create',0
|
|
|
|
|
amb_reinit db 'mb_reinit',0
|
|
|
|
|
amb_setfunctions db 'mb_setfunctions',0
|
2010-08-25 13:12:42 +04:00
|
|
|
|
;---------------------------------------------------------------------
|
2009-12-29 02:19:20 +03:00
|
|
|
|
align 4
|
|
|
|
|
wScr:
|
|
|
|
|
.x:
|
2009-12-30 22:07:50 +03:00
|
|
|
|
.size_x dw 16 ;+0
|
|
|
|
|
.start_x dw 50 ;+2
|
2009-12-29 02:19:20 +03:00
|
|
|
|
.y:
|
2009-12-30 22:07:50 +03:00
|
|
|
|
.size_y dw 300 ; +4
|
|
|
|
|
.start_y dw 50 ; +6
|
|
|
|
|
.btn_high dd 15 ; +8
|
2010-05-27 18:46:37 +04:00
|
|
|
|
.type dd 1 ;+12
|
2009-12-30 22:07:50 +03:00
|
|
|
|
.max_area dd 100 ;+16
|
|
|
|
|
.cur_area dd 30 ;+20
|
|
|
|
|
.position dd 0 ;+24
|
|
|
|
|
.bckg_col dd 0xeeeeee ;+28
|
|
|
|
|
.frnt_col dd 0xbbddff ;+32
|
|
|
|
|
.line_col dd 0 ;+36
|
|
|
|
|
.redraw dd 0 ;+40
|
2010-05-27 18:46:37 +04:00
|
|
|
|
.delta dw 0 ;+44
|
2009-12-30 22:07:50 +03:00
|
|
|
|
.delta2 dw 0 ;+46
|
2009-12-29 02:19:20 +03:00
|
|
|
|
.run_x:
|
2009-12-30 22:07:50 +03:00
|
|
|
|
.r_size_x dw 0 ;+48
|
|
|
|
|
.r_start_x dw 0 ;+50
|
2009-12-29 02:19:20 +03:00
|
|
|
|
.run_y:
|
|
|
|
|
.r_size_y dw 0 ;+52
|
|
|
|
|
.r_start_y dw 0 ;+54
|
2010-05-27 18:46:37 +04:00
|
|
|
|
.m_pos dd 0 ;+56
|
2009-12-29 02:19:20 +03:00
|
|
|
|
.m_pos_2 dd 0 ;+60
|
|
|
|
|
.m_keys dd 0 ;+64
|
|
|
|
|
.run_size dd 0 ;+68
|
|
|
|
|
.position2 dd 0 ;+72
|
|
|
|
|
.work_size dd 0 ;+76
|
|
|
|
|
.all_redraw dd 0 ;+80
|
|
|
|
|
.ar_offset dd 1 ;+84
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
align 4
|
|
|
|
|
hScr:
|
|
|
|
|
.x:
|
|
|
|
|
.size_x dw 150 ;+0
|
|
|
|
|
.start_x dw 0 ;+2
|
|
|
|
|
.y:
|
|
|
|
|
.size_y dw 16 ;+4
|
|
|
|
|
.start_y dw 50 ;+6
|
|
|
|
|
.btn_high dd 15 ;+8
|
|
|
|
|
.type dd 1 ;+12
|
|
|
|
|
.max_area dd 100 ;+16
|
|
|
|
|
.cur_area dd 30 ;+20
|
|
|
|
|
.position dd 0 ;+24
|
|
|
|
|
.bckg_col dd 0xeeeeee ;+28
|
|
|
|
|
.frnt_col dd 0xbbddff ;+32
|
|
|
|
|
.line_col dd 0 ;+36
|
|
|
|
|
.redraw dd 0 ;+40
|
|
|
|
|
.delta dw 0 ;+44
|
|
|
|
|
.delta2 dw 0 ;+46
|
|
|
|
|
.run_x:
|
|
|
|
|
.r_size_x dw 0 ;+48
|
|
|
|
|
.r_start_x dw 0 ;+50
|
|
|
|
|
.run_y:
|
|
|
|
|
.r_size_y dw 0 ;+52
|
|
|
|
|
.r_start_y dw 0 ;+54
|
|
|
|
|
.m_pos dd 0 ;+56
|
|
|
|
|
.m_pos_2 dd 0 ;+60
|
|
|
|
|
.m_keys dd 0 ;+64
|
|
|
|
|
.run_size dd 0 ;+68
|
|
|
|
|
.position2 dd 0 ;+72
|
|
|
|
|
.work_size dd 0 ;+76
|
|
|
|
|
.all_redraw dd 0 ;+80
|
|
|
|
|
.ar_offset dd 1 ;+84
|
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
align 4
|
2010-05-27 18:46:37 +04:00
|
|
|
|
ws_dir_lbox: ;<EFBFBD><EFBFBD><EFBFBD><EFBFBD>୨<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ListBox
|
2009-12-29 02:19:20 +03:00
|
|
|
|
.x:
|
|
|
|
|
.size_x dw 16 ;+0
|
|
|
|
|
.start_x dw 0 ;+2
|
|
|
|
|
.y:
|
|
|
|
|
.size_y dw 30 ;+4
|
|
|
|
|
.start_y dw 70 ;+6
|
|
|
|
|
.btn_high dd 15 ;+8
|
|
|
|
|
.type dd 1 ;+12
|
|
|
|
|
.max_area dd 100 ;+16
|
|
|
|
|
.cur_area dd 30 ;+20
|
|
|
|
|
.position dd 0 ;+24
|
|
|
|
|
.bckg_col dd 0xeeeeee ;+28
|
|
|
|
|
.frnt_col dd 0xbbddff ;+32
|
|
|
|
|
.line_col dd 0 ;+36
|
|
|
|
|
.redraw dd 0 ;+40
|
|
|
|
|
.delta dw 0 ;+44
|
|
|
|
|
.delta2 dw 0 ;+46
|
|
|
|
|
.run_x:
|
|
|
|
|
.r_size_x dw 0 ;+48
|
|
|
|
|
.r_start_x dw 0 ;+50
|
|
|
|
|
.run_y:
|
|
|
|
|
.r_size_y dw 0 ;+52
|
|
|
|
|
.r_start_y dw 0 ;+54
|
|
|
|
|
.m_pos dd 0 ;+56
|
|
|
|
|
.m_pos_2 dd 0 ;+60
|
|
|
|
|
.m_keys dd 0 ;+64
|
|
|
|
|
.run_size dd 0 ;+68
|
|
|
|
|
.position2 dd 0 ;+72
|
|
|
|
|
.work_size dd 0 ;+76
|
|
|
|
|
.all_redraw dd 0 ;+80
|
2009-12-30 22:07:50 +03:00
|
|
|
|
.ar_offset dd 1 ;+84
|
|
|
|
|
;---------------------------------------------------------------------
|
2009-12-29 02:19:20 +03:00
|
|
|
|
|
|
|
|
|
align 4
|
|
|
|
|
menu_data_1:
|
2009-12-30 22:07:50 +03:00
|
|
|
|
.type: dd 0 ;+0
|
2009-12-29 02:19:20 +03:00
|
|
|
|
.x:
|
2009-12-30 22:07:50 +03:00
|
|
|
|
.size_x dw 35 ;+4
|
|
|
|
|
.start_x dw 5 ;+6
|
2009-12-29 02:19:20 +03:00
|
|
|
|
.y:
|
2009-12-30 22:07:50 +03:00
|
|
|
|
.size_y dw 15 ;+8
|
|
|
|
|
.start_y dw 5 ;+10
|
|
|
|
|
.text_pointer: dd menu_text_area ;+12
|
|
|
|
|
.pos_pointer: dd menu_text_area.1 ;+16
|
|
|
|
|
.text_end dd menu_text_area.end ;+20
|
|
|
|
|
.mouse_pos dd 0 ;+24
|
|
|
|
|
.mouse_keys dd 0 ;+28
|
2009-12-29 02:19:20 +03:00
|
|
|
|
.x1:
|
2009-12-30 22:07:50 +03:00
|
|
|
|
.size_x1 dw 70 ;+32
|
|
|
|
|
.start_x1 dw 5 ;+34
|
2009-12-29 02:19:20 +03:00
|
|
|
|
.y1:
|
2009-12-30 22:07:50 +03:00
|
|
|
|
.size_y1 dw 15 ;+36
|
|
|
|
|
.start_y1 dw 20 ;+38
|
|
|
|
|
.bckg_col dd 0xeeeeee ;+40
|
|
|
|
|
.frnt_col dd 0xff ;+44
|
|
|
|
|
.menu_col dd 0xffffff ;+48
|
|
|
|
|
.select dd 0 ;+52
|
|
|
|
|
.out_select dd 0 ;+56
|
|
|
|
|
.buf_adress dd 0 ;+60
|
|
|
|
|
.procinfo dd procinfo ;0 ;+64
|
2010-05-27 18:46:37 +04:00
|
|
|
|
.click dd 0 ;+68
|
2009-12-30 22:07:50 +03:00
|
|
|
|
.cursor dd 0 ;+72
|
|
|
|
|
.cursor_old dd 0 ;+76
|
|
|
|
|
.interval dd 16 ;+80
|
|
|
|
|
.cursor_max dd 0 ;+84
|
|
|
|
|
.extended_key dd 0 ;+88
|
|
|
|
|
.menu_sel_col dd 0x00cc00 ;+92
|
|
|
|
|
.bckg_text_col dd 0 ;+96
|
|
|
|
|
.frnt_text_col dd 0xffffff ;+100
|
2009-12-29 02:19:20 +03:00
|
|
|
|
.mouse_keys_old dd 0 ;+104
|
2009-12-30 22:07:50 +03:00
|
|
|
|
.font_height dd 8 ;+108
|
|
|
|
|
.cursor_out dd 0 ;+112
|
2009-12-29 02:19:20 +03:00
|
|
|
|
.get_mouse_flag dd 0 ;+116
|
|
|
|
|
|
2010-05-27 18:46:37 +04:00
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
align 4
|
|
|
|
|
OpenDialog_data:
|
|
|
|
|
.type dd 0
|
|
|
|
|
.procinfo dd procinfo ;+4
|
|
|
|
|
.com_area_name dd communication_area_name ;+8
|
|
|
|
|
.com_area dd 0 ;+12
|
2010-08-25 13:12:42 +04:00
|
|
|
|
.opendir_path dd plugin_path ;+16
|
|
|
|
|
.dir_default_path dd default_dir ;+20
|
2010-05-27 18:46:37 +04:00
|
|
|
|
.start_path dd file_name ;+24 <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 䠩<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.draw_window dd draw_window ;+28
|
|
|
|
|
.status dd 0 ;+32
|
|
|
|
|
.openfile_path dd openfile_path ;+36 <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>뢠<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 䠩<EFBFBD><EFBFBD>
|
|
|
|
|
.filename_area dd filename_area ;+40
|
|
|
|
|
.filter_area dd Filter
|
2010-08-25 13:12:42 +04:00
|
|
|
|
.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
|
|
|
|
|
|
|
|
|
|
default_dir db '/rd/1',0 ;<EFBFBD><EFBFBD>४<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> 㬮<EFBFBD>砭<EFBFBD><EFBFBD>
|
2010-05-27 18:46:37 +04:00
|
|
|
|
|
|
|
|
|
communication_area_name:
|
|
|
|
|
db 'FFFFFFFF_open_dialog',0
|
|
|
|
|
open_dialog_name:
|
|
|
|
|
db 'opendial',0
|
|
|
|
|
communication_area_default_path:
|
2010-05-27 19:30:32 +04:00
|
|
|
|
db '/rd/1/File managers/',0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
|
|
|
|
|
Filter:
|
|
|
|
|
dd Filter.end - Filter.1
|
|
|
|
|
.1:
|
|
|
|
|
db 'ASM',0
|
|
|
|
|
db 'CPP',0
|
|
|
|
|
db 'INC',0
|
|
|
|
|
db 'INI',0
|
|
|
|
|
db 'TXT',0
|
|
|
|
|
db 'H',0
|
|
|
|
|
db 'HTM',0
|
|
|
|
|
db 'HTML',0
|
|
|
|
|
.end:
|
|
|
|
|
db 0
|
|
|
|
|
|
|
|
|
|
TED_PANEL_NULL equ 0 ;<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⮩ <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
TED_PANEL_FIND equ 1 ;<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>᪠
|
2010-04-29 22:27:40 +04:00
|
|
|
|
TED_PANEL_SYNTAX equ 2 ;<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>롮<EFBFBD><EFBFBD> 䠩<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>ᢥ⪨
|
|
|
|
|
TED_PANEL_WIDTH equ 150 ;<EFBFBD><EFBFBD>ਭ<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2009-12-29 02:19:20 +03:00
|
|
|
|
|
2010-05-27 18:46:37 +04:00
|
|
|
|
count_of_dir_list_files equ 15 ;<EFBFBD><EFBFBD><EFBFBD>ᨬ<EFBFBD><EFBFBD>쭮<EFBFBD> <EFBFBD><EFBFBD> 䠩<EFBFBD><EFBFBD><EFBFBD> ᨭ⠪<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>뢠<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> tree1
|
2009-12-29 02:19:20 +03:00
|
|
|
|
|
2010-04-15 19:50:49 +04:00
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
|
struct TexSelect
|
|
|
|
|
x0 dd ?
|
|
|
|
|
y0 dd ?
|
|
|
|
|
x1 dd ?
|
|
|
|
|
y1 dd ?
|
|
|
|
|
ends
|
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
|
align 4
|
|
|
|
|
tedit0: ;<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ⥪<EFBFBD>⮢<EFBFBD><EFBFBD><EFBFBD> ।<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.wnd BOX 0,50,440,150 ;+ 0
|
|
|
|
|
.rec BOX 30,23,7,10 ;+16
|
2010-04-22 23:39:39 +04:00
|
|
|
|
.drag_m db 0 ;+32 <EFBFBD>뤥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.drag_k db 0 ;+33 <EFBFBD>뤥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.sel TexSelect 0,0,0,0 ;+34 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>뤥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.seln TexSelect ;+50 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⥫쭠<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>뤥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2010-05-27 18:46:37 +04:00
|
|
|
|
.tex dd 0 ;+66 text memory pointer
|
|
|
|
|
.tex_1 dd 0 ;+70 text first symbol pointer
|
2010-04-29 22:27:40 +04:00
|
|
|
|
.tex_end dd 0 ;+74 text end memory pointer
|
2010-05-27 18:46:37 +04:00
|
|
|
|
.cur_x dd 0 ;+78 <EFBFBD><EFBFBD><EFBFBD>न<EFBFBD><EFBFBD><EFBFBD><EFBFBD> x <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.cur_y dd 0 ;+82 <EFBFBD><EFBFBD><EFBFBD>न<EFBFBD><EFBFBD><EFBFBD><EFBFBD> y <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2010-04-29 22:27:40 +04:00
|
|
|
|
.max_chars dd maxChars ;+86 <EFBFBD><EFBFBD><EFBFBD>ᨬ<EFBFBD><EFBFBD>쭮<EFBFBD> <EFBFBD><EFBFBD> ᨬ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>㬥<EFBFBD><EFBFBD><EFBFBD>
|
2010-04-22 23:39:39 +04:00
|
|
|
|
.count_colors_text dd 1 ;+90 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⢮ 梥⮢ ⥪<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.count_key_words dd 0 ;+94 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⢮ <EFBFBD><EFBFBD><EFBFBD>祢<EFBFBD><EFBFBD> <EFBFBD>
|
2010-05-27 18:46:37 +04:00
|
|
|
|
.color_cursor dd 0x808080 ;+98 梥<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.color_wnd_capt dd 0x80 ;+102 梥<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.color_wnd_work dd 0x0 ;+106 梥<EFBFBD> 䮭<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2010-04-29 22:27:40 +04:00
|
|
|
|
.color_wnd_bord dd 0xd0d0d0 ;+110 梥<EFBFBD> ⥪<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2010-05-27 18:46:37 +04:00
|
|
|
|
.color_select dd 0x208080 ;+114 梥<EFBFBD> <EFBFBD>뤥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2010-04-29 22:27:40 +04:00
|
|
|
|
.color_cur_text dd 0xff0000 ;+118 梥<EFBFBD> ᨬ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.color_wnd_text dd 0xffff00 ;+122 梥<EFBFBD> ⥪<EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2010-05-27 18:46:37 +04:00
|
|
|
|
.syntax_file dd 0 ;+126 㪠<EFBFBD><EFBFBD>⥫<EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD>砫<EFBFBD> 䠩<EFBFBD><EFBFBD> ᨭ⠪<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2010-04-29 22:27:40 +04:00
|
|
|
|
.syntax_file_size dd maxSyntaxFileSize ;+130 <EFBFBD><EFBFBD><EFBFBD>ᨬ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ࠧ<EFBFBD><EFBFBD><EFBFBD> 䠩<EFBFBD><EFBFBD> ᨭ⠪<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2010-05-27 18:46:37 +04:00
|
|
|
|
.text_colors dd 0 ;+134 㪠<EFBFBD><EFBFBD>⥫<EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>ᨢ 梥⮢ ⥪<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.help_text_f1 dd 0 ;+138 㪠<EFBFBD><EFBFBD>⥫<EFBFBD> <EFBFBD><EFBFBD> ⥪<EFBFBD><EFBFBD> <EFBFBD><EFBFBD>ࠢ<EFBFBD><EFBFBD> (<EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>⨨ F1)
|
|
|
|
|
.help_id dd -1 ;+142 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>䨪<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD>ࠢ<EFBFBD><EFBFBD>
|
2010-04-29 22:27:40 +04:00
|
|
|
|
.key_words_data dd 0 ;+146 㪠<EFBFBD><EFBFBD>⥫<EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>祢<EFBFBD><EFBFBD> <EFBFBD> TexColViv
|
|
|
|
|
.tim_ch dd ? ;+150 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⢮ <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> 䠩<EFBFBD><EFBFBD>
|
|
|
|
|
.tim_undo dd ? ;+154 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⢮ <EFBFBD>⬥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>⢨<EFBFBD>
|
|
|
|
|
.tim_ls dd ? ;+158 <EFBFBD>६<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>࠭<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.tim_co dd ? ;+162 <EFBFBD>६<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 梥⮢<EFBFBD><EFBFBD> ࠧ<EFBFBD><EFBFBD>⪨
|
|
|
|
|
.el_focus dd el_focus ;+166 㪠<EFBFBD><EFBFBD>⥫<EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD>६<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> 䮪<EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.err_save db 0 ;+170 <EFBFBD>訡<EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>࠭<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 䠩<EFBFBD><EFBFBD>
|
|
|
|
|
.panel_id db 0 ;+171 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⮩ <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2010-04-22 23:39:39 +04:00
|
|
|
|
.key_new db 0 ;+172 ᨬ<EFBFBD><EFBFBD><EFBFBD>, <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>㤥<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.symbol_new_line db 20 ;+173 ᨬ<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>襭<EFBFBD><EFBFBD> <EFBFBD><EFBFBD>ப<EFBFBD>
|
2010-05-27 18:46:37 +04:00
|
|
|
|
.scr_w dd wScr ;+174 <EFBFBD><EFBFBD><EFBFBD>⨪<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.scr_h dd hScr ;+178 <EFBFBD><EFBFBD>ਧ<EFBFBD><EFBFBD>⠫<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2010-04-29 22:27:40 +04:00
|
|
|
|
.arr_key_pos dd 0 ;+182 㪠<EFBFBD><EFBFBD>⥫<EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>ᨢ <EFBFBD><EFBFBD><EFBFBD><EFBFBD>権 <EFBFBD><EFBFBD><EFBFBD>祢<EFBFBD><EFBFBD> <EFBFBD>
|
|
|
|
|
.buffer dd buf ;+186 㪠<EFBFBD><EFBFBD>⥫<EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<EFBFBD><EFBFBD>⠢<EFBFBD><EFBFBD>
|
|
|
|
|
.buffer_find dd buf_find ;+190 㪠<EFBFBD><EFBFBD>⥫<EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>᪠
|
|
|
|
|
.cur_ins db 1 ;+194 ०<EFBFBD><EFBFBD> ࠡ<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
|
|
|
|
|
.mode_color db 1 ;+195 ०<EFBFBD><EFBFBD> <EFBFBD>뤥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> 梥⮬ (0-<EFBFBD>몫. 1-<EFBFBD><EFBFBD><EFBFBD>.)
|
|
|
|
|
.mode_invis db 0 ;+196 ०<EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⠥<EFBFBD><EFBFBD><EFBFBD> ᨬ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.gp_opt db 0 ;+197 <EFBFBD><EFBFBD>樨 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>頥<EFBFBD><EFBFBD><EFBFBD> <EFBFBD>㭪樥<EFBFBD> ted_get_pos_by_cursor
|
|
|
|
|
.fun_on_key_ctrl_o dd ted_but_open_file ;+198 㪠<EFBFBD><EFBFBD>⥫<EFBFBD> <EFBFBD><EFBFBD> <EFBFBD>㭪<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>뢠<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>⨨ Ctrl+O (<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⨥ 䠩<EFBFBD><EFBFBD>)
|
2010-05-27 18:46:37 +04:00
|
|
|
|
.fun_on_key_ctrl_f dd ted_but_find ;+202 ... Ctrl+F (<EFBFBD>맮<EFBFBD><EFBFBD>/<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>᪠)
|
|
|
|
|
.fun_on_key_ctrl_n dd ted_but_new_file ;+206 ... Ctrl+N (ᮧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>㬥<EFBFBD><EFBFBD><EFBFBD>)
|
2010-04-29 22:27:40 +04:00
|
|
|
|
.fun_on_key_ctrl_s dd 0 ;+210 ... Ctrl+S
|
2010-05-27 18:46:37 +04:00
|
|
|
|
.buffer_size dd BUF_SIZE ;+214 ࠧ<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<EFBFBD><EFBFBD>⠢<EFBFBD><EFBFBD>
|
|
|
|
|
.fun_find_err dd ted_on_find_err ;+218 㪠<EFBFBD><EFBFBD>⥫<EFBFBD> <EFBFBD><EFBFBD> <EFBFBD>㭪<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>뢠<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>稫<EFBFBD><EFBFBD> <EFBFBD><EFBFBD>㤠筮
|
2010-04-29 22:27:40 +04:00
|
|
|
|
.fun_init_synt_err dd ted_on_init_synt_err ;+222 㪠<EFBFBD><EFBFBD>⥫<EFBFBD> <EFBFBD><EFBFBD> <EFBFBD>㭪<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>뢠<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD>訡<EFBFBD>筮<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⨨ 䠩<EFBFBD><EFBFBD> ᨭ⠪<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.fun_draw_panel_buttons dd draw_but_toolbar ;+226 㪠<EFBFBD><EFBFBD>⥫<EFBFBD> <EFBFBD><EFBFBD> <EFBFBD>㭪<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD>ᮢ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2010-05-27 18:46:37 +04:00
|
|
|
|
.fun_draw_panel_find dd draw_panel_find ;+230 㪠<EFBFBD><EFBFBD>⥫<EFBFBD> <EFBFBD><EFBFBD> <EFBFBD>㭪<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD>ᮢ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>᪠
|
|
|
|
|
.fun_draw_panel_syntax dd draw_panel_syntax ;+234 㪠<EFBFBD><EFBFBD>⥫<EFBFBD> <EFBFBD><EFBFBD> <EFBFBD>㭪<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD>ᮢ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ᨭ⠪<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.fun_save_err dd ted_save_err_msg ;+238 㪠<EFBFBD><EFBFBD>⥫<EFBFBD> <EFBFBD><EFBFBD> <EFBFBD>㭪<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD>뢠<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD>࠭<EFBFBD><EFBFBD><EFBFBD><EFBFBD> 䠩<EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>稫<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD>㤠筮
|
2010-05-17 20:49:58 +04:00
|
|
|
|
.increase_size dd 200 ;+242 <EFBFBD><EFBFBD> ᨬ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>㤥<EFBFBD> 㢥稢<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD>墠⪥
|
|
|
|
|
.ptr_free_symb dd ? ;+246 <EFBFBD>ᯮ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD>७<EFBFBD><EFBFBD> <EFBFBD><EFBFBD>⠢<EFBFBD><EFBFBD> ⥪<EFBFBD><EFBFBD><EFBFBD>
|
2010-04-15 19:50:49 +04:00
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
|
|
2010-04-22 23:39:39 +04:00
|
|
|
|
conv_tabl rb 128 ; ⠡<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> scan-<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD> ascii-<EFBFBD><EFBFBD><EFBFBD>
|
2010-04-29 22:27:40 +04:00
|
|
|
|
buf db BUF_SIZE dup(0)
|
2010-04-22 23:39:39 +04:00
|
|
|
|
|
2009-12-29 02:19:20 +03:00
|
|
|
|
el_focus dd 0
|
|
|
|
|
mouse_dd dd 0
|
|
|
|
|
tree1 tree_list 264,count_of_dir_list_files+2, tl_key_no_edit+tl_draw_par_line+tl_list_box_mode,\
|
2010-04-29 22:27:40 +04:00
|
|
|
|
16,16, 0x8080ff,0x0000ff,0xffffff, 0,70,TED_PANEL_WIDTH-17,120, 0,0,0, el_focus,\
|
2009-12-29 02:19:20 +03:00
|
|
|
|
ws_dir_lbox,0
|
|
|
|
|
|
|
|
|
|
;dir_list memory
|
|
|
|
|
tree_file_struct:
|
|
|
|
|
dd 1
|
|
|
|
|
dd 0,0,count_of_dir_list_files
|
|
|
|
|
dd dir_mem
|
|
|
|
|
db 0
|
|
|
|
|
dd file_name ;sys_path
|
|
|
|
|
|
|
|
|
|
dir_mem rb 32+304*count_of_dir_list_files
|
|
|
|
|
|
2009-12-30 22:07:50 +03:00
|
|
|
|
if lang eq ru
|
|
|
|
|
|
2009-12-29 02:19:20 +03:00
|
|
|
|
menu_text_area:
|
|
|
|
|
db '<27><><EFBFBD><EFBFBD>',0
|
|
|
|
|
.1:
|
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
|
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
|
|
|
|
|
db '<27><><EFBFBD>࠭<EFBFBD><E0A0AD><EFBFBD>',0
|
|
|
|
|
db '<27><>室',0
|
|
|
|
|
.end:
|
|
|
|
|
db 0
|
|
|
|
|
|
|
|
|
|
msgbox_1:
|
|
|
|
|
dw 0
|
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0 ;+2 = +MB_TEXT_OFFSET
|
|
|
|
|
db '<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>让, <20><>⮬<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD>.',13
|
|
|
|
|
db ' 1. <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD>࠭<EFBFBD><E0A0AD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>訥<EFBFBD><E8A8A5>" ᨬ<><E1A8AC><EFBFBD><EFBFBD>.',13
|
|
|
|
|
db ' 2. <20> <20><><EFBFBD>㬥<EFBFBD><E3ACA5> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ⥪<><E2A5AA>, <20>. <20>. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.',0
|
|
|
|
|
db '<27> <20><><EFBFBD><EFBFBD><EFBFBD>(<28>)',0 ;button1
|
|
|
|
|
db 0
|
|
|
|
|
msgbox_2:
|
|
|
|
|
db 3,0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
|
2009-12-29 02:19:20 +03:00
|
|
|
|
db '<27><><EFBFBD>࠭<EFBFBD><E0A0AD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> 䠩<><E4A0A9>?',0
|
|
|
|
|
db '<27><><EFBFBD>࠭<EFBFBD><E0A0AD><EFBFBD>',0
|
|
|
|
|
db '<27><> <20><><EFBFBD>࠭<EFBFBD><E0A0AD><EFBFBD>',0
|
|
|
|
|
db '<27>⬥<EFBFBD><E2ACA5>',0
|
|
|
|
|
db 0
|
|
|
|
|
msgbox_2_funct:
|
|
|
|
|
dd On_SaveAndNewFile
|
|
|
|
|
dd On_NewFile
|
|
|
|
|
dd 0
|
|
|
|
|
|
|
|
|
|
msgbox_3:
|
|
|
|
|
db 1,0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
|
2009-12-29 02:19:20 +03:00
|
|
|
|
db '<27>訡<EFBFBD><E8A8A1> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>⨨ 䠩<><E4A0A9> <20> 梥⮢묨 <20><><EFBFBD><EFBFBD>ன<EFBFBD><E0AEA9><EFBFBD><EFBFBD>!',13,\
|
|
|
|
|
'<27><>⮬<EFBFBD> <20>뤥<EFBFBD><EBA4A5><EFBFBD><EFBFBD><EFBFBD> <> 梥⮬ <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.',13,\
|
2009-12-30 22:07:50 +03:00
|
|
|
|
' (<28><><EFBFBD> <20>訡<EFBFBD><E8A8A1> ='
|
2009-12-29 02:19:20 +03:00
|
|
|
|
.err: db '?'
|
|
|
|
|
db ')',0
|
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
|
|
|
|
|
db 0
|
|
|
|
|
|
|
|
|
|
msgbox_4:
|
|
|
|
|
db 1,0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
|
2009-12-29 02:19:20 +03:00
|
|
|
|
db '<27>訡<EFBFBD><E8A8A1> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>⨨ 䠩<><E4A0A9>!',13,\
|
|
|
|
|
'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> 䠩<><E4A0A9> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20>ࠢ<EFBFBD><E0A0A2>쭮.',13,\
|
2009-12-30 22:07:50 +03:00
|
|
|
|
' (<28><><EFBFBD> <20>訡<EFBFBD><E8A8A1> ='
|
2009-12-29 02:19:20 +03:00
|
|
|
|
.err: db '?'
|
|
|
|
|
db ')',0
|
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
|
|
|
|
|
db 0
|
|
|
|
|
|
|
|
|
|
msgbox_5:
|
|
|
|
|
db 3,0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
|
2009-12-29 02:19:20 +03:00
|
|
|
|
db '<27><><EFBFBD>࠭<EFBFBD><E0A0AD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> 䠩<><E4A0A9>?',0
|
|
|
|
|
db '<27><> <20><><EFBFBD>࠭<EFBFBD><E0A0AD><EFBFBD>',0
|
|
|
|
|
db '<27>⬥<EFBFBD><E2ACA5>',0
|
|
|
|
|
db 0
|
|
|
|
|
msgbox_5_funct:
|
2010-04-22 23:39:39 +04:00
|
|
|
|
dd but_no_msg_OpenFile
|
2009-12-29 02:19:20 +03:00
|
|
|
|
dd 0
|
|
|
|
|
|
|
|
|
|
msgbox_6:
|
|
|
|
|
db 1,0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
|
2009-12-29 02:19:20 +03:00
|
|
|
|
db '<27>訡<EFBFBD><E8A8A1> <20><><EFBFBD> <20><><EFBFBD>࠭<EFBFBD><E0A0AD><EFBFBD><EFBFBD> 䠩<><E4A0A9>!',13,\
|
|
|
|
|
'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> 䠩<><E4A0A9> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20>ࠢ<EFBFBD><E0A0A2>쭮.',13,\
|
2009-12-30 22:07:50 +03:00
|
|
|
|
' (<28><><EFBFBD> <20>訡<EFBFBD><E8A8A1> ='
|
2009-12-29 02:19:20 +03:00
|
|
|
|
.err: db '?'
|
|
|
|
|
db ')',0
|
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
|
|
|
|
|
db 0
|
|
|
|
|
msgbox_7:
|
|
|
|
|
db 1,0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
|
2009-12-29 02:19:20 +03:00
|
|
|
|
db '<27><><EFBFBD>⨣<EFBFBD><E2A8A3><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>㬥<EFBFBD><E3ACA5><EFBFBD>.',13,\
|
|
|
|
|
'<27><><EFBFBD><EFBFBD><E0AEA1><EFBFBD><EFBFBD> <20><>३<EFBFBD><E0A5A9> <20> <20><>砫<EFBFBD> <20><><EFBFBD>㬥<EFBFBD><E3ACA5><EFBFBD>',13,\
|
|
|
|
|
'<27><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>.',0
|
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
|
|
|
|
|
db 0
|
|
|
|
|
msgbox_8:
|
|
|
|
|
db 3,0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
|
2009-12-29 02:19:20 +03:00
|
|
|
|
db '<27><><EFBFBD> <20><>室<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ࠡ<><E0A0A1><EFBFBD> <20> 䠩<><E4A0A9><EFBFBD>.',13,\
|
|
|
|
|
'<27><><EFBFBD><EFBFBD><E0AEA1><EFBFBD><EFBFBD> <20><><EFBFBD>࠭<EFBFBD><E0A0AD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> 䠩<><E4A0A9>',13,\
|
|
|
|
|
'<27><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>⮩.',0
|
|
|
|
|
db '<27>⬥<EFBFBD><E2ACA5>',0
|
|
|
|
|
db 0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
msgbox_9:
|
|
|
|
|
db 3,0
|
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
|
2010-05-27 19:30:32 +04:00
|
|
|
|
db '<27><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ',39,'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 䠩<><E4A0A9>',39,'.',13
|
|
|
|
|
.fdp:
|
|
|
|
|
rb 100
|
|
|
|
|
db 0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
db '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',0
|
|
|
|
|
db 0
|
2009-12-29 02:19:20 +03:00
|
|
|
|
|
2010-05-27 18:46:37 +04:00
|
|
|
|
txtFile db '<27><><EFBFBD><EFBFBD>:',0
|
2009-12-29 02:19:20 +03:00
|
|
|
|
txtFindCapt db '<27><><EFBFBD><EFBFBD><EFBFBD>',0
|
|
|
|
|
txtFindNext db '<27><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>',0
|
|
|
|
|
txtFormatCapt db '<27><>ଠ<EFBFBD>',0
|
|
|
|
|
txtFormatApply db '<27>ਬ<EFBFBD><E0A8AC><EFBFBD><EFBFBD><EFBFBD>',0
|
2009-12-30 22:07:50 +03:00
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
|
|
menu_text_area:
|
|
|
|
|
db 'File',0
|
|
|
|
|
.1:
|
|
|
|
|
db 'New',0
|
|
|
|
|
db 'Open',0
|
|
|
|
|
db 'Save',0
|
|
|
|
|
db 'Exit',0
|
|
|
|
|
.end:
|
|
|
|
|
db 0
|
|
|
|
|
|
|
|
|
|
msgbox_1:
|
|
|
|
|
dw 0
|
|
|
|
|
db 'Warning',0 ;+2 = +MB_TEXT_OFFSET
|
|
|
|
|
db 'File is large, because not all open.',13
|
|
|
|
|
db ' 1. If you save it will lose "not opened" characters.',13
|
|
|
|
|
db ' 2. The document can not add text, because the memory is busy.',0
|
|
|
|
|
db 'Ok',0 ;button1
|
|
|
|
|
db 0
|
|
|
|
|
msgbox_2:
|
|
|
|
|
db 3,0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
db 'Warning',0
|
2009-12-30 22:07:50 +03:00
|
|
|
|
db 'Save changes to the file?',0
|
|
|
|
|
db 'Save',0
|
|
|
|
|
db 'Discard',0
|
|
|
|
|
db 'Cancel',0
|
|
|
|
|
db 0
|
|
|
|
|
msgbox_2_funct:
|
|
|
|
|
dd On_SaveAndNewFile
|
|
|
|
|
dd On_NewFile
|
|
|
|
|
dd 0
|
|
|
|
|
|
|
|
|
|
msgbox_3:
|
|
|
|
|
db 1,0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
db 'Warning',0
|
2009-12-30 22:07:50 +03:00
|
|
|
|
db 'Error opening the file with the color settings!',13,\
|
|
|
|
|
'Because color selection of words is not possible.',13,\
|
|
|
|
|
' (error code ='
|
|
|
|
|
.err: db '?'
|
|
|
|
|
db ')',0
|
|
|
|
|
db 'Close',0
|
|
|
|
|
db 0
|
|
|
|
|
|
|
|
|
|
msgbox_4:
|
|
|
|
|
db 1,0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
db 'Warning',0
|
2009-12-30 22:07:50 +03:00
|
|
|
|
db 'Error opening file!',13,\
|
|
|
|
|
'Maybe the file name is not entered correctly.',13,\
|
|
|
|
|
' (error code ='
|
|
|
|
|
.err: db '?'
|
|
|
|
|
db ')',0
|
|
|
|
|
db 'Close',0
|
|
|
|
|
db 0
|
|
|
|
|
|
|
|
|
|
msgbox_5:
|
|
|
|
|
db 3,0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
db 'Warning',0
|
2009-12-30 22:07:50 +03:00
|
|
|
|
db 'Save changes to the file?',0
|
|
|
|
|
db 'Discard',0
|
|
|
|
|
db 'Cancel',0
|
|
|
|
|
db 0
|
|
|
|
|
msgbox_5_funct:
|
2010-04-22 23:39:39 +04:00
|
|
|
|
dd but_no_msg_OpenFile
|
2009-12-30 22:07:50 +03:00
|
|
|
|
dd 0
|
|
|
|
|
|
|
|
|
|
msgbox_6:
|
|
|
|
|
db 1,0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
db 'Warning',0
|
2009-12-30 22:07:50 +03:00
|
|
|
|
db 'Error saving file!',13,\
|
|
|
|
|
'Maybe the file name is not entered correctly.',13,\
|
|
|
|
|
' (error code ='
|
|
|
|
|
.err: db '?'
|
|
|
|
|
db ')',0
|
|
|
|
|
db 'Close',0
|
|
|
|
|
db 0
|
|
|
|
|
msgbox_7:
|
|
|
|
|
db 1,0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
db 'Text not found.',0
|
2009-12-30 22:07:50 +03:00
|
|
|
|
db 'Reached end of the document.',13,\
|
|
|
|
|
'Try to go to the beginning of the document',13,\
|
|
|
|
|
'or change the query and search again.',0
|
|
|
|
|
db 'Close',0
|
|
|
|
|
db 0
|
|
|
|
|
msgbox_8:
|
|
|
|
|
db 3,0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
db 'Warning',0
|
2009-12-30 22:07:50 +03:00
|
|
|
|
db 'To quit, quit the file.',13,\
|
|
|
|
|
'Try to keep changes to a file',13,\
|
|
|
|
|
'or start a new blank file.',0
|
|
|
|
|
db 'Cancel',0
|
|
|
|
|
db 0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
msgbox_9:
|
|
|
|
|
db 3,0
|
|
|
|
|
db 'Warning',0
|
2010-05-27 19:30:32 +04:00
|
|
|
|
db 'Error run ',39,'open file dialog',39,'.',13
|
|
|
|
|
.fdp:
|
|
|
|
|
rb 100
|
|
|
|
|
db 0
|
2010-05-27 18:46:37 +04:00
|
|
|
|
db 'Close',0
|
|
|
|
|
db 0
|
2009-12-30 22:07:50 +03:00
|
|
|
|
|
2010-05-27 18:46:37 +04:00
|
|
|
|
txtFile db 'File:',0
|
2009-12-30 22:07:50 +03:00
|
|
|
|
txtFindCapt db 'Search',0
|
|
|
|
|
txtFindNext db 'Find next',0
|
|
|
|
|
txtFormatCapt db 'Format',0
|
|
|
|
|
txtFormatApply db 'Apply',0
|
|
|
|
|
|
|
|
|
|
end if
|
2009-12-29 02:19:20 +03:00
|
|
|
|
|
|
|
|
|
KM_SHIFT equ 0x00010000
|
|
|
|
|
KM_CTRL equ 0x00020000
|
|
|
|
|
KM_ALT equ 0x00040000
|
|
|
|
|
KM_NUMLOCK equ 0x00080000
|
|
|
|
|
|
|
|
|
|
; KEY CODES
|
|
|
|
|
KEY_F1 equ 0x0000003B
|
|
|
|
|
KEY_F2 equ 0x0000003C
|
|
|
|
|
KEY_F3 equ 0x0000003D
|
|
|
|
|
|