Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6313 → Rev 6314

/programs/develop/libraries/exif/examples/viev_exif.asm
165,19 → 165,19
@@:
cmp ah,6
jne @f
call but_1
call draw_file_1 ;®á­®¢­ ï ¨­ä®à¬ æ¨ï
@@:
cmp ah,7
jne @f
call but_2
call draw_file_2 ;¨­ä®à¬ æ¨ï ¯® GPS
@@:
cmp ah,8
jne @f
call but_3
call draw_file_3 ;¨­ä®à¬ æ¨ï app2
@@:
cmp ah,9
jne @f
call but_4
call draw_file_4
@@:
cmp ah,1
jne still
222,14 → 222,15
jne .end_open_file
 
mov eax,[open_file]
mov ebx,dword[eax+32] ;dword[eax+32] - à §¬¥à ®âªà뢠¥¬®£® ä ©« 
mov dword[open_file_size],ebx ;ebx - à §¬¥à ®âªà뢠¥¬®£® ä ©« 
mov ebx,[eax+32] ;dword[eax+32] - à §¬¥à ®âªà뢠¥¬®£® ä ©« 
mov [open_file_size],ebx ;ebx - à §¬¥à ®âªà뢠¥¬®£® ä ©« 
;memory_file_size - à §¬¥à ¢ë¤¥«¥­­®© ¯ ¬ï⨠¤«ï ä ©« 
cmp dword[memory_file_size],ebx
cmp [memory_file_size],ebx
jge @f
;㢥«¨ç¨¢ ¥¬ ¯ ¬ïâì ¥á«¨ ­¥ 墠⨫®
mov dword[memory_file_size],ebx
stdcall mem.ReAlloc, dword[open_file],ebx
mov [memory_file_size],ebx
stdcall mem.ReAlloc, [open_file],ebx
mov [open_file],eax
@@:
 
mov [run_file_70.Function], SSF_READ_FILE
483,7 → 484,7
 
mov ebx,dword[h_child] ;dword[open_file]
mov [run_file_70.Buffer], ebx
mov ebx,... ; âãâ ¤®«¦¥­ ¡ëâì à §¬¥à í᪨§  ¨§®¡à ¦¥­¨ï ª®â®àë© ¬¥­ìè¥ ç¥¬ [open_file_size]
mov ebx,dword[h_child_siz] ;à §¬¥à í᪨§  ¨§®¡à ¦¥­¨ï
end if
mov dword[run_file_70.Count], ebx ;à §¬¥à ä ©« 
mov byte[run_file_70+20], 0
497,26 → 498,6
popad
ret
 
align 4
but_1:
call draw_file_1 ;®á­®¢­ ï ¨­ä®à¬ æ¨ï
ret
 
align 4
but_2:
call draw_file_2 ;¨­ä®à¬ æ¨ï ¯® GPS
ret
 
align 4
but_3:
call draw_file_3 ;¨­ä®à¬ æ¨ï app2
ret
 
align 4
but_4:
call draw_file_4 ;¥é¥ ª ª ï-â® ¨­ä®à¬ æ¨ï ...
ret
 
;¤ ­­ë¥ ¤«ï ¤¨ «®£  ®âªàëâ¨ï ä ©«®¢
align 4
OpenDialog_data: