Rev 4181 | Rev 5154 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4181 | Rev 4507 | ||
---|---|---|---|
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: 4181 $ |
8 | $Revision: 4507 $ |
9 | 9 | ||
10 | 10 | ||
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 |