Subversion Repositories Kolibri OS

Rev

Rev 684 | Rev 965 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 684 Rev 803
Line 3... Line 3...
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
3
;; Copyright (C) KolibriOS team 2004-2007. All rights reserved. ;;
4
;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa      ;;
4
;; Copyright (C) MenuetOS 2000-2004 Ville Mikael Turjanmaa      ;;
5
;; Distributed under terms of the GNU General Public License    ;;
5
;; Distributed under terms of the GNU General Public License    ;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Line 7... Line 7...
7
 
7
 
Line 8... Line 8...
8
$Revision: 684 $
8
$Revision: 803 $
9
 
9
 
10
 
10
 
Line 561... Line 561...
561
    mov   [MOUSE_DOWN],byte 1  ; no mouse down checks
561
    mov   [MOUSE_DOWN],byte 1  ; no mouse down checks
562
    call find_pressed_button_frames
562
    call find_pressed_button_frames
563
    call negativebutton
563
    call negativebutton
Line 564... Line 564...
564
 
564
 
-
 
565
    pushad
-
 
566
; // Alver 22.06.2008 // {
-
 
567
    push  eax
-
 
568
    mov  al, byte [BTN_DOWN]
-
 
569
    mov  byte [btn_down_determ], al
-
 
570
    pop  eax
-
 
571
; } \\ Alver \\
565
    pushad
572
 
Line 566... Line 573...
566
  cbwaitmouseup:
573
  cbwaitmouseup:
Line 567... Line 574...
567
 
574
 
Line 584... Line 591...
584
    ; check coordinates
591
    ; check coordinates
585
iglobal
592
iglobal
586
    mx dw 0x0 ; keeps the x mouse's position when it was clicked
593
    mx dw 0x0 ; keeps the x mouse's position when it was clicked
587
    my dw 0x0 ; keeps the y mouse's position when it was clicked
594
    my dw 0x0 ; keeps the y mouse's position when it was clicked
588
    bPressedMouseXY_B db 0x0
595
    bPressedMouseXY_B db 0x0
-
 
596
    btn_down_determ     db 0x0        ; << // Alver 22.06.2008// <<
589
endg
597
endg
Line 590... Line 598...
590
 
598
 
591
   pusha
599
   pusha
592
  ; mouse x >= button x ?
600
  ; mouse x >= button x ?