| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #ifndef _FWL_MONTHCALENDAR_H | 7 #ifndef XFA_INCLUDE_FWL_BASEWIDGET_FWL_MONTHCALENDAR_H_ |
| 8 #define _FWL_MONTHCALENDAR_H | 8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_MONTHCALENDAR_H_ |
| 9 |
| 9 class IFWL_MonthCalendarDP; | 10 class IFWL_MonthCalendarDP; |
| 10 class IFWL_MonthCalendar; | 11 class IFWL_MonthCalendar; |
| 11 #define FWL_CLASS_MonthCalendar L"FWL_MONTHCALENDAR" | 12 #define FWL_CLASS_MonthCalendar L"FWL_MONTHCALENDAR" |
| 12 #define FWL_CLASSHASH_MonthCalendar 2733931374 | 13 #define FWL_CLASSHASH_MonthCalendar 2733931374 |
| 13 #define FWL_STYLEEXT_MCD_MultiSelect (1L << 0) | 14 #define FWL_STYLEEXT_MCD_MultiSelect (1L << 0) |
| 14 #define FWL_STYLEEXT_MCD_NoToday (1L << 1) | 15 #define FWL_STYLEEXT_MCD_NoToday (1L << 1) |
| 15 #define FWL_STYLEEXT_MCD_NoTodayCircle (1L << 2) | 16 #define FWL_STYLEEXT_MCD_NoTodayCircle (1L << 2) |
| 16 #define FWL_STYLEEXT_MCD_WeekNumbers (1L << 3) | 17 #define FWL_STYLEEXT_MCD_WeekNumbers (1L << 3) |
| 17 #define FWL_WGTCAPACITY_MC_HEADER_WIDTH 12 | 18 #define FWL_WGTCAPACITY_MC_HEADER_WIDTH 12 |
| 18 #define FWL_WGTCAPACITY_MC_HEADER_Height 13 | 19 #define FWL_WGTCAPACITY_MC_HEADER_Height 13 |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 int32_t CountSelect(); | 121 int32_t CountSelect(); |
| 121 FX_BOOL GetSelect(int32_t& iYear, | 122 FX_BOOL GetSelect(int32_t& iYear, |
| 122 int32_t& iMonth, | 123 int32_t& iMonth, |
| 123 int32_t& iDay, | 124 int32_t& iDay, |
| 124 int32_t nIndex = 0); | 125 int32_t nIndex = 0); |
| 125 FX_BOOL SetSelect(int32_t iYear, int32_t iMonth, int32_t iDay); | 126 FX_BOOL SetSelect(int32_t iYear, int32_t iMonth, int32_t iDay); |
| 126 | 127 |
| 127 protected: | 128 protected: |
| 128 IFWL_MonthCalendar(); | 129 IFWL_MonthCalendar(); |
| 129 }; | 130 }; |
| 130 #endif | 131 |
| 132 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_MONTHCALENDAR_H_ |
| OLD | NEW |