Rev 2381 | Rev 2446 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2381 | Rev 2384 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | ;; Copyright (C) KolibriOS team 2010. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2010. 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: 2381 $ |
8 | $Revision: 2384 $ |
Line 9... | Line 9... | ||
9 | 9 | ||
10 | include 'mousepointer.inc' |
10 | include 'mousepointer.inc' |
Line 566... | Line 566... | ||
566 | mov edx, esi |
566 | mov edx, esi |
Line 567... | Line 567... | ||
567 | 567 | ||
568 | ; check if any process button contains cursor |
568 | ; check if any process button contains cursor |
569 | mov eax, [BTN_ADDR] |
569 | mov eax, [BTN_ADDR] |
570 | mov ecx, [eax] |
570 | mov ecx, [eax] |
571 | imul esi, ecx, SYS_BUTTON.sizeof |
571 | imul esi, ecx, sizeof.SYS_BUTTON |
572 | add esi, eax |
572 | add esi, eax |
573 | inc ecx |
573 | inc ecx |
Line 574... | Line 574... | ||
574 | add esi, SYS_BUTTON.sizeof |
574 | add esi, sizeof.SYS_BUTTON |
575 | 575 | ||
576 | .next_button: |
576 | .next_button: |
Line 577... | Line 577... | ||
577 | dec ecx |
577 | dec ecx |
Line 578... | Line 578... | ||
578 | jz .not_found |
578 | jz .not_found |
579 | 579 | ||
580 | add esi, -SYS_BUTTON.sizeof |
580 | add esi, -sizeof.SYS_BUTTON |