From 05df075154a832fcb476e1dfcfb865722d0ea898 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 14 Mar 2017 14:43:42 -0400 Subject: Replace FX_FLOAT with underlying float type. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I158b7d80b0ec28b742a9f2d5a96f3dde7fb3ab56 Reviewed-on: https://pdfium-review.googlesource.com/3031 Commit-Queue: dsinclair Reviewed-by: Tom Sepez Reviewed-by: Nicolás Peña --- xfa/fwl/cfwl_listbox.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'xfa/fwl/cfwl_listbox.h') diff --git a/xfa/fwl/cfwl_listbox.h b/xfa/fwl/cfwl_listbox.h index caa4f509f8..18aaf4cbd5 100644 --- a/xfa/fwl/cfwl_listbox.h +++ b/xfa/fwl/cfwl_listbox.h @@ -63,8 +63,8 @@ class CFWL_ListBox : public CFWL_Widget { int32_t GetSelIndex(int32_t nIndex); void SetSelItem(CFWL_ListItem* hItem, bool bSelect); - FX_FLOAT GetItemHeight() const { return m_fItemHeight; } - FX_FLOAT CalcItemHeight(); + float GetItemHeight() const { return m_fItemHeight; } + float CalcItemHeight(); protected: CFWL_ListItem* GetListItem(CFWL_ListItem* hItem, uint32_t dwKeyCode); @@ -101,11 +101,11 @@ class CFWL_ListBox : public CFWL_Widget { CFX_SizeF CalcSize(bool bAutoSize); void UpdateItemSize(CFWL_ListItem* hItem, CFX_SizeF& size, - FX_FLOAT fWidth, - FX_FLOAT fHeight, + float fWidth, + float fHeight, bool bAutoSize) const; - FX_FLOAT GetMaxTextWidth(); - FX_FLOAT GetScrollWidth(); + float GetMaxTextWidth(); + float GetScrollWidth(); void OnFocusChanged(CFWL_Message* pMsg, bool bSet); void OnLButtonDown(CFWL_MessageMouse* pMsg); @@ -115,7 +115,7 @@ class CFWL_ListBox : public CFWL_Widget { void OnVK(CFWL_ListItem* hItem, bool bShift, bool bCtrl); bool OnScroll(CFWL_ScrollBar* pScrollBar, CFWL_EventScroll::Code dwCode, - FX_FLOAT fPos); + float fPos); CFX_RectF m_rtClient; CFX_RectF m_rtStatic; @@ -125,8 +125,8 @@ class CFWL_ListBox : public CFWL_Widget { uint32_t m_dwTTOStyles; int32_t m_iTTOAligns; CFWL_ListItem* m_hAnchor; - FX_FLOAT m_fItemHeight; - FX_FLOAT m_fScorllBarWidth; + float m_fItemHeight; + float m_fScorllBarWidth; bool m_bLButtonDown; IFWL_ThemeProvider* m_pScrollBarTP; std::vector> m_ItemArray; -- cgit v1.2.3