diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-03-14 14:43:42 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-14 19:05:58 +0000 |
commit | 05df075154a832fcb476e1dfcfb865722d0ea898 (patch) | |
tree | b8b771b62adae74d5d5ee561db75d10de3a848bf /xfa/fwl/cfwl_edit.h | |
parent | 6b94f01d1c8ad386d497428c7397b1a99614aeba (diff) | |
download | pdfium-05df075154a832fcb476e1dfcfb865722d0ea898.tar.xz |
Replace FX_FLOAT with underlying float type.
Change-Id: I158b7d80b0ec28b742a9f2d5a96f3dde7fb3ab56
Reviewed-on: https://pdfium-review.googlesource.com/3031
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'xfa/fwl/cfwl_edit.h')
-rw-r--r-- | xfa/fwl/cfwl_edit.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/xfa/fwl/cfwl_edit.h b/xfa/fwl/cfwl_edit.h index 13e4be2c68..0dbbcd6eef 100644 --- a/xfa/fwl/cfwl_edit.h +++ b/xfa/fwl/cfwl_edit.h @@ -100,7 +100,7 @@ class CFWL_Edit : public CFWL_Widget { bool OnPageUnload(int32_t nPageIndex); void OnAddDoRecord(std::unique_ptr<IFDE_TxtEdtDoRecord> pRecord); bool OnValidate(const CFX_WideString& wsText); - void SetScrollOffset(FX_FLOAT fScrollOffset); + void SetScrollOffset(float fScrollOffset); protected: void ShowCaret(CFX_RectF* pRect); @@ -121,7 +121,7 @@ class CFWL_Edit : public CFWL_Widget { void UpdateEditParams(); void UpdateEditLayout(); bool UpdateOffset(); - bool UpdateOffset(CFWL_ScrollBar* pScrollBar, FX_FLOAT fPosChanged); + bool UpdateOffset(CFWL_ScrollBar* pScrollBar, float fPosChanged); void UpdateVAlignment(); void UpdateCaret(); CFWL_ScrollBar* UpdateScroll(); @@ -141,8 +141,8 @@ class CFWL_Edit : public CFWL_Widget { void AddSpellCheckObj(CFX_Path& PathData, int32_t nStart, int32_t nCount, - FX_FLOAT fOffSetX, - FX_FLOAT fOffSetY); + float fOffSetX, + float fOffSetY); void DoButtonDown(CFWL_MessageMouse* pMsg); void OnFocusChanged(CFWL_Message* pMsg, bool bSet); @@ -154,19 +154,19 @@ class CFWL_Edit : public CFWL_Widget { void OnChar(CFWL_MessageKey* pMsg); bool OnScroll(CFWL_ScrollBar* pScrollBar, CFWL_EventScroll::Code dwCode, - FX_FLOAT fPos); + float fPos); CFX_RectF m_rtClient; CFX_RectF m_rtEngine; CFX_RectF m_rtStatic; - FX_FLOAT m_fVAlignOffset; - FX_FLOAT m_fScrollOffsetX; - FX_FLOAT m_fScrollOffsetY; + float m_fVAlignOffset; + float m_fScrollOffsetX; + float m_fScrollOffsetY; CFDE_TxtEdtEngine m_EdtEngine; bool m_bLButtonDown; int32_t m_nSelStart; int32_t m_nLimit; - FX_FLOAT m_fFontSize; + float m_fFontSize; bool m_bSetRange; int32_t m_iMax; std::unique_ptr<CFWL_ScrollBar> m_pVertScrollBar; |