Subversion Repositories Kolibri OS

Rev

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

Rev 3536 Rev 4424
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2010-2012. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2010-2012. 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: 3536 $
8
$Revision: 4424 $
Line 9... Line 9...
9
 
9
 
10
include 'mousepointer.inc'
10
include 'mousepointer.inc'
Line 521... Line 521...
521
;? mouse cursor within its bounds
521
;? mouse cursor within its bounds
522
;------------------------------------------------------------------------------
522
;------------------------------------------------------------------------------
523
;< esi = process slot
523
;< esi = process slot
524
;< edi = pointer to WDATA struct
524
;< edi = pointer to WDATA struct
525
;------------------------------------------------------------------------------
525
;------------------------------------------------------------------------------
526
;        mov     esi, [Screen_Max_X]
-
 
527
;        inc     esi
-
 
528
;        imul    esi, [mouse.state.pos.y]
-
 
529
        mov     esi, [mouse.state.pos.y]
526
        mov     esi, [mouse.state.pos.y]
530
        mov     esi, [d_width_calc_area + esi*4]
527
        mov     esi, [d_width_calc_area + esi*4]
Line 531... Line 528...
531
 
528
 
532
        add     esi, [_WinMapAddress]
529
        add     esi, [_WinMapAddress]