MGR: use alternating gray and white background stripes in all lists; change gray color to (230, 230, 230)

svn path=/trunk/boinc/; revision=20865
This commit is contained in:
Charlie Fenton 2010-03-12 01:20:24 +00:00
parent 4a23a1beaa
commit db6fef98b1
4 changed files with 14 additions and 4 deletions

View File

@ -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

View File

@ -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
}

View File

@ -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

View File

@ -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);