Rev 28 | Rev 38 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 28 | Rev 33 | ||
---|---|---|---|
Line 530... | Line 530... | ||
530 | pushad |
530 | pushad |
531 | cbwaitmouseup: |
531 | cbwaitmouseup: |
Line 532... | Line 532... | ||
532 | 532 | ||
Line 533... | Line -... | ||
533 | call checkidle |
- | |
534 | 533 | call checkidle |
|
Line 535... | Line 534... | ||
535 | call check_mouse_data |
534 | |
536 | call [draw_pointer] |
535 | call [draw_pointer] |
537 | 536 | ||
Line 551... | Line 550... | ||
551 | jmp afterbuttonid |
550 | jmp afterbuttonid |
552 | buttonid dd 0x0 ;here a will backup the eax value |
551 | buttonid dd 0x0 ;here a will backup the eax value |
553 | afterbuttonid: |
552 | afterbuttonid: |
Line 554... | Line 553... | ||
554 | 553 | ||
555 | pusha |
- | |
556 | mov eax,[buttonid] |
554 | pusha |
557 | ; mouse x >= button x ? |
555 | ; mouse x >= button x ? |
558 | movzx ebx,word [eax+0] |
556 | movzx ebx,word [eax+0] |
559 | shl ebx,5 |
557 | shl ebx,5 |
560 | add ebx,window_data |
558 | add ebx,window_data |
Line 598... | Line 596... | ||
598 | mov [0xfb44],byte 0 ; mouse down -> do not draw |
596 | mov [0xfb44],byte 0 ; mouse down -> do not draw |
599 | popa |
597 | popa |
600 | pop ebx |
598 | pop ebx |
601 | popa |
599 | popa |
602 | ret |
600 | ret |
603 | ;..................................... end 2/2 : modified by vhanla ................................ |
- | |
Line -... | Line 601... | ||
- | 601 |