Subversion Repositories Kolibri OS

Rev

Rev 5639 | Rev 5649 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5639 Rev 5643
Line 118... Line 118...
118
	stdcall [ted_init], tedit0
118
	stdcall [ted_init], tedit0
119
	stdcall dword[tl_data_init], tree1
119
	stdcall dword[tl_data_init], tree1
Line 120... Line 120...
120
 
120
 
121
; OpenDialog initialisation
121
; OpenDialog initialisation
122
	stdcall [OpenDialog_Init],OpenDialog_data
-
 
123
	mov eax,[sc.work_button_text]
-
 
124
	mov [PathShow_data_1.font_color],eax
-
 
125
	mov eax,[sc.work_button]
-
 
Line 126... Line 122...
126
	mov [PathShow_data_1.background_color],eax
122
	stdcall [OpenDialog_Init],OpenDialog_data
127
 
123
 
128
; init toolbar file
124
; init toolbar file
129
	load_image_file 'te_icon.png', bmp_icon,TOOLBAR_ICONS_SIZE*2 ;㬭®¦¥­¨¥ ­  2 ¤«ï á¥àëå ª­®¯®ª
125
	load_image_file 'te_icon.png', bmp_icon,TOOLBAR_ICONS_SIZE*2 ;㬭®¦¥­¨¥ ­  2 ¤«ï á¥àëå ª­®¯®ª
Line 269... Line 265...
269
	; mov ecx,[sc.work_text]
265
	; mov ecx,[sc.work_text]
270
	; or  ecx,0x80000000
266
	; or  ecx,0x80000000
271
	; mov edx,txtFile
267
	; mov edx,txtFile
272
	; int 0x40
268
	; int 0x40
Line 273... Line -...
273
 
-
 
274
	; stdcall [PathShow_draw], dword PathShow_data_1
-
 
275
	; stdcall [menu_bar_draw], dword menu_data_1
-
 
276
 
269
 
Line 277... Line 270...
277
	call draw_but_toolbar
270
	call draw_but_toolbar
Line 278... Line 271...
278
 
271
 
Line 501... Line 494...
501
 
494
 
502
	stdcall [ted_delete], tedit0
495
	stdcall [ted_delete], tedit0
503
	stdcall dword[tl_data_clear], tree1
496
	stdcall dword[tl_data_clear], tree1
Line 504... Line -...
504
	mcall -1 ;¢ë室 ¨§ ¯à®£à ¬¬ë
-
 
505
 
-
 
506
PathShow_data_1:
-
 
507
.type			dd 0	;+0
-
 
508
.start_y		dw 9	;+4
-
 
509
.start_x		dw 222	;+6
-
 
510
.font_size_x		dw 6	;+8     ; 6 - for font 0, 8 - for font 1
-
 
511
.area_size_x		dw 200	;+10
-
 
512
.font_number		dd 0	;+12    ; 0 - monospace, 1 - variable
-
 
513
.background_flag	dd 1	;+16
-
 
514
.font_color		dd 0x0	;+20
-
 
515
.background_color	dd 0xffffff	;+24
-
 
516
.text_pointer		dd openfile_path	;+28
-
 
517
.work_area_pointer	dd text_work_area	;+32
-
 
518
.temp_text_length	dd 0	;+36
497
	mcall -1 ;¢ë室 ¨§ ¯à®£à ¬¬ë
Line 519... Line 498...
519
 
498
 
Line 520... Line 499...
520
edit2 edit_box TED_PANEL_WIDTH-1, 0, 20, 0xffffff, 0xff80, 0xff0000, 0xff, 0x4080, 300, buf_find, mouse_dd, 0
499
edit2 edit_box TED_PANEL_WIDTH-1, 0, 20, 0xffffff, 0xff80, 0xff0000, 0xff, 0x4080, 300, buf_find, mouse_dd, 0
Line 562... Line 541...
562
	lib4 l_libs lib_name_4, sys_path, file_name, system_dir_4,\
541
	lib4 l_libs lib_name_4, sys_path, file_name, system_dir_4,\
563
		err_message_found_lib_4, head_f_l, import_libini, err_message_import_4, head_f_i
542
		err_message_found_lib_4, head_f_l, import_libini, err_message_import_4, head_f_i
564
load_lib_end:
543
load_lib_end:
Line 565... Line 544...
565
 
544
 
-
 
545
IncludeIGlobals
566
IncludeIGlobals
546
hed db 'TextEdit '
-
 
547
i_end:
-
 
548
	openfile_path: ;¯®«­ë© ¯ãâì ª ä ©«ã á ª®â®àë¬ ¨¤¥â à ¡®â 
567
i_end:
549
		rb 4096
568
	dir_mem rb 32+304*count_of_dir_list_files
550
	dir_mem rb 32+304*count_of_dir_list_files
569
	wnd_s_pos: ;¬¥áâ® ¤«ï ­ áâ஥ª áâ à⮢®© ¯®§¨æ¨¨ ®ª­ 
551
	wnd_s_pos: ;¬¥áâ® ¤«ï ­ áâ஥ª áâ à⮢®© ¯®§¨æ¨¨ ®ª­ 
570
		rq 1
552
		rq 1
571
	last_open_synt_file rb 32 ;¨¬ï ¯®á«¥¤­¥£® ¯®¤ª«î祭­®£® ä ©«  ᨭ⠪á¨á 
553
	last_open_synt_file rb 32 ;¨¬ï ¯®á«¥¤­¥£® ¯®¤ª«î祭­®£® ä ©«  ᨭ⠪á¨á 
Line 586... Line 568...
586
		rb 4096
568
		rb 4096
587
	syntax_path: ;¨¬ï ¯®¤ª«îç ¥¬®£® ä ©«  ᨭ⠪á¨á 
569
	syntax_path: ;¨¬ï ¯®¤ª«îç ¥¬®£® ä ©«  ᨭ⠪á¨á 
588
		rb 4096
570
		rb 4096
589
	plugin_path:
571
	plugin_path:
590
		rb 4096
572
		rb 4096
591
	openfile_path: ;¯®«­ë© ¯ãâì ª ä ©«ã á ª®â®àë¬ ¨¤¥â à ¡®â 
-
 
592
		rb 4096
-
 
593
	text_work_area: ;¯ãâì ª ä ©«ã, ª®â®àë© ¯®ª §ë¢ ¥âáï ¢ ®ª­¥
573
	text_work_area: ;¯ãâì ª ä ©«ã, ª®â®àë© ¯®ª §ë¢ ¥âáï ¢ ®ª­¥
594
		rb 4096
574
		rb 4096
595
	filename_area: ;¨¬ï ä ©«  ¤«ï ¤¨ «®£  ®âªàëâ¨ï/§ ªàëâ¨ï
575
	filename_area: ;¨¬ï ä ©«  ¤«ï ¤¨ «®£  ®âªàëâ¨ï/§ ªàëâ¨ï
596
		rb 256
576
		rb 256
597
	file_info:
577
	file_info: