Rev 2434 | Rev 2987 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2434 | Rev 2465 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2010. 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: 2434 $ |
8 | $Revision: 2465 $ |
Line 9... | Line 9... | ||
9 | 9 | ||
10 | include 'mousepointer.inc' |
10 | include 'mousepointer.inc' |
Line 525... | Line 525... | ||
525 | ;? mouse cursor within its bounds |
525 | ;? mouse cursor within its bounds |
526 | ;------------------------------------------------------------------------------ |
526 | ;------------------------------------------------------------------------------ |
527 | ;< esi = process slot |
527 | ;< esi = process slot |
528 | ;< edi = pointer to WDATA struct |
528 | ;< edi = pointer to WDATA struct |
529 | ;------------------------------------------------------------------------------ |
529 | ;------------------------------------------------------------------------------ |
530 | mov esi, [Screen_Max_X] |
530 | ; mov esi, [Screen_Max_X] |
531 | inc esi |
531 | ; inc esi |
532 | imul esi, [mouse.state.pos.y] |
532 | ; imul esi, [mouse.state.pos.y] |
- | 533 | mov esi, [mouse.state.pos.y] |
|
- | 534 | mov esi, [d_width_calc_area + esi*4] |
|
- | 535 | ||
533 | add esi, [_WinMapAddress] |
536 | add esi, [_WinMapAddress] |
534 | add esi, [mouse.state.pos.x] |
537 | add esi, [mouse.state.pos.x] |
535 | movzx esi, byte[esi] |
538 | movzx esi, byte[esi] |
536 | mov edi, esi |
539 | mov edi, esi |
537 | shl edi, 5 |
540 | shl edi, 5 |