Chromium Code Reviews| 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; | 13 class IFWL_Widget; |
|
Tom Sepez
2016/02/22 22:23:39
No longer needed.
dsinclair
2016/02/23 14:09:14
Done.
| |
| 12 class IFWL_ListBox; | 14 class IFWL_ListBox; |
|
Tom Sepez
2016/02/22 22:23:39
No longer needed.
dsinclair
2016/02/23 14:09:14
Done.
| |
| 13 class IFWL_ComboBoxDP; | 15 class IFWL_ComboBoxDP; |
| 14 class IFWL_ComboBox; | 16 class IFWL_ComboBox; |
| 17 | |
| 15 #define FWL_CLASS_ComboBox L"FWL_COMBOBOX" | 18 #define FWL_CLASS_ComboBox L"FWL_COMBOBOX" |
| 16 #define FWL_CLASSHASH_ComboBox 602353697 | 19 #define FWL_CLASSHASH_ComboBox 602353697 |
| 17 #define FWL_STYLEEXT_CMB_DropList (0L << 0) | 20 #define FWL_STYLEEXT_CMB_DropList (0L << 0) |
| 18 #define FWL_STYLEEXT_CMB_DropDown (1L << 0) | 21 #define FWL_STYLEEXT_CMB_DropDown (1L << 0) |
| 19 #define FWL_STYLEEXT_CMB_Sort (1L << 1) | 22 #define FWL_STYLEEXT_CMB_Sort (1L << 1) |
| 20 #define FWL_STYLEEXT_CMB_ListDrag (1L << 2) | 23 #define FWL_STYLEEXT_CMB_ListDrag (1L << 2) |
| 21 #define FWL_STYLEEXT_CMB_OwnerDraw (1L << 3) | 24 #define FWL_STYLEEXT_CMB_OwnerDraw (1L << 3) |
| 22 #define FWL_STYLEEXT_CMB_EditHNear (0L << 4) | 25 #define FWL_STYLEEXT_CMB_EditHNear (0L << 4) |
| 23 #define FWL_STYLEEXT_CMB_EditHCenter (1L << 4) | 26 #define FWL_STYLEEXT_CMB_EditHCenter (1L << 4) |
| 24 #define FWL_STYLEEXT_CMB_EditHFar (2L << 4) | 27 #define FWL_STYLEEXT_CMB_EditHFar (2L << 4) |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 132 FX_BOOL EditDeSelect(); | 135 FX_BOOL EditDeSelect(); |
| 133 FWL_ERR GetBBox(CFX_RectF& rect); | 136 FWL_ERR GetBBox(CFX_RectF& rect); |
| 134 FWL_ERR EditModifyStylesEx(FX_DWORD dwStylesExAdded, | 137 FWL_ERR EditModifyStylesEx(FX_DWORD dwStylesExAdded, |
| 135 FX_DWORD dwStylesExRemoved); | 138 FX_DWORD dwStylesExRemoved); |
| 136 | 139 |
| 137 protected: | 140 protected: |
| 138 IFWL_ComboBox(); | 141 IFWL_ComboBox(); |
| 139 }; | 142 }; |
| 140 | 143 |
| 141 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_COMBOBOX_H_ | 144 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_COMBOBOX_H_ |
| OLD | NEW |