Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7113 → Rev 7134

/programs/fs/mfar/trunk/mf-copy.inc
2,7 → 2,7
;///// COPYING ////////////////////////////////////////////////////////////////
;------------------------------------------------------------------------------
 
func copy_file
__func copy_file
pushad
 
cmp [active_panel],0
126,7 → 126,7
 
;------------------------------------------------------------------------------
 
func draw_window_copy_main
__func draw_window_copy_main
mcall2 MF_FILLRECT,oX+tW*2,tW*76,oY+tH*7,tH*8,0x00C0C0C0
 
mmov esi,oX+tW*4+2,oX+tW*75+3
168,7 → 168,7
 
;------------------------------------------------------------------------------
 
func draw_copy_input
__func draw_copy_input
mcall2 MF_FILLRECT,oX+tW*6,tW*68,oY+tH*10,tH,0x00008080
 
mov edx,fc_info.path
/programs/fs/mfar/trunk/mf-sort.inc
11,7 → 11,7
dd compare_by_extension
 
; AL = panel
func mfar_sort
__func mfar_sort
pusha
cmp al,0
jne ._00
69,7 → 69,7
 
; ESI = pointer to 1st file info
; EDI = pointer to 2nd file info
func compare_by_name
__func compare_by_name
mov ecx,11
push edi esi
repe cmpsb
102,7 → 102,7
 
; ESI = pointer to 1st file info
; EDI = pointer to 2nd file info
func compare_by_extension
__func compare_by_extension
push edi esi
mov ecx,3
add esi,8
/programs/fs/mfar/trunk/mfar.asm
290,7 → 290,7
;///// DRAW WINDOW ////////////////////////////////////////////////////////////
;------------------------------------------------------------------------------
 
func draw_window
__func draw_window
mcall MF_WINPROPS,WP_GETSYSCLRS,sc,sizeof.system_colors
 
mcall MF_WNDDRAW,WD_BEGINDRAW
340,7 → 340,7
;//////////////////////////////////////////////////////////////////////////////
;------------------------------------------------------------------------------
 
func draw_window_full
__func draw_window_full
call draw_window
mov edx,1
call get_files_data
360,7 → 360,7
align 4
len dd ?
 
func get_normal_path
__func get_normal_path
pusha
mov ecx,5
rep movsb
394,7 → 394,7
; EAX = length needed
; ECX = current length
; EDI = path string
func get_path_ellipses
__func get_path_ellipses
cmp ecx,eax
jbe @f
pushad
416,7 → 416,7
;//////////////////////////////////////////////////////////////////////////////
;------------------------------------------------------------------------------
 
func draw_path
__func draw_path
pushad
cmp [active_panel],0
jne ._00
444,7 → 444,7
;------------------------------------------------------------------------------
 
; AL = panel
func draw_files
__func draw_files
push eax
mmov ecx,oY+tH*2-1,tH*FPC
mov edx,[fc.background]
519,7 → 519,7
;//////////////////////////////////////////////////////////////////////////////
;------------------------------------------------------------------------------
 
func draw_bottom_keys
__func draw_bottom_keys
pushad
mcall2 MF_FILLRECT,oX-1,tW*80+1,oY+tH*24-1,tH+1,[fc.pathbg]
dec ecx
551,7 → 551,7
; ESI = X1*65536+X2
; EDI = Y1*65536+Y2
; EDX = color
func draw_frame
__func draw_frame
mov ecx,edi
mov ebx,edi
shr ebx,16
578,7 → 578,7
;------------------------------------------------------------------------------
 
; EDX = pointer to file data
func get_file_color
__func get_file_color
push esi
mov cl,[edx+11]
test cl,(FA_HIDDEN or FA_SYSTEM)
632,7 → 632,7
;------------------------------------------------------------------------------
 
; EDI = color
func draw_sel
__func draw_sel
pushad
cmp [active_panel],0
jne ._00
715,7 → 715,7
;------------------------------------------------------------------------------
 
; AL = panel
func draw_file_info
__func draw_file_info
push eax
mmov ecx,oY+tH*21,tH
mov edx,[fc.background]
790,7 → 790,7
;//////////////////////////////////////////////////////////////////////////////
;------------------------------------------------------------------------------
 
func get_file_name
__func get_file_name
pushad
mov eax,[esi+0]
mov [f_name+0],eax
810,7 → 810,7
;------------------------------------------------------------------------------
 
; ESI = pointer to file data
func get_file_info
__func get_file_info
pushad
mov eax,[esi+12]
mov dword[f_info],FS_READ
888,7 → 888,7
;------------------------------------------------------------------------------
 
; DL = panel
func get_files_data
__func get_files_data
pushad
mov [d_tcnt],0
mov [d_ttsz],0
985,7 → 985,7
;//////////////////////////////////////////////////////////////////////////////
;------------------------------------------------------------------------------
 
func execute_current_file
__func execute_current_file
pushad
cmp [active_panel],0
jne ._00
1080,7 → 1080,7
;//////////////////////////////////////////////////////////////////////////////
;------------------------------------------------------------------------------
 
func delete_current_file
__func delete_current_file
pushad
popad
ret