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_COMBOBOX_H_ | 7 #ifndef XFA_FWL_BASEWIDGET_IFWL_COMBOBOX_H_ |
8 #define XFA_FWL_BASEWIDGET_IFWL_COMBOBOX_H_ | 8 #define XFA_FWL_BASEWIDGET_IFWL_COMBOBOX_H_ |
9 | 9 |
10 #include "xfa/fwl/basewidget/ifwl_listbox.h" | 10 #include "xfa/fwl/basewidget/ifwl_listbox.h" |
11 #include "xfa/fxgraphics/include/cfx_graphics.h" | 11 #include "xfa/fxgraphics/include/cfx_graphics.h" |
12 | 12 |
13 class CFWL_WidgetImpProperties; | 13 class CFWL_WidgetImpProperties; |
14 class IFWL_ComboBox; | 14 class IFWL_ComboBox; |
15 | 15 |
16 #define FWL_CLASS_ComboBox L"FWL_COMBOBOX" | 16 #define FWL_CLASS_ComboBox L"FWL_COMBOBOX" |
17 #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) |
24 #define FWL_STYLEEXT_CMB_EditHCenter (1L << 4) | 23 #define FWL_STYLEEXT_CMB_EditHCenter (1L << 4) |
25 #define FWL_STYLEEXT_CMB_EditHFar (2L << 4) | 24 #define FWL_STYLEEXT_CMB_EditHFar (2L << 4) |
26 #define FWL_STYLEEXT_CMB_EditVNear (0L << 6) | 25 #define FWL_STYLEEXT_CMB_EditVNear (0L << 6) |
27 #define FWL_STYLEEXT_CMB_EditVCenter (1L << 6) | 26 #define FWL_STYLEEXT_CMB_EditVCenter (1L << 6) |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 FX_BOOL EditDeSelect(); | 110 FX_BOOL EditDeSelect(); |
112 FWL_Error GetBBox(CFX_RectF& rect); | 111 FWL_Error GetBBox(CFX_RectF& rect); |
113 FWL_Error EditModifyStylesEx(uint32_t dwStylesExAdded, | 112 FWL_Error EditModifyStylesEx(uint32_t dwStylesExAdded, |
114 uint32_t dwStylesExRemoved); | 113 uint32_t dwStylesExRemoved); |
115 | 114 |
116 protected: | 115 protected: |
117 IFWL_ComboBox(); | 116 IFWL_ComboBox(); |
118 }; | 117 }; |
119 | 118 |
120 #endif // XFA_FWL_BASEWIDGET_IFWL_COMBOBOX_H_ | 119 #endif // XFA_FWL_BASEWIDGET_IFWL_COMBOBOX_H_ |
OLD | NEW |