BOARD - In this program, the output region of the working of the text should ALWAYS be WHITE and the text should ALWAYS be BLACK. This program should be FOR PEOPLE, not for AESTHETES with a "good" taste.

git-svn-id: svn://kolibrios.org@2484 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2012-03-20 20:57:37 +00:00
parent 3e1a592489
commit 3b376d1073

View File

@ -200,7 +200,8 @@ draw_window:
mcall 12,1 ; 1, start of draw mcall 12,1 ; 1, start of draw
xor eax,eax ; function 0 : define and draw window xor eax,eax ; function 0 : define and draw window
mov ecx,MAXSTRINGS*10+45 ; [y start] *65536 + [y size] mov ecx,MAXSTRINGS*10+45 ; [y start] *65536 + [y size]
mov edx,[sc.work] ; color of work area RRGGBB,8->color gl ; mov edx,[sc.work] ; color of work area RRGGBB,8->color gl
mov edx,0xffffff
or edx,0x13000000 or edx,0x13000000
xor esi,esi xor esi,esi
mcall ,[xstart],,,,title mcall ,[xstart],,,,title
@ -215,9 +216,11 @@ draw_window:
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
draw_text: draw_text:
mov ebx,15*65536+30 ; draw info text with function 4 mov ebx,15*65536+30 ; draw info text with function 4
mov ecx,[sc.work_text] ; mov ecx,[sc.work_text]
xor ecx,ecx
or ecx,0x40000000 or ecx,0x40000000
mov edi,[sc.work] ; mov edi,[sc.work]
mov edi,0xffffff
mov edx,text1 mov edx,text1
cmp [vmode],0 cmp [vmode],0
je .kern je .kern