Rev 469 | Rev 536 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 469 | Rev 473 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | $Revision: 469 $ |
1 | $Revision: 473 $ |
2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
3 | ;; ;; |
3 | ;; ;; |
4 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
4 | ;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; Distributed under terms of the GNU General Public License ;; |
6 | ;; ;; |
6 | ;; ;; |
Line 888... | Line 888... | ||
888 | add edx,dword [WinMapAddress-8] ; +B |
888 | add edx,dword [WinMapAddress-8] ; +B |
889 | add edx,dword [WinMapAddress-8] ; +B |
889 | add edx,dword [WinMapAddress-8] ; +B |
890 | push edx |
890 | push edx |
891 | mov ebp,[draw_data+32+RECT.left] ; x start:=(x+Xwin) |
891 | mov ebp,[draw_data+32+RECT.left] ; x start:=(x+Xwin) |
892 | mov ebx,[draw_data+32+RECT.top] ; y start:=(y+Ywin) |
892 | mov ebx,[draw_data+32+RECT.top] ; y start:=(y+Ywin) |
893 | dec ebx |
- | |
894 | mov eax,[BytesPerScanLine] |
893 | mov eax,[BytesPerScanLine] |
895 | mul ebx |
894 | mul ebx |
896 | xchg ebp, eax ; BytesPerScanLine*(Ywin+y) |
895 | xchg ebp, eax ; BytesPerScanLine*(Ywin+y) |
897 | add ebp, eax ; +X |
896 | add ebp, eax ; +X |
898 | add ebp, eax ; +X |
897 | add ebp, eax ; +X |