summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_monthcalendar.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-12-14 14:00:42 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-14 14:00:42 -0800
commit5e4388ef805b1666a1064e4dc73f4f1e792aa041 (patch)
treefe9c1d023b885a49e185a3cebbee493cf58a9766 /xfa/fwl/cfwl_monthcalendar.h
parent5bed98c044a470e696e3b719d33cb5dc14aa7c32 (diff)
downloadpdfium-5e4388ef805b1666a1064e4dc73f4f1e792aa041.tar.xz
Cleanup CFWL_MonthCalendar flags
Remove unused flags in CFWL_MonthCalendar. Review-Url: https://codereview.chromium.org/2570943002
Diffstat (limited to 'xfa/fwl/cfwl_monthcalendar.h')
-rw-r--r--xfa/fwl/cfwl_monthcalendar.h13
1 files changed, 1 insertions, 12 deletions
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);