Board: increase height, fix button text color

git-svn-id: svn://kolibrios.org@5546 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2015-03-24 13:56:14 +00:00
parent df3b374281
commit 99e21e866c

View File

@ -20,7 +20,7 @@ P_LEN equ 11
include '../../../macros.inc' include '../../../macros.inc'
include '../../../debug.inc' include '../../../debug.inc'
purge newline purge newline
MAXSTRINGS = 16 MAXSTRINGS = 45
TMP = 80*(MAXSTRINGS+1) TMP = 80*(MAXSTRINGS+1)
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
START: START:
@ -218,6 +218,9 @@ draw_window:
mcall 8,,<4,13>,3,[sc.btn_face] mcall 8,,<4,13>,3,[sc.btn_face]
mov edx, [vmode] mov edx, [vmode]
lea edx, [edx*4+duk] lea edx, [edx*4+duk]
mov ecx, 0x80
shr ecx, 24
add ecx, [sc.btn_text]
mcall 4,<300,7>,,,4 mcall 4,<300,7>,,,4
call draw_text call draw_text
mcall 12, 2 ; 2, end of draw mcall 12, 2 ; 2, end of draw