diff --git a/checkin_notes b/checkin_notes index 5046294249..e53fb08112 100644 --- a/checkin_notes +++ b/checkin_notes @@ -1867,3 +1867,14 @@ David 11 Mar 2010 ViewNotices.cpp lib/ notice.cpp + +Charlie 12 Mar 2010 + - MGR: Allow separate compile-time choice of rules and / or alternating gray + and white background stripes in lists by defining EVENT_LOG_RULES and + EVENT_LOG_STRIPES (in DlgEventLog.h) and BASEVIEW_RULES and BASEVIEW_STRIPES + (in BOINCBaseView.h); set each to 1 to enable or 0 to disable; currently all + are set to 1 for both stripes and rules in both types of lists. + + clientgui/ + BOINCBaseView.h + DlgEventLog.h diff --git a/clientgui/BOINCBaseView.h b/clientgui/BOINCBaseView.h index 76744f7526..f1263fea33 100644 --- a/clientgui/BOINCBaseView.h +++ b/clientgui/BOINCBaseView.h @@ -23,15 +23,16 @@ #endif #define BASEVIEW_STRIPES 1 +#define BASEVIEW_RULES 1 #define DEFAULT_TASK_FLAGS wxTAB_TRAVERSAL | wxADJUST_MINSIZE | wxFULL_REPAINT_ON_RESIZE -#if BASEVIEW_STRIPES -#define DEFAULT_LIST_SINGLE_SEL_FLAGS wxLC_REPORT | wxLC_VIRTUAL | wxLC_SINGLE_SEL -#define DEFAULT_LIST_MULTI_SEL_FLAGS wxLC_REPORT | wxLC_VIRTUAL -#else +#if BASEVIEW_RULES #define DEFAULT_LIST_SINGLE_SEL_FLAGS wxLC_REPORT | wxLC_VIRTUAL | wxLC_HRULES | wxLC_SINGLE_SEL #define DEFAULT_LIST_MULTI_SEL_FLAGS wxLC_REPORT | wxLC_VIRTUAL | wxLC_HRULES +#else +#define DEFAULT_LIST_SINGLE_SEL_FLAGS wxLC_REPORT | wxLC_VIRTUAL | wxLC_SINGLE_SEL +#define DEFAULT_LIST_MULTI_SEL_FLAGS wxLC_REPORT | wxLC_VIRTUAL #endif diff --git a/clientgui/DlgEventLog.h b/clientgui/DlgEventLog.h index fe3a85fa94..e2e25d59a1 100644 --- a/clientgui/DlgEventLog.h +++ b/clientgui/DlgEventLog.h @@ -24,11 +24,12 @@ #endif #define EVENT_LOG_STRIPES 1 +#define EVENT_LOG_RULES 1 -#if EVENT_LOG_STRIPES -#define EVENT_LOG_DEFAULT_LIST_MULTI_SEL_FLAGS wxLC_REPORT | wxLC_VIRTUAL -#else +#if EVENT_LOG_RULES #define EVENT_LOG_DEFAULT_LIST_MULTI_SEL_FLAGS wxLC_REPORT | wxLC_VIRTUAL | wxLC_HRULES +#else +#define EVENT_LOG_DEFAULT_LIST_MULTI_SEL_FLAGS wxLC_REPORT | wxLC_VIRTUAL #endif