| 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 _FWL_COMBOBOX_LIGHT_H | 7 #ifndef _FWL_COMBOBOX_LIGHT_H |
| 8 #define _FWL_COMBOBOX_LIGHT_H | 8 #define _FWL_COMBOBOX_LIGHT_H |
| 9 class CFWL_Widget; | 9 class CFWL_Widget; |
| 10 class CFWL_WidgetProperties; | 10 class CFWL_WidgetProperties; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 virtual FX_DWORD GetItemCheckState(IFWL_Widget *pWidget,
FWL_HLISTITEM hItem); | 89 virtual FX_DWORD GetItemCheckState(IFWL_Widget *pWidget,
FWL_HLISTITEM hItem); |
| 90 virtual FWL_ERR SetItemCheckState(IFWL_Widget *pWidget,
FWL_HLISTITEM hItem, FX_DWORD dwCheckState); | 90 virtual FWL_ERR SetItemCheckState(IFWL_Widget *pWidget,
FWL_HLISTITEM hItem, FX_DWORD dwCheckState); |
| 91 virtual FX_FLOAT GetListHeight(IFWL_Widget *pWidget); | 91 virtual FX_FLOAT GetListHeight(IFWL_Widget *pWidget); |
| 92 | 92 |
| 93 CFX_PtrArray m_arrItem; | 93 CFX_PtrArray m_arrItem; |
| 94 FX_FLOAT m_fMaxListHeight; | 94 FX_FLOAT m_fMaxListHeight; |
| 95 FX_FLOAT m_fItemHeight; | 95 FX_FLOAT m_fItemHeight; |
| 96 }; | 96 }; |
| 97 CFWL_ComboBoxDP m_comboBoxData; | 97 CFWL_ComboBoxDP m_comboBoxData; |
| 98 }; | 98 }; |
| 99 class CFWL_ComboBoxItem : public CFX_Object | 99 class CFWL_ComboBoxItem |
| 100 { | 100 { |
| 101 public: | 101 public: |
| 102 CFWL_ComboBoxItem() | 102 CFWL_ComboBoxItem() |
| 103 { | 103 { |
| 104 m_pDIB = NULL; | 104 m_pDIB = NULL; |
| 105 m_pData = NULL; | 105 m_pData = NULL; |
| 106 } | 106 } |
| 107 CFX_RectF m_rtItem; | 107 CFX_RectF m_rtItem; |
| 108 FX_DWORD m_dwStyles; | 108 FX_DWORD m_dwStyles; |
| 109 CFX_WideString m_wsText; | 109 CFX_WideString m_wsText; |
| 110 CFX_DIBitmap *m_pDIB; | 110 CFX_DIBitmap *m_pDIB; |
| 111 FX_DWORD m_dwCheckState; | 111 FX_DWORD m_dwCheckState; |
| 112 CFX_RectF m_rtCheckBox; | 112 CFX_RectF m_rtCheckBox; |
| 113 FX_LPVOID m_pData; | 113 FX_LPVOID m_pData; |
| 114 }; | 114 }; |
| 115 #endif | 115 #endif |
| OLD | NEW |