TASK PANEL - safe correction of the background color.

git-svn-id: svn://kolibrios.org@2634 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2012-04-19 19:11:56 +00:00
parent e45f443117
commit ea3b5f1721

View File

@ -11,8 +11,13 @@ draw_window:
mcall 48,3,system_colours,10*4
mov eax, [system_colours+4*6]
sub eax, 0x101010
mov [wcolor], eax
; sub eax, 0x101010
; mov [wcolor], eax
mov edx,[system_colours+4*6]
mov eax,COLOR_CHANGE_MAGNITUDE
call subtract_color_change_magnitude
mov [wcolor], edx
mcall 14 ; get screen max x & max y