From 1f3b9dbf5887ba871528e2cb4de886d8acd4b006 Mon Sep 17 00:00:00 2001 From: "Evgeny Grechnikov (Diamond)" Date: Sun, 21 Mar 2010 21:47:17 +0000 Subject: [PATCH] panel: corrected blinking in time indicator git-svn-id: svn://kolibrios.org@1440 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/system/panel/trunk/@PANEL.ASM | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/programs/system/panel/trunk/@PANEL.ASM b/programs/system/panel/trunk/@PANEL.ASM index a8ad2182a..472b1c513 100644 --- a/programs/system/panel/trunk/@PANEL.ASM +++ b/programs/system/panel/trunk/@PANEL.ASM @@ -18,6 +18,8 @@ include 'lang.inc' include '..\..\..\macros.inc' include 'moi.inc' ;раскладки клавиатуры +time_bgr_color = 0x66cc + width dd 305 buttons dd 1 ; 0 no frames ; 1 frames soften_up dd 1 ; 0 no ; 1 yes @@ -1318,7 +1320,7 @@ label_2: add ebx,1 shl 16 sub ebx,2 mov ecx,4 shl 16+12 - mov edx,0x66cc + mov edx,time_bgr_color int 0x40 popa @@ -1867,9 +1869,9 @@ draw_info: ; draw cpu usage, time, date shr ecx,16 and ecx,1 mov edx,[bte] - sub edx,[wcolor] + sub edx,time_bgr_color;[wcolor] imul ecx,edx - add ecx,[wcolor] + add ecx,time_bgr_color;[wcolor] mov edx,sec mov eax,4 mov esi,1