From e61908641039beb9da653ccb7c008651a4b666d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sat, 21 Sep 2002 13:00:08 +0000 Subject: [PATCH] Fixed timing + color git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1100 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/bin/shutdown.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/apps/bin/shutdown.cpp b/src/apps/bin/shutdown.cpp index ceda9639d4..f0902e7118 100644 --- a/src/apps/bin/shutdown.cpp +++ b/src/apps/bin/shutdown.cpp @@ -42,8 +42,9 @@ #include #include -#define PULSE_RATE 50000 -#define PULSE_MODULO 20 +// timer should be handled better (with system_time()) +#define PULSE_RATE 100000 +#define PULSE_MODULO 10 //from bdb-ing /bin/shutdown: #define B_SYSTEM_SHUTDOWN 0x12d @@ -271,7 +272,8 @@ SView::Draw(BRect updateRect) BRect bounds = Bounds(); // left margin background - SetHighColor(tint_color(ViewColor(), B_HIGHLIGHT_BACKGROUND_TINT)); +// SetHighColor(tint_color(ViewColor(), B_HIGHLIGHT_BACKGROUND_TINT)); + SetHighColor(0xB8, 0xB8, 0xB8); // same color as the registrar shutdown dialog FillRect(BRect(0, 0, B_LARGE_ICON, bounds.bottom)); if(fIcon != NULL)