| 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_LISTBOX_H | 7 #ifndef _FWL_LISTBOX_H |
| 8 #define _FWL_LISTBOX_H | 8 #define _FWL_LISTBOX_H |
| 9 class CFWL_WidgetImpProperties; | 9 class CFWL_WidgetImpProperties; |
| 10 class IFWL_Widget; | 10 class IFWL_Widget; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 int32_t CountSelItems(); | 116 int32_t CountSelItems(); |
| 117 FWL_HLISTITEM GetSelItem(int32_t nIndexSel); | 117 FWL_HLISTITEM GetSelItem(int32_t nIndexSel); |
| 118 int32_t GetSelIndex(int32_t nIndex); | 118 int32_t GetSelIndex(int32_t nIndex); |
| 119 FWL_ERR SetSelItem(FWL_HLISTITEM hItem, FX_BOOL bSelect = TRUE); | 119 FWL_ERR SetSelItem(FWL_HLISTITEM hItem, FX_BOOL bSelect = TRUE); |
| 120 FWL_ERR GetItemText(FWL_HLISTITEM hItem, CFX_WideString& wsText); | 120 FWL_ERR GetItemText(FWL_HLISTITEM hItem, CFX_WideString& wsText); |
| 121 FWL_ERR GetScrollPos(FX_FLOAT& fPos, FX_BOOL bVert = TRUE); | 121 FWL_ERR GetScrollPos(FX_FLOAT& fPos, FX_BOOL bVert = TRUE); |
| 122 FWL_ERR* Sort(IFWL_ListBoxCompare* pCom); | 122 FWL_ERR* Sort(IFWL_ListBoxCompare* pCom); |
| 123 | 123 |
| 124 protected: | 124 protected: |
| 125 IFWL_ListBox(); | 125 IFWL_ListBox(); |
| 126 virtual ~IFWL_ListBox(); | |
| 127 }; | 126 }; |
| 128 #endif | 127 #endif |
| OLD | NEW |