TEdit: final fixes

git-svn-id: svn://kolibrios.org@5639 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2015-08-01 00:13:37 +00:00
parent e2e433fd40
commit 60df867037
3 changed files with 29 additions and 29 deletions

File diff suppressed because one or more lines are too long

View File

@ -4,11 +4,11 @@ draw_but_toolbar: ;
mov edi,tedit0
mov ecx,0x40000000
mov edx,5*65536+4
mov edx,5*65536+5
call draw_but_icon
inc cx
mov edx,30*65536+4
mov edx,30*65536+5
call draw_but_icon
stdcall [ted_can_save],edi
@ -17,12 +17,12 @@ je @f
and ecx,0xffff
@@:
inc cx
mov edx,55*65536+4
mov edx,55*65536+5
call draw_but_icon
or ecx,0x40000000
inc cx
mov edx,85*65536+4
mov edx,85*65536+5
call draw_but_icon
call [ted_is_select]
@ -31,23 +31,23 @@ jne @f
and ecx,0xffff
@@:
inc cx ; Cut
mov edx,110*65536+4
mov edx,110*65536+5
call draw_but_icon
inc cx ; Copy
mov edx,135*65536+4
mov edx,135*65536+5
call draw_but_icon
mov cx,10 ; Upper
mov edx,265*65536+4
mov edx,265*65536+5
call draw_but_icon
inc cx ; Lower
mov edx,290*65536+4
mov edx,290*65536+5
call draw_but_icon
inc cx ; reverse
mov edx,315*65536+4
mov edx,315*65536+5
call draw_but_icon
or ecx,0x40000000
@ -56,20 +56,20 @@ jne @f
and ecx,0xffff
@@:
mov cx,6 ; Paste
mov edx,160*65536+4
mov edx,160*65536+5
call draw_but_icon
or ecx,0x40000000
inc cx
mov edx,185*65536+4
mov edx,185*65536+5
call draw_but_icon
inc cx
mov edx,210*65536+4
mov edx,210*65536+5
call draw_but_icon
inc cx
mov edx,235*65536+4
mov edx,235*65536+5
call draw_but_icon
mov ebx,ted_tim_undo
@ -78,7 +78,7 @@ jg @f
and ecx,0xffff
@@:
mov cx,13
mov edx,345*65536+4
mov edx,345*65536+5
call draw_but_icon
or ecx,0x40000000
@ -87,28 +87,28 @@ jge @f
and ecx,0xffff
@@:
inc cx
mov edx,370*65536+4
mov edx,370*65536+5
call draw_but_icon
or ecx,0x40000000
inc cx
mov edx,400*65536+4
mov edx,400*65536+5
call draw_but_icon
inc cx
mov edx,425*65536+4
mov edx,425*65536+5
call draw_but_icon
mov cx,17 ;âûáîð ôàéëà ïîäñâåòêè
mov edx,450*65536+4
mov edx,450*65536+5
call draw_but_icon
mov cx,18 ;cp 1251 -> 866
mov edx,480*65536+4
mov edx,480*65536+5
call draw_but_icon
mov cx,19 ;cp 866 -> 1251
mov edx,505*65536+4
mov edx,505*65536+5
call draw_but_icon
popad
@ -245,7 +245,7 @@ proc draw_panel_syntax
mov edx,txtFormatCapt
int 0x40
mov ebx,10*65536+40
mov ebx,10*65536+50
add ebx,dword[tree1.box_height]
add ebx,ted_wnd_t
mov edx,txtFormatApply

View File

@ -264,14 +264,14 @@ draw_window:
inc bx
int 0x40
mov eax,4
mov ebx,185*65536+9
mov ecx,[sc.work_text]
or ecx,0x80000000
mov edx,txtFile
int 0x40
; mov eax,4
; mov ebx,185*65536+9
; mov ecx,[sc.work_text]
; or ecx,0x80000000
; mov edx,txtFile
; int 0x40
stdcall [PathShow_draw], dword PathShow_data_1
; stdcall [PathShow_draw], dword PathShow_data_1
; stdcall [menu_bar_draw], dword menu_data_1
call draw_but_toolbar