From db6fef98b1e37c7a6c906b70f869023721cd0569 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Fri, 12 Mar 2010 01:20:24 +0000 Subject: [PATCH] MGR: use alternating gray and white background stripes in all lists; change gray color to (230, 230, 230) svn path=/trunk/boinc/; revision=20865 --- checkin_notes | 10 ++++++++++ clientgui/BOINCBaseView.cpp | 2 +- clientgui/BOINCBaseView.h | 2 +- clientgui/DlgEventLog.cpp | 4 ++-- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/checkin_notes b/checkin_notes index 844ce38685..59f60dbcf1 100644 --- a/checkin_notes +++ b/checkin_notes @@ -1845,3 +1845,13 @@ Charlie 11 Mar 2010 clientgui/ MainDocument.cpp + +Charlie 11 Mar 2010 + - MGR: use alternating gray and white background stripes in all lists; change + gray color to (230, 230, 230). + + clientgui/ + BOINCBaseView.cpp,.h + BOINCListCtrl.cpp, .h + DlgEventLog.cpp, .h + DlgEventLogListCtrl.h diff --git a/clientgui/BOINCBaseView.cpp b/clientgui/BOINCBaseView.cpp index 134da81c3c..e0a6614657 100644 --- a/clientgui/BOINCBaseView.cpp +++ b/clientgui/BOINCBaseView.cpp @@ -127,7 +127,7 @@ CBOINCBaseView::CBOINCBaseView( #if BASEVIEW_STRIPES m_pWhiteBackgroundAttr = new wxListItemAttr(*wxBLACK, *wxWHITE, wxNullFont); - m_pGrayBackgroundAttr = new wxListItemAttr(*wxBLACK, wxColour(240, 240, 240), wxNullFont); + m_pGrayBackgroundAttr = new wxListItemAttr(*wxBLACK, wxColour(230, 230, 230), wxNullFont); #endif } diff --git a/clientgui/BOINCBaseView.h b/clientgui/BOINCBaseView.h index 9c878b4cef..76744f7526 100644 --- a/clientgui/BOINCBaseView.h +++ b/clientgui/BOINCBaseView.h @@ -22,7 +22,7 @@ #pragma interface "BOINCBaseView.cpp" #endif -#define BASEVIEW_STRIPES 0 +#define BASEVIEW_STRIPES 1 #define DEFAULT_TASK_FLAGS wxTAB_TRAVERSAL | wxADJUST_MINSIZE | wxFULL_REPAINT_ON_RESIZE diff --git a/clientgui/DlgEventLog.cpp b/clientgui/DlgEventLog.cpp index e2cb41a5e6..5f1d1cb297 100644 --- a/clientgui/DlgEventLog.cpp +++ b/clientgui/DlgEventLog.cpp @@ -177,8 +177,8 @@ bool CDlgEventLog::Create( wxWindow* WXUNUSED(parent), wxWindowID id, const wxSt wxNullFont ); #if EVENT_LOG_STRIPES - m_pMessageInfoGrayAttr = new wxListItemAttr(*wxBLACK, wxColour(240, 240, 240), wxNullFont); - m_pMessageErrorGrayAttr = new wxListItemAttr(*wxRED, wxColour(240, 240, 240), wxNullFont); + m_pMessageInfoGrayAttr = new wxListItemAttr(*wxBLACK, wxColour(230, 230, 230), wxNullFont); + m_pMessageErrorGrayAttr = new wxListItemAttr(*wxRED, wxColour(230, 230, 230), wxNullFont); m_pMessageErrorGrayAttr = new wxListItemAttr(*wxRED, wxColour(0, 0, 0, 15), wxNullFont); #else m_pMessageInfoGrayAttr = new wxListItemAttr(*m_pMessageInfoAttr);