Index: xfa/fwl/core/ifwl_listbox.h |
diff --git a/xfa/fwl/core/ifwl_listbox.h b/xfa/fwl/core/ifwl_listbox.h |
index 608a7d93727c4b0ced60a66518dd9857daf08bee..94de00e2a7ef9cd4e5fbfdb6f4b17b0117d28e6a 100644 |
--- a/xfa/fwl/core/ifwl_listbox.h |
+++ b/xfa/fwl/core/ifwl_listbox.h |
@@ -119,15 +119,16 @@ class IFWL_ListBox : public IFWL_Widget { |
void GetItemText(CFWL_ListItem* hItem, CFX_WideString& wsText); |
void GetScrollPos(FX_FLOAT& fPos, bool bVert = true); |
+ FX_FLOAT GetItemHeight() const { return m_fItemHeight; } |
+ FX_FLOAT CalcItemHeight(); |
+ |
protected: |
CFWL_ListItem* GetItem(CFWL_ListItem* hItem, uint32_t dwKeyCode); |
void SetSelection(CFWL_ListItem* hStart, CFWL_ListItem* hEnd, bool bSelected); |
CFWL_ListItem* GetItemAtPoint(FX_FLOAT fx, FX_FLOAT fy); |
bool ScrollToVisible(CFWL_ListItem* hItem); |
- FX_FLOAT CalcItemHeight(); |
void InitScrollBar(bool bVert = true); |
bool IsShowScrollBar(bool bVert); |
- FX_FLOAT GetItemHeight() const { return m_fItemHeight; } |
IFWL_ScrollBar* GetVertScrollBar() const { return m_pVertScrollBar.get(); } |
const CFX_RectF& GetRTClient() const { return m_rtClient; } |