Animage - checking for "rolled up" window

git-svn-id: svn://kolibrios.org@2045 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2011-08-11 09:03:51 +00:00
parent 74263ea13b
commit ee162bfc26
2 changed files with 13 additions and 0 deletions

View File

@ -2,6 +2,13 @@
;-------------interraction MOUSE--------------
;---------------------------------------------
mouse:
or ecx,-1
mcall 9,procinfo
mov eax,[procinfo+70] ;staus of window
test eax,100b
jne still
call GetMouseCoordinats
;panel
mov edx,[Window_SizeX]

View File

@ -58,6 +58,11 @@ no_znak2:
;xor esi,esi ;0x805080d0
; xor edi,edi ;0x005080d0
mcall 0,,,0x53aabbcc,,name_of_program
mov eax,[procinfo+70] ;staus of window
test eax,100b
jne .end
;------------------------------------------------
mov eax,5
mov ebx,20
@ -162,6 +167,7 @@ no_znak2:
sub ebx,25+10
call draw_volume_rectangle ; down and right small area
;------------------------------------------------
.end:
mcall 12,2
ret
;-----------------------------------------------------------------------------