| 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_LIGHTWIDGET_LISTBOX_H_ | 7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_LISTBOX_H_ |
| 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_LISTBOX_H_ | 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_LISTBOX_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "xfa/include/fwl/basewidget/fwl_listbox.h" | 13 #include "xfa/fwl/basewidget/ifwl_listbox.h" |
| 14 #include "xfa/include/fwl/core/fwl_error.h" | 14 #include "xfa/fwl/core/fwl_error.h" |
| 15 #include "xfa/include/fwl/core/fwl_widget.h" | 15 #include "xfa/fwl/core/ifwl_widget.h" |
| 16 #include "xfa/include/fwl/lightwidget/widget.h" | 16 #include "xfa/include/fwl/lightwidget/widget.h" |
| 17 | 17 |
| 18 class CFWL_ListItem; | 18 class CFWL_ListItem; |
| 19 | 19 |
| 20 class CFWL_ListBox : public CFWL_Widget { | 20 class CFWL_ListBox : public CFWL_Widget { |
| 21 public: | 21 public: |
| 22 static CFWL_ListBox* Create(); | 22 static CFWL_ListBox* Create(); |
| 23 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); | 23 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); |
| 24 FWL_ERR AddDIBitmap(CFX_DIBitmap* pDIB, FWL_HLISTITEM hItem); | 24 FWL_ERR AddDIBitmap(CFX_DIBitmap* pDIB, FWL_HLISTITEM hItem); |
| 25 FWL_HLISTITEM AddString(const CFX_WideStringC& wsAdd, | 25 FWL_HLISTITEM AddString(const CFX_WideStringC& wsAdd, |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 CFX_RectF m_rtItem; | 118 CFX_RectF m_rtItem; |
| 119 FX_DWORD m_dwStates; | 119 FX_DWORD m_dwStates; |
| 120 CFX_WideString m_wsText; | 120 CFX_WideString m_wsText; |
| 121 CFX_DIBitmap* m_pDIB; | 121 CFX_DIBitmap* m_pDIB; |
| 122 void* m_pData; | 122 void* m_pData; |
| 123 FX_DWORD m_dwCheckState; | 123 FX_DWORD m_dwCheckState; |
| 124 CFX_RectF m_rtCheckBox; | 124 CFX_RectF m_rtCheckBox; |
| 125 }; | 125 }; |
| 126 | 126 |
| 127 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_LISTBOX_H_ | 127 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_LISTBOX_H_ |
| OLD | NEW |