Rev 983 | Rev 1316 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 983 | Rev 1300 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2004-2008. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2008. 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: 983 $ |
8 | $Revision: 1300 $ |
9 | 9 | ||
10 | 10 | ||
Line 109... | Line 109... | ||
109 | push ebx |
109 | push ebx |
Line 110... | Line 110... | ||
110 | 110 | ||
111 | mov ecx, [Screen_Max_X] |
111 | mov ecx, [Screen_Max_X] |
112 | inc ecx |
112 | inc ecx |
113 | mul ecx |
- | |
- | 113 | mul ecx |
|
114 | 114 | add eax, [_WinMapAddress] |
|
115 | movzx edx, byte [display_data+ebx+eax] |
115 | movzx edx, byte [ebx+eax] |
116 | shl edx, 8 |
116 | shl edx, 8 |
Line 117... | Line 117... | ||
117 | mov esi, [edx+SLOT_BASE+APPDATA.cursor] |
117 | mov esi, [edx+SLOT_BASE+APPDATA.cursor] |
118 | 118 | ||
Line 119... | Line -... | ||
119 | cmp esi, [current_cursor] |
- | |
120 | je .draw |
- | |
121 | - | ||
122 | ; cmp [esi+CURSOR.magic], 'CURS' |
119 | cmp esi, [current_cursor] |
123 | ; jne .fail |
120 | je .draw |
124 | 121 | ||
125 | push esi |
122 | push esi |
126 | call [select_hw_cursor] |
123 | call [select_hw_cursor] |
Line 290... | Line 287... | ||
290 | movzx ebx, word [MOUSE_Y] |
287 | movzx ebx, word [MOUSE_Y] |
291 | mov ecx,[Screen_Max_X] |
288 | mov ecx,[Screen_Max_X] |
292 | inc ecx |
289 | inc ecx |
293 | imul ecx,ebx |
290 | imul ecx,ebx |
294 | add ecx,eax |
291 | add ecx,eax |
295 | add ecx, display_data |
292 | add ecx, [_WinMapAddress] |
296 | mov eax, [CURRENT_TASK] |
293 | mov eax, [CURRENT_TASK] |
297 | movzx ebx, byte [ecx] |
294 | movzx ebx, byte [ecx] |
298 | cmp eax,ebx |
295 | cmp eax,ebx |
299 | je yes_mouse_disable |
296 | je yes_mouse_disable |
300 | movzx ebx, byte [ecx+16] |
297 | movzx ebx, byte [ecx+16] |