MGR: On Windows, draw progress bars using wxAND_INVERT transfer mode

svn path=/trunk/boinc/; revision=16124
This commit is contained in:
Charlie Fenton 2008-10-03 23:59:59 +00:00
parent 5152c2a74b
commit f5ecc3eded
2 changed files with 11 additions and 3 deletions

View File

@ -8017,4 +8017,12 @@ David 3 Oct 2008
cpu_sched.cpp
log_flags.cpp,h
lib/
coproc.h
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.
clientgui/
BOINCListCtrl.cpp

View File

@ -279,8 +279,8 @@ void CBOINCListCtrl::DrawBarGraphs()
#ifdef __WXMAC__
wxColour progressColor = wxColour( 40, 170, 170, 60);
#else
wxColour progressColor = wxTheColourDatabase->Find(wxT("LIGHT BLUE"));
dc.SetLogicalFunction(wxAND);
wxColour progressColor = wxColour( 80, 40, 30);
dc.SetLogicalFunction(wxAND_INVERT);
#endif
numItems = GetItemCount();