Subversion Repositories Kolibri OS

Rev

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

Rev 2465 Rev 2987
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2012. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-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: 2465 $
8
$Revision: 2987 $
9
 
9
 
10
 
10
 
Line 24... Line 24...
24
uglobal
24
uglobal
25
;--------------------------------------
25
;--------------------------------------
26
align 4
26
align 4
27
  mousecount  dd  0x0
27
  mousecount  dd  0x0
28
  mousedata   dd  0x0
28
  mousedata   dd  0x0
29
Y_UNDER_subtraction_CUR_hot_y:
-
 
30
        dd 0
-
 
31
X_UNDER_subtraction_CUR_hot_x:
-
 
32
        dd 0
-
 
33
Y_UNDER_sub_CUR_hot_y_add_curh:
29
Y_UNDER_sub_CUR_hot_y_add_curh:
-
 
30
        dw 0
-
 
31
Y_UNDER_subtraction_CUR_hot_y:
34
        dd 0
32
        dw 0
35
X_UNDER_sub_CUR_hot_x_add_curh:
33
X_UNDER_sub_CUR_hot_x_add_curh:
-
 
34
        dw 0
-
 
35
X_UNDER_subtraction_CUR_hot_x:
36
        dd 0
36
        dw 0
37
endg
37
endg
Line 38... Line 38...
38
 
38
 
39
iglobal
39
iglobal
40
;--------------------------------------
40
;--------------------------------------
Line 445... Line 445...
445
        xor     eax, eax
445
        xor     eax, eax
446
        mov     esi, [current_cursor]
446
        mov     esi, [current_cursor]
Line 447... Line 447...
447
 
447
 
448
        mov     ax, [Y_UNDER]
448
        mov     ax, [Y_UNDER]
449
        sub     eax, [esi+CURSOR.hot_y]
449
        sub     eax, [esi+CURSOR.hot_y]
450
        mov     [Y_UNDER_subtraction_CUR_hot_y], eax
450
        mov     [Y_UNDER_subtraction_CUR_hot_y], ax
451
        add     eax, [cur.h]
451
        add     eax, [cur.h]
Line 452... Line 452...
452
        mov     [Y_UNDER_sub_CUR_hot_y_add_curh], eax
452
        mov     [Y_UNDER_sub_CUR_hot_y_add_curh], ax
453
 
453
 
454
        mov     ax, [X_UNDER]
454
        mov     ax, [X_UNDER]
455
        sub     eax, [esi+CURSOR.hot_x]
455
        sub     eax, [esi+CURSOR.hot_x]
456
        mov     [X_UNDER_subtraction_CUR_hot_x], eax
456
        mov     [X_UNDER_subtraction_CUR_hot_x], ax
457
        add     eax, [cur.w]
457
        add     eax, [cur.w]
458
        mov     [X_UNDER_sub_CUR_hot_x_add_curh], eax
458
        mov     [X_UNDER_sub_CUR_hot_x_add_curh], ax
459
;--------------------------------------
459
;--------------------------------------
460
align 4
460
align 4
461
@@:
461
@@: