KPACK - checking for "rolled up" window

git-svn-id: svn://kolibrios.org@2058 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2011-08-18 14:19:27 +00:00
parent a1a467c8ef
commit 8e1566eec3

View File

@ -1,6 +1,11 @@
; kpack = Kolibri Packer ; kpack = Kolibri Packer
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
; version: 0.20 ; version: 0.20
; last update: 08/18/2011
; changed by: Marat Zakiyanov aka Mario79, aka Mario
; changes: Checking for "rolled up" window
;---------------------------------------------------------------------
; version: 0.20
; last update: 07/12/2010 ; last update: 07/12/2010
; changed by: Marat Zakiyanov aka Mario79, aka Mario ; changed by: Marat Zakiyanov aka Mario79, aka Mario
; changes: Added code for packing the kernel.mnt ; changes: Added code for packing the kernel.mnt
@ -428,6 +433,10 @@ draw_window:
xor edi,edi xor edi,edi
mcall ,<100,436>,,,,caption_str mcall ,<100,436>,,,,caption_str
mcall 9,procinfo,-1 mcall 9,procinfo,-1
mov eax,[procinfo+70] ;status of window
test eax,100b
jne .end
;-------------------------------------- ;--------------------------------------
; draw lines and frame ; draw lines and frame
call draw_lines call draw_lines
@ -444,6 +453,7 @@ draw_window:
call draw_editbox call draw_editbox
; end redraw ; end redraw
.end:
mcall 12,2 mcall 12,2
ret ret
;********************************************************************* ;*********************************************************************