120,10 → 120,6 |
|
; OpenDialog initialisation |
stdcall [OpenDialog_Init],OpenDialog_data |
mov eax,[sc.work_button_text] |
mov [PathShow_data_1.font_color],eax |
mov eax,[sc.work_button] |
mov [PathShow_data_1.background_color],eax |
|
; init toolbar file |
load_image_file 'te_icon.png', bmp_icon,TOOLBAR_ICONS_SIZE*2 ;㬮¦¥¨¥ 2 ¤«ï á¥àëå ª®¯®ª |
271,9 → 267,6 |
; mov edx,txtFile |
; int 0x40 |
|
; stdcall [PathShow_draw], dword PathShow_data_1 |
; stdcall [menu_bar_draw], dword menu_data_1 |
|
call draw_but_toolbar |
|
stdcall [ted_draw], tedit0 |
503,20 → 496,6 |
stdcall dword[tl_data_clear], tree1 |
mcall -1 ;¢ë室 ¨§ ¯à®£à ¬¬ë |
|
PathShow_data_1: |
.type dd 0 ;+0 |
.start_y dw 9 ;+4 |
.start_x dw 222 ;+6 |
.font_size_x dw 6 ;+8 ; 6 - for font 0, 8 - for font 1 |
.area_size_x dw 200 ;+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 openfile_path ;+28 |
.work_area_pointer dd text_work_area ;+32 |
.temp_text_length dd 0 ;+36 |
|
edit2 edit_box TED_PANEL_WIDTH-1, 0, 20, 0xffffff, 0xff80, 0xff0000, 0xff, 0x4080, 300, buf_find, mouse_dd, 0 |
|
unpac_mem dd 0 |
564,7 → 543,10 |
load_lib_end: |
|
IncludeIGlobals |
hed db 'TextEdit ' |
i_end: |
openfile_path: ;¯®«ë© ¯ãâì ª ä ©«ã á ª®â®àë¬ ¨¤¥â à ¡®â |
rb 4096 |
dir_mem rb 32+304*count_of_dir_list_files |
wnd_s_pos: ;¬¥áâ® ¤«ï áâ஥ª áâ à⮢®© ¯®§¨æ¨¨ ®ª |
rq 1 |
588,8 → 570,6 |
rb 4096 |
plugin_path: |
rb 4096 |
openfile_path: ;¯®«ë© ¯ãâì ª ä ©«ã á ª®â®àë¬ ¨¤¥â à ¡®â |
rb 4096 |
text_work_area: ;¯ãâì ª ä ©«ã, ª®â®àë© ¯®ª §ë¢ ¥âáï ¢ ®ª¥ |
rb 4096 |
filename_area: ;¨¬ï ä ©« ¤«ï ¤¨ «®£ ®âªàëâ¨ï/§ ªàëâ¨ï |