Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 2506 → Rev 2507

/programs/media/log_el/trunk/le_pole.inc
685,15 → 685,24
ret
endp
 
;description:
;à¨á®¢ ­¨¥ ¯®¤¯¨á¥©
align 4
proc capt_draw uses eax ebx edi esi, h_capt:dword
mov edi,[h_capt]
mov eax,[edi] ;coord x
mov ebx,[edi+4] ;coord y
 
movzx esi,byte[zoom]
cmp esi,3
jl @f
;à¨á®¢ ­¨¥ à ¬ª¨, ¢®ªà㣠§ ­ï⮩ â®çª¨
stdcall draw_point_border, eax,ebx, color_caption
@@:
 
add eax,[Cor_x]
add ebx,[Cor_y]
 
movzx esi,byte[zoom]
cmp esi,1
jle @f
imul eax,esi
700,15 → 709,39
imul ebx,esi
@@:
 
cmp esi,3
jl @f
;ᤢ¨£ ­ ¤¯¨á¨ á ãç¥â®¬ à ¬ª¨
add eax,esi
inc eax
@@:
 
add edi,capt_offs ;edi - 㪠§ â¥«ì ­  ¯®«­ãî ¯®¤¯¨áì (á ª®®à¤¨­ â ¬¨)
call str_next_val
call str_next_val
;call str_next_val
stdcall [buf2d_draw_text], buf_0, buf_font,edi,eax,ebx,color_caption ;à¨á㥬 áâபã á ⥪á⮬
ret
endp
 
;description:
; äã­ªæ¨ï ¤«ï ¢ë¤¥«¥­¨ï â®ç¥ç­ëå ®¡ê¥ªâ®¢ ­  ªà㯭ëå ¬ áèâ ¡ å
; ¤ ­­ ï äã­ªæ¨ï ®ç¥­ì ¯®å®¦  ­  draw_signal_rect
align 4
proc draw_point_border uses eax ebx edi, x0:dword,y0:dword, color:dword
movzx edi,byte[zoom]
mov ebx,[y0]
mov eax,[x0]
 
add ebx,[Cor_y]
imul ebx,edi
add eax,[Cor_x]
imul eax,edi
 
stdcall [buf2d_rect_by_size], buf_0, eax,ebx,edi,edi, dword[color]
ret
endp
 
;description:
; ¯®¤äã­ªæ¨ï ¤«ï à¨á®¢ ­¨ï 㢥«¨ç¥­­ëå ¯àאַ㣮«ì­¨ª®¢ ­  á奬¥
align 4
proc draw_scaled_rect uses eax ebx ecx edx edi, x0:dword,y0:dword,x1:dword,y1:dword, color:dword