added workarea setup code + PANEL_HEIGHT constant

git-svn-id: svn://kolibrios.org@42 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Mihail Semenyako (mike.dld) 2006-02-01 07:17:11 +00:00
parent 4442932712
commit 3985e8ead6

View File

@ -32,6 +32,7 @@ icons dd 1 ; 0 defaults ; 1 activate
dat db 'PANEL DAT'
PANEL_HEIGHT = 18
;mainalive db 1
@ -238,6 +239,10 @@ START:
cmp [esi],byte 'x'
jne new_number
mcall 48,5
mov ecx,eax
lea edx,[ebx-PANEL_HEIGHT-1]
mcall 48,6
call set_variables
@ -1016,7 +1021,7 @@ draw_window:
add ecx,0*65536+38
cmp [graph_text],1
jne no_text_1
mov cx,18
mov cx,PANEL_HEIGHT
add ecx,20*65536
no_text_1:
mov eax, 0 ; DEFINE AND DRAW WINDOW