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/cfx_graphics.h" |
12 | 12 |
13 class CFWL_WidgetImpProperties; | 13 class CFWL_WidgetImpProperties; |
14 class IFDE_TxtEdtDoRecord; | 14 class IFDE_TxtEdtDoRecord; |
15 class IFWL_ComboBox; | 15 class IFWL_ComboBox; |
16 | 16 |
17 #define FWL_CLASS_ComboBox L"FWL_COMBOBOX" | 17 #define FWL_CLASS_ComboBox L"FWL_COMBOBOX" |
18 #define FWL_STYLEEXT_CMB_DropList (0L << 0) | 18 #define FWL_STYLEEXT_CMB_DropList (0L << 0) |
19 #define FWL_STYLEEXT_CMB_DropDown (1L << 0) | 19 #define FWL_STYLEEXT_CMB_DropDown (1L << 0) |
20 #define FWL_STYLEEXT_CMB_Sort (1L << 1) | 20 #define FWL_STYLEEXT_CMB_Sort (1L << 1) |
21 #define FWL_STYLEEXT_CMB_ListDrag (1L << 2) | 21 #define FWL_STYLEEXT_CMB_ListDrag (1L << 2) |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 FX_BOOL EditDeSelect(); | 108 FX_BOOL EditDeSelect(); |
109 FWL_Error GetBBox(CFX_RectF& rect); | 109 FWL_Error GetBBox(CFX_RectF& rect); |
110 FWL_Error EditModifyStylesEx(uint32_t dwStylesExAdded, | 110 FWL_Error EditModifyStylesEx(uint32_t dwStylesExAdded, |
111 uint32_t dwStylesExRemoved); | 111 uint32_t dwStylesExRemoved); |
112 | 112 |
113 protected: | 113 protected: |
114 IFWL_ComboBox(); | 114 IFWL_ComboBox(); |
115 }; | 115 }; |
116 | 116 |
117 #endif // XFA_FWL_BASEWIDGET_IFWL_COMBOBOX_H_ | 117 #endif // XFA_FWL_BASEWIDGET_IFWL_COMBOBOX_H_ |
OLD | NEW |