Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6314 → Rev 6313

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