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 XFA_FWL_CORE_IFWL_DATETIMEPICKER_H_ | 7 #ifndef XFA_FWL_CORE_IFWL_DATETIMEPICKER_H_ |
8 #define XFA_FWL_CORE_IFWL_DATETIMEPICKER_H_ | 8 #define XFA_FWL_CORE_IFWL_DATETIMEPICKER_H_ |
9 | 9 |
10 #include "xfa/fwl/core/cfwl_event.h" | 10 #include "xfa/fwl/core/cfwl_event.h" |
11 #include "xfa/fwl/core/cfwl_widgetproperties.h" | 11 #include "xfa/fwl/core/cfwl_widgetproperties.h" |
12 #include "xfa/fwl/core/ifwl_dataprovider.h" | 12 #include "xfa/fwl/core/ifwl_dataprovider.h" |
13 #include "xfa/fwl/core/ifwl_datetimeedit.h" | 13 #include "xfa/fwl/core/ifwl_datetimeedit.h" |
14 #include "xfa/fwl/core/ifwl_monthcalendar.h" | 14 #include "xfa/fwl/core/ifwl_monthcalendar.h" |
| 15 #include "xfa/fwl/core/ifwl_monthcalendardp.h" |
15 #include "xfa/fwl/core/ifwl_widget.h" | 16 #include "xfa/fwl/core/ifwl_widget.h" |
16 | 17 |
17 #define FWL_STYLEEXT_DTP_AllowEdit (1L << 0) | 18 #define FWL_STYLEEXT_DTP_AllowEdit (1L << 0) |
18 #define FWL_STYLEEXT_DTP_LongDateFormat (0L << 1) | 19 #define FWL_STYLEEXT_DTP_LongDateFormat (0L << 1) |
19 #define FWL_STYLEEXT_DTP_ShortDateFormat (1L << 1) | 20 #define FWL_STYLEEXT_DTP_ShortDateFormat (1L << 1) |
20 #define FWL_STYLEEXT_DTP_TimeFormat (2L << 1) | 21 #define FWL_STYLEEXT_DTP_TimeFormat (2L << 1) |
21 #define FWL_STYLEEXT_DTP_Spin (1L << 3) | 22 #define FWL_STYLEEXT_DTP_Spin (1L << 3) |
22 #define FWL_STYLEEXT_DTP_EditHNear (0L << 4) | 23 #define FWL_STYLEEXT_DTP_EditHNear (0L << 4) |
23 #define FWL_STYLEEXT_DTP_EditHCenter (1L << 4) | 24 #define FWL_STYLEEXT_DTP_EditHCenter (1L << 4) |
24 #define FWL_STYLEEXT_DTP_EditHFar (2L << 4) | 25 #define FWL_STYLEEXT_DTP_EditHFar (2L << 4) |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 int32_t m_iCurMonth; | 130 int32_t m_iCurMonth; |
130 int32_t m_iCurDay; | 131 int32_t m_iCurDay; |
131 bool m_bLBtnDown; | 132 bool m_bLBtnDown; |
132 std::unique_ptr<IFWL_DateTimeEdit> m_pEdit; | 133 std::unique_ptr<IFWL_DateTimeEdit> m_pEdit; |
133 std::unique_ptr<IFWL_MonthCalendar> m_pMonthCal; | 134 std::unique_ptr<IFWL_MonthCalendar> m_pMonthCal; |
134 std::unique_ptr<IFWL_FormProxy> m_pForm; | 135 std::unique_ptr<IFWL_FormProxy> m_pForm; |
135 FX_FLOAT m_fBtn; | 136 FX_FLOAT m_fBtn; |
136 }; | 137 }; |
137 | 138 |
138 #endif // XFA_FWL_CORE_IFWL_DATETIMEPICKER_H_ | 139 #endif // XFA_FWL_CORE_IFWL_DATETIMEPICKER_H_ |
OLD | NEW |