From 5e4388ef805b1666a1064e4dc73f4f1e792aa041 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Wed, 14 Dec 2016 14:00:42 -0800 Subject: Cleanup CFWL_MonthCalendar flags Remove unused flags in CFWL_MonthCalendar. Review-Url: https://codereview.chromium.org/2570943002 --- xfa/fwl/cfwl_monthcalendar.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'xfa/fwl/cfwl_monthcalendar.h') diff --git a/xfa/fwl/cfwl_monthcalendar.h b/xfa/fwl/cfwl_monthcalendar.h index 0d5ce648b9..b85dd29030 100644 --- a/xfa/fwl/cfwl_monthcalendar.h +++ b/xfa/fwl/cfwl_monthcalendar.h @@ -14,14 +14,9 @@ #include "xfa/fwl/cfwl_widget.h" #include "xfa/fwl/cfwl_widgetproperties.h" -#define FWL_STYLEEXT_MCD_MultiSelect (1L << 0) -#define FWL_STYLEEXT_MCD_NoToday (1L << 1) -#define FWL_STYLEEXT_MCD_NoTodayCircle (1L << 2) -#define FWL_STYLEEXT_MCD_WeekNumbers (1L << 3) -#define FWL_ITEMSTATE_MCD_Nomal (0L << 0) +#define FWL_ITEMSTATE_MCD_Nomal 0 #define FWL_ITEMSTATE_MCD_Flag (1L << 0) #define FWL_ITEMSTATE_MCD_Selected (1L << 1) -#define FWL_ITEMSTATE_MCD_Focused (1L << 2) class CFWL_MessageMouse; class CFWL_Widget; @@ -118,12 +113,6 @@ class CFWL_MonthCalendar : public CFWL_Widget { void DrawWeek(CFX_Graphics* pGraphics, IFWL_ThemeProvider* pTheme, const CFX_Matrix* pMatrix); - void DrawWeekNumber(CFX_Graphics* pGraphics, - IFWL_ThemeProvider* pTheme, - const CFX_Matrix* pMatrix); - void DrawWeekNumberSep(CFX_Graphics* pGraphics, - IFWL_ThemeProvider* pTheme, - const CFX_Matrix* pMatrix); void DrawToday(CFX_Graphics* pGraphics, IFWL_ThemeProvider* pTheme, const CFX_Matrix* pMatrix); -- cgit v1.2.3