From bc7d3be218a786819ddcacc4c076563793a6bdf0 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Sat, 4 Oct 2008 00:45:56 +0000 Subject: [PATCH] MGR: On Windows, adjust progress bar color, return to using wxAND svn path=/trunk/boinc/; revision=16125 --- checkin_notes | 5 ++--- clientgui/BOINCListCtrl.cpp | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/checkin_notes b/checkin_notes index 40f8aa85e3..8f4961f27b 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/clientgui/BOINCListCtrl.cpp b/clientgui/BOINCListCtrl.cpp index 13bea6a4c2..afb80e1917 100644 --- a/clientgui/BOINCListCtrl.cpp +++ b/clientgui/BOINCListCtrl.cpp @@ -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();