| 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" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #define FWL_STYLEEXT_DTP_EditVFar (2L << 6) | 27 #define FWL_STYLEEXT_DTP_EditVFar (2L << 6) |
| 28 #define FWL_STYLEEXT_DTP_EditJustified (1L << 8) | 28 #define FWL_STYLEEXT_DTP_EditJustified (1L << 8) |
| 29 #define FWL_STYLEEXT_DTP_EditDistributed (2L << 8) | 29 #define FWL_STYLEEXT_DTP_EditDistributed (2L << 8) |
| 30 #define FWL_STYLEEXT_DTP_EditHAlignMask (3L << 4) | 30 #define FWL_STYLEEXT_DTP_EditHAlignMask (3L << 4) |
| 31 #define FWL_STYLEEXT_DTP_EditVAlignMask (3L << 6) | 31 #define FWL_STYLEEXT_DTP_EditVAlignMask (3L << 6) |
| 32 #define FWL_STYLEEXT_DTP_EditHAlignModeMask (3L << 8) | 32 #define FWL_STYLEEXT_DTP_EditHAlignModeMask (3L << 8) |
| 33 | 33 |
| 34 class IFWL_DateTimeEdit; | 34 class IFWL_DateTimeEdit; |
| 35 class IFWL_FormProxy; | 35 class IFWL_FormProxy; |
| 36 | 36 |
| 37 FWL_EVENT_DEF(CFWL_Event_DtpDropDown, CFWL_EventType::DropDown) | |
| 38 | |
| 39 FWL_EVENT_DEF(CFWL_Event_DtpCloseUp, CFWL_EventType::CloseUp) | |
| 40 | |
| 41 FWL_EVENT_DEF(CFWL_Event_DtpEditChanged, | 37 FWL_EVENT_DEF(CFWL_Event_DtpEditChanged, |
| 42 CFWL_EventType::EditChanged, | 38 CFWL_EventType::EditChanged, |
| 43 CFX_WideString m_wsText;) | 39 CFX_WideString m_wsText;) |
| 44 | 40 |
| 45 FWL_EVENT_DEF(CFWL_Event_DtpSelectChanged, | 41 FWL_EVENT_DEF(CFWL_Event_DtpSelectChanged, |
| 46 CFWL_EventType::SelectChanged, | 42 CFWL_EventType::SelectChanged, |
| 47 int32_t iYear; | 43 int32_t iYear; |
| 48 int32_t iMonth; | 44 int32_t iMonth; |
| 49 int32_t iDay;) | 45 int32_t iDay;) |
| 50 | 46 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 int32_t m_iCurMonth; | 139 int32_t m_iCurMonth; |
| 144 int32_t m_iCurDay; | 140 int32_t m_iCurDay; |
| 145 bool m_bLBtnDown; | 141 bool m_bLBtnDown; |
| 146 std::unique_ptr<IFWL_DateTimeEdit> m_pEdit; | 142 std::unique_ptr<IFWL_DateTimeEdit> m_pEdit; |
| 147 std::unique_ptr<IFWL_MonthCalendar> m_pMonthCal; | 143 std::unique_ptr<IFWL_MonthCalendar> m_pMonthCal; |
| 148 std::unique_ptr<IFWL_FormProxy> m_pForm; | 144 std::unique_ptr<IFWL_FormProxy> m_pForm; |
| 149 FX_FLOAT m_fBtn; | 145 FX_FLOAT m_fBtn; |
| 150 }; | 146 }; |
| 151 | 147 |
| 152 #endif // XFA_FWL_CORE_IFWL_DATETIMEPICKER_H_ | 148 #endif // XFA_FWL_CORE_IFWL_DATETIMEPICKER_H_ |
| OLD | NEW |