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_DATETIMEPICKER_H | 7 #ifndef XFA_INCLUDE_FWL_BASEWIDGET_FWL_DATETIMEPICKER_H_ |
8 #define _FWL_DATETIMEPICKER_H | 8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_DATETIMEPICKER_H_ |
| 9 |
9 class CFWL_WidgetImpProperties; | 10 class CFWL_WidgetImpProperties; |
10 class IFWL_Widget; | 11 class IFWL_Widget; |
11 class IFWL_DateTimePickerDP; | 12 class IFWL_DateTimePickerDP; |
12 class IFWL_DateTimePicker; | 13 class IFWL_DateTimePicker; |
13 #define FWL_CLASS_DateTimePicker L"FWL_DATETIMEPICKER" | 14 #define FWL_CLASS_DateTimePicker L"FWL_DATETIMEPICKER" |
14 #define FWL_CLASSHASH_DateTimePicker 3851176257 | 15 #define FWL_CLASSHASH_DateTimePicker 3851176257 |
15 #define FWL_STYLEEXT_DTP_AllowEdit (1L << 0) | 16 #define FWL_STYLEEXT_DTP_AllowEdit (1L << 0) |
16 #define FWL_STYLEEXT_DTP_LongDateFormat (0L << 1) | 17 #define FWL_STYLEEXT_DTP_LongDateFormat (0L << 1) |
17 #define FWL_STYLEEXT_DTP_ShortDateFormat (1L << 1) | 18 #define FWL_STYLEEXT_DTP_ShortDateFormat (1L << 1) |
18 #define FWL_STYLEEXT_DTP_TimeFormat (2L << 1) | 19 #define FWL_STYLEEXT_DTP_TimeFormat (2L << 1) |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 FX_BOOL Delete(); | 96 FX_BOOL Delete(); |
96 FX_BOOL DeSelect(); | 97 FX_BOOL DeSelect(); |
97 FWL_ERR GetBBox(CFX_RectF& rect); | 98 FWL_ERR GetBBox(CFX_RectF& rect); |
98 FWL_ERR SetEditLimit(int32_t nLimit); | 99 FWL_ERR SetEditLimit(int32_t nLimit); |
99 FWL_ERR ModifyEditStylesEx(FX_DWORD dwStylesExAdded, | 100 FWL_ERR ModifyEditStylesEx(FX_DWORD dwStylesExAdded, |
100 FX_DWORD dwStylesExRemoved); | 101 FX_DWORD dwStylesExRemoved); |
101 | 102 |
102 protected: | 103 protected: |
103 IFWL_DateTimePicker(); | 104 IFWL_DateTimePicker(); |
104 }; | 105 }; |
105 #endif | 106 |
| 107 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_DATETIMEPICKER_H_ |
OLD | NEW |