Subversion Repositories Kolibri OS

Rev

Rev 2501 | Rev 2523 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2501 Rev 2507
Line 683... Line 683...
683
	.end_mn:
683
	.end_mn:
684
	popad
684
	popad
685
	ret
685
	ret
686
endp
686
endp
Line -... Line 687...
-
 
687
 
-
 
688
;description:
687
 
689
;à¨á®¢ ­¨¥ ¯®¤¯¨á¥©
688
align 4
690
align 4
689
proc capt_draw uses eax ebx edi esi, h_capt:dword
691
proc capt_draw uses eax ebx edi esi, h_capt:dword
690
	mov edi,[h_capt]
692
	mov edi,[h_capt]
691
	mov eax,[edi] ;coord x
693
	mov eax,[edi] ;coord x
-
 
694
	mov ebx,[edi+4] ;coord y
-
 
695
 
-
 
696
	movzx esi,byte[zoom]
-
 
697
	cmp esi,3
-
 
698
	jl @f
-
 
699
		;à¨á®¢ ­¨¥ à ¬ª¨, ¢®ªà㣠§ ­ï⮩ â®çª¨
-
 
700
		stdcall draw_point_border, eax,ebx, color_caption
-
 
701
	@@:
692
	mov ebx,[edi+4] ;coord y
702
 
693
	add eax,[Cor_x]
703
	add eax,[Cor_x]
Line 694... Line -...
694
	add ebx,[Cor_y]
-
 
695
 
704
	add ebx,[Cor_y]
696
	movzx esi,byte[zoom]
705
 
697
	cmp esi,1
706
	cmp esi,1
698
	jle @f
707
	jle @f
699
		imul eax,esi
708
		imul eax,esi
Line -... Line 709...
-
 
709
		imul ebx,esi
-
 
710
	@@:
-
 
711
 
-
 
712
	cmp esi,3
-
 
713
	jl @f
-
 
714
		;ᤢ¨£ ­ ¤¯¨á¨ á ãç¥â®¬ à ¬ª¨
-
 
715
		add eax,esi
700
		imul ebx,esi
716
		inc eax
701
	@@:
717
	@@:
702
 
718
 
703
	add edi,capt_offs ;edi - 㪠§ â¥«ì ­  ¯®«­ãî ¯®¤¯¨áì (á ª®®à¤¨­ â ¬¨)
-
 
704
	call str_next_val
719
	add edi,capt_offs ;edi - 㪠§ â¥«ì ­  ¯®«­ãî ¯®¤¯¨áì (á ª®®à¤¨­ â ¬¨)
705
	call str_next_val
720
	call str_next_val
706
	;call str_next_val
721
	call str_next_val
Line 707... Line 722...
707
	stdcall [buf2d_draw_text], buf_0, buf_font,edi,eax,ebx,color_caption ;à¨á㥬 áâபã á ⥪á⮬
722
	stdcall [buf2d_draw_text], buf_0, buf_font,edi,eax,ebx,color_caption ;à¨á㥬 áâபã á ⥪á⮬
-
 
723
	ret
-
 
724
endp
-
 
725
 
-
 
726
;description:
-
 
727
; äã­ªæ¨ï ¤«ï ¢ë¤¥«¥­¨ï â®ç¥ç­ëå ®¡ê¥ªâ®¢ ­  ªà㯭ëå ¬ áèâ ¡ å
-
 
728
; ¤ ­­ ï äã­ªæ¨ï ®ç¥­ì ¯®å®¦  ­  draw_signal_rect
-
 
729
align 4
-
 
730
proc draw_point_border uses eax ebx edi, x0:dword,y0:dword, color:dword
-
 
731
	movzx edi,byte[zoom]
-
 
732
	mov ebx,[y0]
-
 
733
	mov eax,[x0]
-
 
734
 
-
 
735
	add ebx,[Cor_y]
-
 
736
	imul ebx,edi
-
 
737
	add eax,[Cor_x]
-
 
738
	imul eax,edi
-
 
739
 
-
 
740
	stdcall [buf2d_rect_by_size], buf_0, eax,ebx,edi,edi, dword[color]
708
	ret
741
	ret
709
endp
742
endp
710
 
743
 
711
;description:
744
;description:
712
; ¯®¤äã­ªæ¨ï ¤«ï à¨á®¢ ­¨ï 㢥«¨ç¥­­ëå ¯àאַ㣮«ì­¨ª®¢ ­  á奬¥
745
; ¯®¤äã­ªæ¨ï ¤«ï à¨á®¢ ­¨ï 㢥«¨ç¥­­ëå ¯àאַ㣮«ì­¨ª®¢ ­  á奬¥