Rev 2540 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2540 | Rev 3187 | ||
---|---|---|---|
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 122... | Line 122... | ||
122 | mov esi, [edx+SLOT_BASE+APPDATA.cursor] |
122 | mov esi, [edx+SLOT_BASE+APPDATA.cursor] |
Line 123... | Line 123... | ||
123 | 123 | ||
124 | cmp esi, [current_cursor] |
124 | cmp esi, [current_cursor] |
Line -... | Line 125... | ||
- | 125 | je .draw |
|
- | 126 | ||
- | 127 | mov eax, [TASK_COUNT] |
|
- | 128 | movzx eax, word [WIN_POS+eax*2] |
|
- | 129 | shl eax, 8 |
|
- | 130 | ||
- | 131 | cmp eax, edx |
|
- | 132 | je @F |
|
- | 133 | ||
- | 134 | mov esi, [def_cursor] |
|
- | 135 | cmp esi, [current_cursor] |
|
- | 136 | je .draw |
|
125 | je .draw |
137 | |
126 | 138 | @@: |
|
127 | push esi |
139 | push esi |
128 | call [_display.select_cursor] |
140 | call [_display.select_cursor] |
129 | mov [current_cursor], esi |
141 | mov [current_cursor], esi |
Line 445... | Line 457... | ||
445 | xor eax, eax |
457 | xor eax, eax |
446 | mov esi, [current_cursor] |
458 | mov esi, [current_cursor] |
Line 447... | Line 459... | ||
447 | 459 | ||
448 | mov ax, [Y_UNDER] |
460 | mov ax, [Y_UNDER] |
449 | sub eax, [esi+CURSOR.hot_y] |
461 | sub eax, [esi+CURSOR.hot_y] |
450 | mov [Y_UNDER_subtraction_CUR_hot_y], eax |
462 | mov [Y_UNDER_subtraction_CUR_hot_y], ax |
451 | add eax, [cur.h] |
463 | add eax, [cur.h] |
Line 452... | Line 464... | ||
452 | mov [Y_UNDER_sub_CUR_hot_y_add_curh], eax |
464 | mov [Y_UNDER_sub_CUR_hot_y_add_curh], ax |
453 | 465 | ||
454 | mov ax, [X_UNDER] |
466 | mov ax, [X_UNDER] |
455 | sub eax, [esi+CURSOR.hot_x] |
467 | sub eax, [esi+CURSOR.hot_x] |
456 | mov [X_UNDER_subtraction_CUR_hot_x], eax |
468 | mov [X_UNDER_subtraction_CUR_hot_x], ax |
457 | add eax, [cur.w] |
469 | add eax, [cur.w] |
458 | mov [X_UNDER_sub_CUR_hot_x_add_curh], eax |
470 | mov [X_UNDER_sub_CUR_hot_x_add_curh], ax |
459 | ;-------------------------------------- |
471 | ;-------------------------------------- |
460 | align 4 |
472 | align 4 |
461 | @@: |
473 | @@: |