Subversion Repositories Kolibri OS

Rev

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

Rev 7136 Rev 9679
Line 13... Line 13...
13
;;                                                              ;;
13
;;                                                              ;;
14
;;  See file COPYING for details                                ;;
14
;;  See file COPYING for details                                ;;
15
;;                                                              ;;
15
;;                                                              ;;
16
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
16
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 17... Line 17...
17
 
17
 
Line 18... Line 18...
18
$Revision: 7136 $
18
$Revision: 9679 $
19
 
19
 
20
 
20
 
Line 396... Line 396...
396
        push    edi
396
        push    edi
397
        push    eax
397
        push    eax
398
        push    ebx
398
        push    ebx
399
        push    ecx
399
        push    ecx
400
        push    edx
400
        push    edx
401
        mov     ecx, [TASK_BASE]
401
        ;mov     ecx, [TASK_BASE]
402
        add     eax, [ecx-twdw+WDATA.box.left]
402
        ;add     eax, [ecx-twdw+WDATA.box.left]
403
        add     ebx, [ecx-twdw+WDATA.box.top]
403
        ;add     ebx, [ecx-twdw+WDATA.box.top]
-
 
404
        mov     ecx, [current_slot_idx]
-
 
405
        shl     ecx, 5
-
 
406
        add     eax, [ecx + window_data + WDATA.box.left]
-
 
407
        add     ebx, [ecx + window_data + WDATA.box.top]
404
        push    eax
408
        push    eax
405
        mov     eax, ebx ; y
409
        mov     eax, ebx ; y
406
        mov     ebx, [BytesPerScanLine]
410
        mov     ebx, [BytesPerScanLine]
407
        mul     ebx
411
        mul     ebx
408
        pop     ecx
412
        pop     ecx
Line 763... Line 767...
763
        push    ebx
767
        push    ebx
764
        push    ecx
768
        push    ecx
765
        push    edx
769
        push    edx
766
        movzx   eax, word [esp+2]
770
        movzx   eax, word [esp+2]
767
        movzx   ebx, word [esp+0]
771
        movzx   ebx, word [esp+0]
768
        mov     ecx, [TASK_BASE]
772
        ;mov     ecx, [TASK_BASE]
769
        add     eax, [ecx-twdw+WDATA.box.left]
773
        ;add     eax, [ecx-twdw+WDATA.box.left]
770
        add     ebx, [ecx-twdw+WDATA.box.top]
774
        ;add     ebx, [ecx-twdw+WDATA.box.top]
-
 
775
        mov     ecx, [current_slot_idx]
-
 
776
        shl     ecx, 5
-
 
777
        add     eax, [ecx + window_data + WDATA.box.left]
-
 
778
        add     ebx, [ecx + window_data + WDATA.box.top]
771
        push    eax
779
        push    eax
772
        mov     eax, ebx  ; y
780
        mov     eax, ebx  ; y
773
        mul     dword [BytesPerScanLine]
781
        mul     dword [BytesPerScanLine]
774
        pop     ecx
782
        pop     ecx
775
        add     eax, ecx  ; x
783
        add     eax, ecx  ; x