Subversion Repositories Kolibri OS

Rev

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

Rev 4429 Rev 4923
Line 293... Line 293...
293
        jne     .fail
293
        jne     .fail
294
;           cmp [eax+CURSOR.size], CURSOR_SIZE
294
;           cmp [eax+CURSOR.size], CURSOR_SIZE
295
;           jne .fail
295
;           jne .fail
296
        mov     ebx, [current_slot]
296
        mov     ebx, [current_slot]
297
        xchg    eax, [ebx+APPDATA.cursor]
297
        xchg    eax, [ebx+APPDATA.cursor]
298
        mov     [redrawmouse_unconditional], 1
-
 
299
        call    __sys_draw_pointer
-
 
300
        ret
298
        jmp     .end
301
;--------------------------------------
299
;--------------------------------------
302
align 4
300
align 4
303
.fail:
301
.fail:
304
        mov     eax, [def_cursor]
302
        mov     eax, [def_cursor]
305
        mov     ebx, [current_slot]
303
        mov     ebx, [current_slot]
306
        xchg    eax, [ebx+APPDATA.cursor]
304
        xchg    eax, [ebx+APPDATA.cursor]
-
 
305
align 4
-
 
306
.end:
-
 
307
        mov     [redrawmouse_unconditional], 1
-
 
308
        call    __sys_draw_pointer        
307
        ret
309
        ret
308
endp
310
endp
309
;------------------------------------------------------------------------------
311
;------------------------------------------------------------------------------
310
align 4
312
align 4
311
; param
313
; param