forked from KolibriOS/kolibrios
panel: corrected blinking in time indicator
git-svn-id: svn://kolibrios.org@1440 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
273697774f
commit
1f3b9dbf58
@ -18,6 +18,8 @@ include 'lang.inc'
|
|||||||
include '..\..\..\macros.inc'
|
include '..\..\..\macros.inc'
|
||||||
include 'moi.inc' ;à ᪫ ¤ª¨ ª« ¢¨ âãàë
|
include 'moi.inc' ;à ᪫ ¤ª¨ ª« ¢¨ âãàë
|
||||||
|
|
||||||
|
time_bgr_color = 0x66cc
|
||||||
|
|
||||||
width dd 305
|
width dd 305
|
||||||
buttons dd 1 ; 0 no frames ; 1 frames
|
buttons dd 1 ; 0 no frames ; 1 frames
|
||||||
soften_up dd 1 ; 0 no ; 1 yes
|
soften_up dd 1 ; 0 no ; 1 yes
|
||||||
@ -1318,7 +1320,7 @@ label_2:
|
|||||||
add ebx,1 shl 16
|
add ebx,1 shl 16
|
||||||
sub ebx,2
|
sub ebx,2
|
||||||
mov ecx,4 shl 16+12
|
mov ecx,4 shl 16+12
|
||||||
mov edx,0x66cc
|
mov edx,time_bgr_color
|
||||||
int 0x40
|
int 0x40
|
||||||
|
|
||||||
popa
|
popa
|
||||||
@ -1867,9 +1869,9 @@ draw_info: ; draw cpu usage, time, date
|
|||||||
shr ecx,16
|
shr ecx,16
|
||||||
and ecx,1
|
and ecx,1
|
||||||
mov edx,[bte]
|
mov edx,[bte]
|
||||||
sub edx,[wcolor]
|
sub edx,time_bgr_color;[wcolor]
|
||||||
imul ecx,edx
|
imul ecx,edx
|
||||||
add ecx,[wcolor]
|
add ecx,time_bgr_color;[wcolor]
|
||||||
mov edx,sec
|
mov edx,sec
|
||||||
mov eax,4
|
mov eax,4
|
||||||
mov esi,1
|
mov esi,1
|
||||||
|
Loading…
Reference in New Issue
Block a user