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 /fpdfsdk/pdfwindow/PWL_ListBox.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 'fpdfsdk/pdfwindow/PWL_ListBox.h')
-rw-r--r-- | fpdfsdk/pdfwindow/PWL_ListBox.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/fpdfsdk/pdfwindow/PWL_ListBox.h b/fpdfsdk/pdfwindow/PWL_ListBox.h index fa78b37bcb..9f8f464efb 100644 --- a/fpdfsdk/pdfwindow/PWL_ListBox.h +++ b/fpdfsdk/pdfwindow/PWL_ListBox.h @@ -25,13 +25,13 @@ class CPWL_List_Notify { explicit CPWL_List_Notify(CPWL_ListBox* pList); ~CPWL_List_Notify(); - void IOnSetScrollInfoY(FX_FLOAT fPlateMin, - FX_FLOAT fPlateMax, - FX_FLOAT fContentMin, - FX_FLOAT fContentMax, - FX_FLOAT fSmallStep, - FX_FLOAT fBigStep); - void IOnSetScrollPosY(FX_FLOAT fy); + void IOnSetScrollInfoY(float fPlateMin, + float fPlateMax, + float fContentMin, + float fContentMax, + float fSmallStep, + float fBigStep); + void IOnSetScrollPosY(float fy); void IOnInvalidateRect(CFX_FloatRect* pRect); void IOnSetCaret(bool bVisible, @@ -70,8 +70,8 @@ class CPWL_ListBox : public CPWL_Wnd { intptr_t lParam = 0) override; void RePosChildWnd() override; CFX_FloatRect GetFocusRect() const override; - void SetFontSize(FX_FLOAT fFontSize) override; - FX_FLOAT GetFontSize() const override; + void SetFontSize(float fFontSize) override; + float GetFontSize() const override; virtual CFX_WideString GetText() const; @@ -94,7 +94,7 @@ class CPWL_ListBox : public CPWL_Wnd { int32_t GetTopVisibleIndex() const; int32_t FindNext(int32_t nIndex, wchar_t nChar) const; CFX_FloatRect GetContentRect() const; - FX_FLOAT GetFirstHeight() const; + float GetFirstHeight() const; CFX_FloatRect GetListRect() const; void SetFillerNotify(IPWL_Filler_Notify* pNotify) { |