forked from KolibriOS/kolibrios
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:
parent
e45f443117
commit
ea3b5f1721
@ -11,8 +11,13 @@ draw_window:
|
|||||||
mcall 48,3,system_colours,10*4
|
mcall 48,3,system_colours,10*4
|
||||||
|
|
||||||
mov eax, [system_colours+4*6]
|
mov eax, [system_colours+4*6]
|
||||||
sub eax, 0x101010
|
; sub eax, 0x101010
|
||||||
mov [wcolor], eax
|
; 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
|
mcall 14 ; get screen max x & max y
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user