2010-05-31 01:27:14 +04:00
|
|
|
|
fn_col_option dd def_col_file
|
|
|
|
|
fn_syntax_dir db 'info/',0
|
|
|
|
|
def_col_file db 'default.syn',0
|
|
|
|
|
|
2014-07-01 17:46:54 +04:00
|
|
|
|
system_dir_0 db '/sys/lib/'
|
|
|
|
|
lib_name_0 db 'box_lib.obj',0
|
2010-05-31 01:27:14 +04:00
|
|
|
|
|
2014-07-01 17:46:54 +04:00
|
|
|
|
system_dir_1 db '/sys/lib/'
|
|
|
|
|
lib_name_1 db 'libimg.obj',0
|
2010-05-31 01:27:14 +04:00
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
align 4
|
2014-07-01 17:46:54 +04:00
|
|
|
|
import_box_lib:
|
2011-08-26 18:09:59 +04:00
|
|
|
|
dd alib_init2 ;<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>
|
2010-06-10 00:06:03 +04:00
|
|
|
|
|
2010-05-31 01:27:14 +04:00
|
|
|
|
edit_box_draw dd aEdit_box_draw
|
|
|
|
|
edit_box_key dd aEdit_box_key
|
|
|
|
|
edit_box_mouse dd aEdit_box_mouse
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
tl_node_move_down dd sz_tl_node_move_down
|
|
|
|
|
tl_save_mem dd sz_tl_save_mem
|
|
|
|
|
tl_load_mem dd sz_tl_load_mem
|
|
|
|
|
|
|
|
|
|
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
|
2014-07-01 17:46:54 +04:00
|
|
|
|
ted_save_file dd sz_ted_save_file
|
2010-05-31 01:27:14 +04:00
|
|
|
|
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
|
2019-01-24 01:08:19 +03:00
|
|
|
|
ted_but_find dd sz_ted_but_find
|
2010-05-31 01:27:14 +04:00
|
|
|
|
ted_text_colored dd sz_ted_text_colored
|
|
|
|
|
|
2011-08-26 18:09:59 +04:00
|
|
|
|
PathShow_prepare dd sz_PathShow_prepare
|
|
|
|
|
PathShow_draw dd sz_PathShow_draw
|
|
|
|
|
|
2010-05-31 01:27:14 +04:00
|
|
|
|
dd 0,0
|
2010-06-10 00:06:03 +04:00
|
|
|
|
alib_init2 db 'lib_init',0
|
2010-05-31 01:27:14 +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
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
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_tl_node_move_down db 'tl_node_move_down',0
|
|
|
|
|
sz_tl_save_mem db 'tl_save_mem',0
|
|
|
|
|
sz_tl_load_mem db 'tl_load_mem',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
|
2014-07-01 17:46:54 +04:00
|
|
|
|
sz_ted_save_file db 'ted_save_file',0
|
2010-05-31 01:27:14 +04:00
|
|
|
|
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
|
2019-01-24 01:08:19 +03:00
|
|
|
|
sz_ted_but_find db 'ted_but_find',0
|
2010-05-31 01:27:14 +04:00
|
|
|
|
sz_ted_text_colored db 'ted_text_colored',0
|
2019-01-29 23:02:48 +03:00
|
|
|
|
sz_ted_go_to_position db 'ted_go_to_position',0
|
2011-08-26 18:09:59 +04:00
|
|
|
|
|
|
|
|
|
sz_PathShow_prepare db 'PathShow_prepare',0
|
|
|
|
|
sz_PathShow_draw db 'PathShow_draw',0
|
2014-07-01 17:46:54 +04:00
|
|
|
|
|
|
|
|
|
align 4
|
|
|
|
|
import_libimg:
|
|
|
|
|
dd alib_init1
|
|
|
|
|
img_to_rgb2 dd aimg_to_rgb2
|
|
|
|
|
img_decode dd aimg_decode
|
|
|
|
|
img_destroy dd aimg_destroy
|
|
|
|
|
dd 0,0
|
|
|
|
|
alib_init1 db 'lib_init',0
|
|
|
|
|
aimg_to_rgb2 db 'img_to_rgb2',0
|
|
|
|
|
aimg_decode db 'img_decode',0 ;<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>
|
|
|
|
|
aimg_destroy db 'img_destroy',0
|
2019-01-24 01:08:19 +03:00
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
;<EFBFBD><EFBFBD><EFBFBD><EFBFBD>୨<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ListBox
|
2010-05-31 01:27:14 +04:00
|
|
|
|
align 4
|
2019-01-24 01:08:19 +03:00
|
|
|
|
ws_dir_lbox scrollbar 16,0, 30,70, 15, 100,30,0, 0,0,0, 1
|
2010-05-31 01:27:14 +04:00
|
|
|
|
;---------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
count_of_dir_list_files equ 15
|
|
|
|
|
|
|
|
|
|
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,\
|
|
|
|
|
16,16, 0x8080ff,0x0000ff,0xffffff, 5,5,180-17,185, 12,0,0, el_focus,\
|
|
|
|
|
ws_dir_lbox,0
|
|
|
|
|
|
|
|
|
|
;dir_list memory
|
|
|
|
|
tree_file_struct:
|
2011-08-20 23:11:46 +04:00
|
|
|
|
dd 1
|
|
|
|
|
dd 0,0,count_of_dir_list_files
|
|
|
|
|
dd dir_mem
|
|
|
|
|
db 0
|
|
|
|
|
dd file_name
|
2010-05-31 01:27:14 +04:00
|
|
|
|
|
|
|
|
|
dir_mem rb 32+304*count_of_dir_list_files
|
|
|
|
|
|
2011-08-26 18:09:59 +04:00
|
|
|
|
edit1 edit_box 310+16-CAPT_PATH_WIDTH, 210+CAPT_PATH_WIDTH, 25, 0xffffff, 0xff, 0xff0000, 0, 0x80, MAX_COLOR_WORD_LEN, ed_buffer.127, mouse_dd, 0
|
|
|
|
|
|
|
|
|
|
ed_buffer: ;⥪<EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> edit
|
|
|
|
|
.127: rb MAX_COLOR_WORD_LEN+2
|
2011-09-06 02:50:20 +04:00
|
|
|
|
|
2010-05-31 01:27:14 +04:00
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
|
align 4
|
|
|
|
|
tedit0: ;<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ⥪<EFBFBD>⮢<EFBFBD><EFBFBD><EFBFBD> ।<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2011-08-20 23:11:46 +04:00
|
|
|
|
.wnd BOX 195,5+40,325,240 ;+ 0
|
2010-05-31 01:27:14 +04:00
|
|
|
|
.rec BOX 30,13,7,10 ;+16
|
|
|
|
|
.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>
|
2011-09-06 02:50:20 +04:00
|
|
|
|
.sel rb 16 ;+34 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD>뤥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.seln rb 16 ;+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-31 01:27:14 +04:00
|
|
|
|
.tex dd 0 ;+66 text memory pointer
|
|
|
|
|
.tex_1 dd 0 ;+70 text first symbol pointer
|
|
|
|
|
.tex_end dd 0 ;+74 text end memory pointer
|
|
|
|
|
.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>
|
|
|
|
|
.max_chars dd 25002 ;+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>
|
|
|
|
|
.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>
|
|
|
|
|
.color_cursor dd 0xff0000 ;+98 梥<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.color_wnd_capt dd 0x0080c0 ;+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>
|
|
|
|
|
.color_wnd_bord dd 0xffffff ;+110 梥<EFBFBD> ⥪<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.color_select dd 0x0000ff ;+114 梥<EFBFBD> <EFBFBD>뤥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.color_cur_text dd 0xffff00 ;+118 梥<EFBFBD> ᨬ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.color_wnd_text dd 0x80ffff ;+122 梥<EFBFBD> ⥪<EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.syntax_file dd 0 ;+126 㪠<EFBFBD><EFBFBD>⥫<EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD>砫<EFBFBD> 䠩<EFBFBD><EFBFBD> ᨭ⠪<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.syntax_file_size dd 500 ;+130 <EFBFBD><EFBFBD><EFBFBD>ᨬ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ࠧ<EFBFBD><EFBFBD><EFBFBD> 䠩<EFBFBD><EFBFBD> ᨭ⠪<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.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>
|
|
|
|
|
.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>
|
|
|
|
|
.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>
|
|
|
|
|
.scr_w dd scrol_w1 ;+174 <EFBFBD><EFBFBD><EFBFBD>⨪<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.scr_h dd scrol_h1 ;+178 <EFBFBD><EFBFBD>ਧ<EFBFBD><EFBFBD>⠫<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
.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 0 ;+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
|
2019-01-29 23:02:48 +03:00
|
|
|
|
.fun_on_key_ctrl_all dd ted_but_ctrl_all ;+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+N,O,S,F,G,H
|
|
|
|
|
dd 0,0,0
|
2010-05-31 01:27:14 +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 0 ;+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>㤠筮
|
|
|
|
|
.fun_init_synt_err dd 0 ;+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 0 ;+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>
|
2019-01-29 23:02:48 +03:00
|
|
|
|
.fun_draw_panels dd 0 ;+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>᪠|...|ᨭ⠪<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
dd 0
|
2010-05-31 01:27:14 +04:00
|
|
|
|
.fun_save_err dd 0 ;+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>㤠筮
|
|
|
|
|
.increase_size dd 1000 ;+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><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>)
|
2019-01-15 15:24:51 +03:00
|
|
|
|
.font_size dd 0 ;+250 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⥫<EFBFBD> <EFBFBD><EFBFBD><EFBFBD> ࠧ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
2010-05-31 01:27:14 +04:00
|
|
|
|
;------------------------------------------------------------------------------
|
|
|
|
|
align 4
|
2019-01-15 15:24:51 +03:00
|
|
|
|
scrol_w1 scrollbar 16,85, 100,15, 15, 100,0,0, 0xeeeeee,0xbbddff,0x808080, 1
|
|
|
|
|
|
2010-05-31 01:27:14 +04:00
|
|
|
|
align 4
|
2019-01-15 15:24:51 +03:00
|
|
|
|
scrol_h1 scrollbar 85,30, 16,100, 15, 100,0,0, 0xeeeeee,0xbbddff,0x808080, 1
|
2010-05-31 01:27:14 +04:00
|
|
|
|
;---------------------------------------------------------------------
|
2011-08-26 18:09:59 +04:00
|
|
|
|
PathShow_data_1:
|
|
|
|
|
.type dd 0 ;+0
|
|
|
|
|
.start_y dw 10 ;+4
|
|
|
|
|
.start_x dw 210+CAPT_PATH_WIDTH ;+6
|
|
|
|
|
.font_size_x dw 6 ;+8 ; 6 - for font 0, 8 - for font 1
|
|
|
|
|
.area_size_x dw 310+16-CAPT_PATH_WIDTH ;+10
|
|
|
|
|
.font_number dd 0 ;+12 ; 0 - monospace, 1 - variable
|
|
|
|
|
.background_flag dd 1 ;+16
|
|
|
|
|
.font_color dd 0x0 ;+20
|
|
|
|
|
.background_color dd 0xffffff ;+24
|
|
|
|
|
.text_pointer dd file_name ;+28
|
|
|
|
|
.work_area_pointer dd file_name_rez ;+32
|
|
|
|
|
.temp_text_length dd 0 ;+36
|
2010-05-31 01:27:14 +04:00
|
|
|
|
|
|
|
|
|
align 4
|
|
|
|
|
str_file_70:
|
|
|
|
|
rb (5*4+1+4) ;<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>. 70)
|
|
|
|
|
|
|
|
|
|
text_buffer db 500 dup(0)
|
|
|
|
|
|
|
|
|
|
align 4
|
|
|
|
|
;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>
|
|
|
|
|
buf db BUF_SIZE dup(0) ;<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> | <EFBFBD><EFBFBD>⠢<EFBFBD><EFBFBD>
|
|
|
|
|
|
2020-05-04 14:55:42 +03:00
|
|
|
|
capt_header db 'macro wo txt,lf1,p1,p2,p3{',13
|
|
|
|
|
db '@@: db txt',13,'rb @b+40-$',13
|
|
|
|
|
db 'if lf1 eq',13,'dd 0',13 ;<EFBFBD> <EFBFBD><EFBFBD>뫪<EFBFBD> f1 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
db 'else if lf1 eq 0',13,'dd 0',13 ;<EFBFBD> <EFBFBD><EFBFBD>뫪<EFBFBD> f1 ࠢ<EFBFBD><EFBFBD> 0
|
|
|
|
|
db 'else',13,'dd f1.#lf1-f1',13,'end if',13 ;<EFBFBD> <EFBFBD><EFBFBD>뫪<EFBFBD> f1 <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD>⪮<EFBFBD>
|
|
|
|
|
db 'db p1',13,'dw p2+0',13,'db p3',13,'}',13
|
2010-05-31 01:27:14 +04:00
|
|
|
|
db 'count_colors_text dd (text-color_wnd_text)/4',13
|
2011-08-22 19:58:27 +04:00
|
|
|
|
db 'count_key_words dd (f1-text)/48',13,0
|
2010-05-31 01:27:14 +04:00
|
|
|
|
col_1 db 'color_cursor dd ',0 ;+ 98 梥<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
col_2 db 'color_wnd_capt dd ',0 ;+102 梥<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
col_3 db 'color_wnd_work dd ',0 ;+106 梥<EFBFBD> 䮭<EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
col_4 db 'color_wnd_bord dd ',0 ;+110 梥<EFBFBD> ⥪<EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
col_5 db 'color_select dd ',0 ;+114 梥<EFBFBD> <EFBFBD>뤥<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
col_6 db 'color_cur_text dd ',0 ;+118 梥<EFBFBD> ᨬ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
col_7 db 'color_wnd_text:',13,0 ;+122 梥<EFBFBD> ⥪<EFBFBD><EFBFBD><EFBFBD> <EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|
|
|
|
|
|
|
|
|
capt_lbl_wo db 'text:',13,0
|
|
|
|
|
capt_beg_word db 'wo<',39,0
|
|
|
|
|
capt_beg_db db ':db ',39,0
|
|
|
|
|
capt_end_word db 39,'>,',0
|
|
|
|
|
capt_type_dd db 9,'dd ',0
|
|
|
|
|
capt_lbl_f1 db 'f1: db 0',13,0
|
|
|
|
|
capt_end_word_f1 db 39,',0',13,0
|
|
|
|
|
capt_point db '.',0
|
|
|
|
|
capt_null db '0',0
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|