forked from KolibriOS/kolibrios
Animage - checking for "rolled up" window
git-svn-id: svn://kolibrios.org@2045 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
74263ea13b
commit
ee162bfc26
@ -2,6 +2,13 @@
|
|||||||
;-------------interraction MOUSE--------------
|
;-------------interraction MOUSE--------------
|
||||||
;---------------------------------------------
|
;---------------------------------------------
|
||||||
mouse:
|
mouse:
|
||||||
|
or ecx,-1
|
||||||
|
mcall 9,procinfo
|
||||||
|
|
||||||
|
mov eax,[procinfo+70] ;staus of window
|
||||||
|
test eax,100b
|
||||||
|
jne still
|
||||||
|
|
||||||
call GetMouseCoordinats
|
call GetMouseCoordinats
|
||||||
;panel
|
;panel
|
||||||
mov edx,[Window_SizeX]
|
mov edx,[Window_SizeX]
|
||||||
|
@ -58,6 +58,11 @@ no_znak2:
|
|||||||
;xor esi,esi ;0x805080d0
|
;xor esi,esi ;0x805080d0
|
||||||
; xor edi,edi ;0x005080d0
|
; xor edi,edi ;0x005080d0
|
||||||
mcall 0,,,0x53aabbcc,,name_of_program
|
mcall 0,,,0x53aabbcc,,name_of_program
|
||||||
|
|
||||||
|
mov eax,[procinfo+70] ;staus of window
|
||||||
|
test eax,100b
|
||||||
|
jne .end
|
||||||
|
|
||||||
;------------------------------------------------
|
;------------------------------------------------
|
||||||
mov eax,5
|
mov eax,5
|
||||||
mov ebx,20
|
mov ebx,20
|
||||||
@ -162,6 +167,7 @@ no_znak2:
|
|||||||
sub ebx,25+10
|
sub ebx,25+10
|
||||||
call draw_volume_rectangle ; down and right small area
|
call draw_volume_rectangle ; down and right small area
|
||||||
;------------------------------------------------
|
;------------------------------------------------
|
||||||
|
.end:
|
||||||
mcall 12,2
|
mcall 12,2
|
||||||
ret
|
ret
|
||||||
;-----------------------------------------------------------------------------
|
;-----------------------------------------------------------------------------
|
Loading…
Reference in New Issue
Block a user