MGR: On Windows, adjust progress bar color, return to using wxAND

svn path=/trunk/boinc/; revision=16125
This commit is contained in:
Charlie Fenton 2008-10-04 00:45:56 +00:00
parent f5ecc3eded
commit bc7d3be218
2 changed files with 4 additions and 5 deletions

View File

@ -8020,9 +8020,8 @@ David 3 Oct 2008
coproc.h
Charlie 3 Oct 2008
- MGR: On Windows, draw progress bars using wxAND_INVERT transfer
mode instead of wx_AND for slightly better appearance when
selected.
- MGR: On Windows, adjust progress bar color for slightly
better appearance when selected.
clientgui/
BOINCListCtrl.cpp

View File

@ -279,8 +279,8 @@ void CBOINCListCtrl::DrawBarGraphs()
#ifdef __WXMAC__
wxColour progressColor = wxColour( 40, 170, 170, 60);
#else
wxColour progressColor = wxColour( 80, 40, 30);
dc.SetLogicalFunction(wxAND_INVERT);
wxColour progressColor = wxColour( 175, 215, 225);
dc.SetLogicalFunction(wxAND);
#endif
numItems = GetItemCount();