From f5ecc3ededbe47007c39fd52e879986dea509a53 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Fri, 3 Oct 2008 23:59:59 +0000 Subject: [PATCH] MGR: On Windows, draw progress bars using wxAND_INVERT transfer mode svn path=/trunk/boinc/; revision=16124 --- checkin_notes | 10 +++++++++- clientgui/BOINCListCtrl.cpp | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/checkin_notes b/checkin_notes index c6a4fb0d85..40f8aa85e3 100644 --- a/checkin_notes +++ b/checkin_notes @@ -8017,4 +8017,12 @@ David 3 Oct 2008 cpu_sched.cpp log_flags.cpp,h lib/ - coproc.h \ No newline at end of file + 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 diff --git a/clientgui/BOINCListCtrl.cpp b/clientgui/BOINCListCtrl.cpp index 991cb400bf..13bea6a4c2 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 = wxTheColourDatabase->Find(wxT("LIGHT BLUE")); - dc.SetLogicalFunction(wxAND); + wxColour progressColor = wxColour( 80, 40, 30); + dc.SetLogicalFunction(wxAND_INVERT); #endif numItems = GetItemCount();