From e70f778e4b9f7eb875475d1deba04a99b78e9250 Mon Sep 17 00:00:00 2001 From: Dan Werthimer Date: Sat, 2 Aug 2003 00:57:12 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=1962 --- client/ss_logic.C | 2 +- client/win/resource.rc | 4 ++-- client/win/wingui_sswindow.cpp | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/client/ss_logic.C b/client/ss_logic.C index 30b2e83861..4fd05a7dc3 100644 --- a/client/ss_logic.C +++ b/client/ss_logic.C @@ -77,10 +77,10 @@ void SS_LOGIC::poll() { if (atp) { atp->request_graphics_mode(MODE_HIDE_GRAPHICS); } + do_blank = true; } do_boinc_logo_ss = false; strcpy(ss_msg, ""); - do_blank = true; } else { atp = gstate.active_tasks.get_app_requested(MODE_FULLSCREEN); if (atp) { diff --git a/client/win/resource.rc b/client/win/resource.rc index 6ed1376aa6..68bb2cc8f0 100755 --- a/client/win/resource.rc +++ b/client/win/resource.rc @@ -194,7 +194,7 @@ IDR_MAINFRAME MENU DISCARDABLE BEGIN POPUP "&File" BEGIN - MENUITEM "Force &run", ID_FILE_RUN_REQUEST_ALWAYS + MENUITEM "&Run always", ID_FILE_RUN_REQUEST_ALWAYS MENUITEM "Run based on &preferences", ID_FILE_RUN_REQUEST_AUTO MENUITEM "&Suspend", ID_FILE_RUN_REQUEST_NEVER MENUITEM SEPARATOR @@ -222,7 +222,7 @@ BEGIN MENUITEM "&Show", ID_STATUSICON_SHOW MENUITEM "&Hide", ID_STATUSICON_HIDE MENUITEM SEPARATOR - MENUITEM "Force &run", ID_FILE_RUN_REQUEST_ALWAYS + MENUITEM "&Run always", ID_FILE_RUN_REQUEST_ALWAYS MENUITEM "Run based on &preferences", ID_FILE_RUN_REQUEST_AUTO MENUITEM "&Suspend", ID_FILE_RUN_REQUEST_NEVER MENUITEM SEPARATOR diff --git a/client/win/wingui_sswindow.cpp b/client/win/wingui_sswindow.cpp index 7f5187ae41..53146c8053 100755 --- a/client/win/wingui_sswindow.cpp +++ b/client/win/wingui_sswindow.cpp @@ -188,6 +188,9 @@ void CSSWindow::OnPaint() pdc->SetBkColor(RGB(0,0,0)); GetClientRect(&winRect); + if (gstate.ss_logic.do_blank) { + pdc->FillSolidRect(&winRect, RGB(0,0,0)); + } else // Draw the bouncing BOINC icon if we're not in blank screen mode if (gstate.ss_logic.do_boinc_logo_ss) { pdc->FillSolidRect(&oldTextRect, RGB(0,0,0));