| 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" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 #define FWL_STYLEEXT_CMB_EditVCenter (1L << 6) | 27 #define FWL_STYLEEXT_CMB_EditVCenter (1L << 6) |
| 28 #define FWL_STYLEEXT_CMB_EditVFar (2L << 6) | 28 #define FWL_STYLEEXT_CMB_EditVFar (2L << 6) |
| 29 #define FWL_STYLEEXT_CMB_EditJustified (1L << 8) | 29 #define FWL_STYLEEXT_CMB_EditJustified (1L << 8) |
| 30 #define FWL_STYLEEXT_CMB_EditDistributed (2L << 8) | 30 #define FWL_STYLEEXT_CMB_EditDistributed (2L << 8) |
| 31 #define FWL_STYLEEXT_CMB_EditHAlignMask (3L << 4) | 31 #define FWL_STYLEEXT_CMB_EditHAlignMask (3L << 4) |
| 32 #define FWL_STYLEEXT_CMB_EditVAlignMask (3L << 6) | 32 #define FWL_STYLEEXT_CMB_EditVAlignMask (3L << 6) |
| 33 #define FWL_STYLEEXT_CMB_EditHAlignModeMask (3L << 8) | 33 #define FWL_STYLEEXT_CMB_EditHAlignModeMask (3L << 8) |
| 34 #define FWL_STYLEEXT_CMB_ListItemLeftAlign (0L << 10) | 34 #define FWL_STYLEEXT_CMB_ListItemLeftAlign (0L << 10) |
| 35 #define FWL_STYLEEXT_CMB_ListItemCenterAlign (1L << 10) | 35 #define FWL_STYLEEXT_CMB_ListItemCenterAlign (1L << 10) |
| 36 #define FWL_STYLEEXT_CMB_ListItemRightAlign (2L << 10) | 36 #define FWL_STYLEEXT_CMB_ListItemRightAlign (2L << 10) |
| 37 #define FWL_STYLEEXT_CMB_ListItemAlignMask (3L << 10) |
| 37 #define FWL_STYLEEXT_CMB_ListItemText (0L << 12) | 38 #define FWL_STYLEEXT_CMB_ListItemText (0L << 12) |
| 38 #define FWL_STYLEEXT_CMB_ListItemIconText (1L << 12) | 39 #define FWL_STYLEEXT_CMB_ListItemIconText (1L << 12) |
| 39 #define FWL_STYLEEXT_CMB_ListItemAlignMask (3L << 12) | |
| 40 #define FWL_STYLEEXT_CMB_ReadOnly (1L << 13) | 40 #define FWL_STYLEEXT_CMB_ReadOnly (1L << 13) |
| 41 | 41 |
| 42 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbPreDropDown, CFWL_EventType::PreDropDown) | 42 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbPreDropDown, CFWL_EventType::PreDropDown) |
| 43 END_FWL_EVENT_DEF | 43 END_FWL_EVENT_DEF |
| 44 | 44 |
| 45 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbPostDropDown, CFWL_EventType::PostDropDown) | 45 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbPostDropDown, CFWL_EventType::PostDropDown) |
| 46 END_FWL_EVENT_DEF | 46 END_FWL_EVENT_DEF |
| 47 | 47 |
| 48 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbCloseUp, CFWL_EventType::CloseUp) | 48 BEGIN_FWL_EVENT_DEF(CFWL_EvtCmbCloseUp, CFWL_EventType::CloseUp) |
| 49 END_FWL_EVENT_DEF | 49 END_FWL_EVENT_DEF |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 FX_BOOL EditDeSelect(); | 111 FX_BOOL EditDeSelect(); |
| 112 FWL_Error GetBBox(CFX_RectF& rect); | 112 FWL_Error GetBBox(CFX_RectF& rect); |
| 113 FWL_Error EditModifyStylesEx(uint32_t dwStylesExAdded, | 113 FWL_Error EditModifyStylesEx(uint32_t dwStylesExAdded, |
| 114 uint32_t dwStylesExRemoved); | 114 uint32_t dwStylesExRemoved); |
| 115 | 115 |
| 116 protected: | 116 protected: |
| 117 IFWL_ComboBox(); | 117 IFWL_ComboBox(); |
| 118 }; | 118 }; |
| 119 | 119 |
| 120 #endif // XFA_FWL_BASEWIDGET_IFWL_COMBOBOX_H_ | 120 #endif // XFA_FWL_BASEWIDGET_IFWL_COMBOBOX_H_ |
| OLD | NEW |