Subversion Repositories Kolibri OS

Rev

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

Rev 2483 Rev 2497
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: 2483 $
8
$Revision: 2497 $
9
 
9
 
10
 
10
 
Line 1012... Line 1012...
1012
.32:
1012
.32:
1013
        mov     [PUTPIXEL], dword Vesa20_putpixel32_new
1013
        mov     [PUTPIXEL], dword Vesa20_putpixel32_new
1014
;--------------------------------------
1014
;--------------------------------------
1015
align 4
1015
align 4
1016
@@:
1016
@@:
-
 
1017
        stdcall load_cursor, clock_arrow, dword LOAD_FROM_MEM
-
 
1018
        mov     [def_cursor_clock], eax
1017
        stdcall load_cursor, def_arrow, dword LOAD_FROM_MEM
1019
        stdcall load_cursor, def_arrow, dword LOAD_FROM_MEM
1018
        mov     [def_cursor], eax
1020
        mov     [def_cursor], eax
1019
        ret
1021
        ret
1020
;--------------------------------------
1022
;--------------------------------------
1021
align 4
1023
align 4
Line 1023... Line 1025...
1023
        xor     eax, eax
1025
        xor     eax, eax
1024
        mov     [_display.select_cursor], eax
1026
        mov     [_display.select_cursor], eax
1025
        mov     [_display.move_cursor], eax
1027
        mov     [_display.move_cursor], eax
1026
        ret
1028
        ret
1027
;------------------------------------------------------------------------------
1029
;------------------------------------------------------------------------------
-
 
1030
set_default_cursor_clock:
-
 
1031
        pushad
-
 
1032
        stdcall set_cursor, [def_cursor_clock]
-
 
1033
        mov     [redrawmouse_unconditional], 1
-
 
1034
        popad
-
 
1035
        call    __sys_draw_pointer
-
 
1036
        ret
-
 
1037
;------------------------------------------------------------------------------
-
 
1038
set_default_cursor_arrow:
-
 
1039
        pushad
-
 
1040
        stdcall set_cursor, [def_cursor]
-
 
1041
        mov     [redrawmouse_unconditional], 1
-
 
1042
        popad
-
 
1043
        call    __sys_draw_pointer
-
 
1044
        ret
-
 
1045
;------------------------------------------------------------------------------
1028
align 4
1046
align 4
1029
def_arrow:
1047
def_arrow:
1030
  file 'arrow.cur'
1048
  file 'arrow.cur'
1031
;------------------------------------------------------------------------------
1049
;------------------------------------------------------------------------------
-
 
1050
align 4
-
 
1051
clock_arrow:
-
 
1052
  file 'arrow_clock.cur'
-
 
1053
;------------------------------------------------------------------------------