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_INCLUDE_FWL_BASEWIDGET_FWL_COMBOBOX_H_ | 7 #ifndef XFA_INCLUDE_FWL_BASEWIDGET_FWL_COMBOBOX_H_ |
8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_COMBOBOX_H_ | 8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_COMBOBOX_H_ |
9 | 9 |
| 10 #include "xfa/include/fwl/basewidget/fwl_listbox.h" |
| 11 |
10 class CFWL_WidgetImpProperties; | 12 class CFWL_WidgetImpProperties; |
11 class IFWL_Widget; | |
12 class IFWL_ListBox; | |
13 class IFWL_ComboBoxDP; | 13 class IFWL_ComboBoxDP; |
14 class IFWL_ComboBox; | 14 class IFWL_ComboBox; |
| 15 |
15 #define FWL_CLASS_ComboBox L"FWL_COMBOBOX" | 16 #define FWL_CLASS_ComboBox L"FWL_COMBOBOX" |
16 #define FWL_CLASSHASH_ComboBox 602353697 | 17 #define FWL_CLASSHASH_ComboBox 602353697 |
17 #define FWL_STYLEEXT_CMB_DropList (0L << 0) | 18 #define FWL_STYLEEXT_CMB_DropList (0L << 0) |
18 #define FWL_STYLEEXT_CMB_DropDown (1L << 0) | 19 #define FWL_STYLEEXT_CMB_DropDown (1L << 0) |
19 #define FWL_STYLEEXT_CMB_Sort (1L << 1) | 20 #define FWL_STYLEEXT_CMB_Sort (1L << 1) |
20 #define FWL_STYLEEXT_CMB_ListDrag (1L << 2) | 21 #define FWL_STYLEEXT_CMB_ListDrag (1L << 2) |
21 #define FWL_STYLEEXT_CMB_OwnerDraw (1L << 3) | 22 #define FWL_STYLEEXT_CMB_OwnerDraw (1L << 3) |
22 #define FWL_STYLEEXT_CMB_EditHNear (0L << 4) | 23 #define FWL_STYLEEXT_CMB_EditHNear (0L << 4) |
23 #define FWL_STYLEEXT_CMB_EditHCenter (1L << 4) | 24 #define FWL_STYLEEXT_CMB_EditHCenter (1L << 4) |
24 #define FWL_STYLEEXT_CMB_EditHFar (2L << 4) | 25 #define FWL_STYLEEXT_CMB_EditHFar (2L << 4) |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 FX_BOOL EditDeSelect(); | 133 FX_BOOL EditDeSelect(); |
133 FWL_ERR GetBBox(CFX_RectF& rect); | 134 FWL_ERR GetBBox(CFX_RectF& rect); |
134 FWL_ERR EditModifyStylesEx(FX_DWORD dwStylesExAdded, | 135 FWL_ERR EditModifyStylesEx(FX_DWORD dwStylesExAdded, |
135 FX_DWORD dwStylesExRemoved); | 136 FX_DWORD dwStylesExRemoved); |
136 | 137 |
137 protected: | 138 protected: |
138 IFWL_ComboBox(); | 139 IFWL_ComboBox(); |
139 }; | 140 }; |
140 | 141 |
141 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_COMBOBOX_H_ | 142 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_COMBOBOX_H_ |
OLD | NEW |