Subversion Repositories Kolibri OS

Rev

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

Rev 9514 Rev 9709
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2010-2015. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2010-2015. All rights reserved. ;;
4
;; Distributed under terms of the GNU General Public License    ;;
4
;; Distributed under terms of the GNU General Public License    ;;
5
;;                                                              ;;
5
;;                                                              ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 9514 $
8
$Revision: 9709 $
Line 9... Line 9...
9
 
9
 
10
include 'mousepointer.inc'
10
include 'mousepointer.inc'
Line 724... Line 724...
724
 
724
 
725
.mswin:
725
.mswin:
726
        mov     eax, [MOUSE_X]
726
        mov     eax, [MOUSE_X]
727
        shl     eax, 16
727
        shl     eax, 16
728
        mov     ax, [MOUSE_Y]
728
        mov     ax, [MOUSE_Y]
-
 
729
        mov     esi, [current_slot_idx]
729
        mov     esi, [TASK_BASE]
730
        shl     esi, BSF sizeof.WDATA
730
        mov     bx, word [esi-twdw+WDATA.box.left]
731
        mov     bx, word [esi + window_data + WDATA.box.left]
731
        shl     ebx, 16
732
        shl     ebx, 16
732
        mov     bx, word [esi-twdw+WDATA.box.top]
733
        mov     bx, word [esi + window_data + WDATA.box.top]
733
        sub     eax, ebx
734
        sub     eax, ebx
734
        mov     edi, [current_slot_idx]
735
        mov     edi, [current_slot_idx]
735
        shl     edi, 8
736
        shl     edi, 8
736
        sub     ax, word[edi+SLOT_BASE+APPDATA.wnd_clientbox.top]
737
        sub     ax, word[edi+SLOT_BASE+APPDATA.wnd_clientbox.top]