mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=1962
This commit is contained in:
parent
aa674afb65
commit
e70f778e4b
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue