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