| 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_BASEWIDGET_IFWL_DATETIMEPICKER_H_ | 7 #ifndef XFA_FWL_BASEWIDGET_IFWL_DATETIMEPICKER_H_ |
| 8 #define XFA_FWL_BASEWIDGET_IFWL_DATETIMEPICKER_H_ | 8 #define XFA_FWL_BASEWIDGET_IFWL_DATETIMEPICKER_H_ |
| 9 | 9 |
| 10 #include "xfa/fwl/core/ifwl_widget.h" | |
| 11 #include "xfa/fwl/core/ifwl_dataprovider.h" | |
| 12 #include "xfa/fwl/core/cfwl_event.h" | 10 #include "xfa/fwl/core/cfwl_event.h" |
| 13 #include "xfa/fwl/core/cfwl_widgetimpproperties.h" | 11 #include "xfa/fwl/core/cfwl_widgetimpproperties.h" |
| 12 #include "xfa/fwl/core/ifwl_dataprovider.h" |
| 13 #include "xfa/fwl/core/ifwl_widget.h" |
| 14 | 14 |
| 15 #define FWL_CLASS_DateTimePicker L"FWL_DATETIMEPICKER" | 15 #define FWL_CLASS_DateTimePicker L"FWL_DATETIMEPICKER" |
| 16 #define FWL_STYLEEXT_DTP_AllowEdit (1L << 0) | 16 #define FWL_STYLEEXT_DTP_AllowEdit (1L << 0) |
| 17 #define FWL_STYLEEXT_DTP_LongDateFormat (0L << 1) | 17 #define FWL_STYLEEXT_DTP_LongDateFormat (0L << 1) |
| 18 #define FWL_STYLEEXT_DTP_ShortDateFormat (1L << 1) | 18 #define FWL_STYLEEXT_DTP_ShortDateFormat (1L << 1) |
| 19 #define FWL_STYLEEXT_DTP_TimeFormat (2L << 1) | 19 #define FWL_STYLEEXT_DTP_TimeFormat (2L << 1) |
| 20 #define FWL_STYLEEXT_DTP_Spin (1L << 3) | 20 #define FWL_STYLEEXT_DTP_Spin (1L << 3) |
| 21 #define FWL_STYLEEXT_DTP_EditHNear (0L << 4) | 21 #define FWL_STYLEEXT_DTP_EditHNear (0L << 4) |
| 22 #define FWL_STYLEEXT_DTP_EditHCenter (1L << 4) | 22 #define FWL_STYLEEXT_DTP_EditHCenter (1L << 4) |
| 23 #define FWL_STYLEEXT_DTP_EditHFar (2L << 4) | 23 #define FWL_STYLEEXT_DTP_EditHFar (2L << 4) |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 FWL_Error GetBBox(CFX_RectF& rect); | 85 FWL_Error GetBBox(CFX_RectF& rect); |
| 86 FWL_Error SetEditLimit(int32_t nLimit); | 86 FWL_Error SetEditLimit(int32_t nLimit); |
| 87 FWL_Error ModifyEditStylesEx(uint32_t dwStylesExAdded, | 87 FWL_Error ModifyEditStylesEx(uint32_t dwStylesExAdded, |
| 88 uint32_t dwStylesExRemoved); | 88 uint32_t dwStylesExRemoved); |
| 89 | 89 |
| 90 protected: | 90 protected: |
| 91 IFWL_DateTimePicker(); | 91 IFWL_DateTimePicker(); |
| 92 }; | 92 }; |
| 93 | 93 |
| 94 #endif // XFA_FWL_BASEWIDGET_IFWL_DATETIMEPICKER_H_ | 94 #endif // XFA_FWL_BASEWIDGET_IFWL_DATETIMEPICKER_H_ |
| OLD | NEW |