Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5648 → Rev 5649

/programs/other/t_edit/t_draw.inc
4,11 → 4,11
mov edi,tedit0
 
mov ecx,0x40000000
mov edx,5*65536+5
mov edx,5*65536+25
call draw_but_icon
 
inc cx
mov edx,30*65536+5
mov edx,30*65536+25
call draw_but_icon
 
stdcall [ted_can_save],edi
17,12 → 17,12
and ecx,0xffff
@@:
inc cx
mov edx,55*65536+5
mov edx,55*65536+25
call draw_but_icon
or ecx,0x40000000
 
inc cx
mov edx,85*65536+5
mov edx,85*65536+25
call draw_but_icon
 
call [ted_is_select]
31,23 → 31,23
and ecx,0xffff
@@:
inc cx ; Cut
mov edx,110*65536+5
mov edx,110*65536+25
call draw_but_icon
 
inc cx ; Copy
mov edx,135*65536+5
mov edx,135*65536+25
call draw_but_icon
 
mov cx,10 ; Upper
mov edx,265*65536+5
mov edx,265*65536+25
call draw_but_icon
 
inc cx ; Lower
mov edx,290*65536+5
mov edx,290*65536+25
call draw_but_icon
 
inc cx ; reverse
mov edx,315*65536+5
mov edx,315*65536+25
call draw_but_icon
or ecx,0x40000000
 
56,20 → 56,20
and ecx,0xffff
@@:
mov cx,6 ; Paste
mov edx,160*65536+5
mov edx,160*65536+25
call draw_but_icon
or ecx,0x40000000
 
inc cx
mov edx,185*65536+5
mov edx,185*65536+25
call draw_but_icon
 
inc cx
mov edx,210*65536+5
mov edx,210*65536+25
call draw_but_icon
 
inc cx
mov edx,235*65536+5
mov edx,235*65536+25
call draw_but_icon
 
mov ebx,ted_tim_undo
78,7 → 78,7
and ecx,0xffff
@@:
mov cx,13
mov edx,345*65536+5
mov edx,345*65536+25
call draw_but_icon
or ecx,0x40000000
 
87,28 → 87,28
and ecx,0xffff
@@:
inc cx
mov edx,370*65536+5
mov edx,370*65536+25
call draw_but_icon
or ecx,0x40000000
 
inc cx
mov edx,400*65536+5
mov edx,400*65536+25
call draw_but_icon
 
inc cx
mov edx,425*65536+5
mov edx,425*65536+25
call draw_but_icon
 
mov cx,17 ;âûáîð ôàéëà ïîäñâåòêè
mov edx,450*65536+5
mov edx,450*65536+25
call draw_but_icon
 
mov cx,18 ;cp 1251 -> 866
mov edx,480*65536+5
mov edx,480*65536+25
call draw_but_icon
 
mov cx,19 ;cp 866 -> 1251
mov edx,505*65536+5
mov edx,505*65536+25
call draw_but_icon
 
popad
138,7 → 138,7
int 0x40
 
mov eax,4 ;ðèñîâàíèå òåêñòà
mov ebx,30*65536+5
mov ebx,30*65536+25
add ebx,ted_wnd_t
mov ecx,[sc.work_text]
or ecx,0x80000000