diff options
author | tsepez <tsepez@chromium.org> | 2016-11-02 14:37:54 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-02 14:37:55 -0700 |
commit | 4cf551577856f89103e162edc761def44ffb96fc (patch) | |
tree | 452684db6c2dd2b9aa697415ff4b752e59123b77 /fpdfsdk/pdfwindow/PWL_Caret.h | |
parent | 66bd67023f747c489d7144aaf4ca6222c686cd26 (diff) | |
download | pdfium-4cf551577856f89103e162edc761def44ffb96fc.tar.xz |
Remove FX_BOOL from fpdfsdk.
Review-Url: https://codereview.chromium.org/2453683011
Diffstat (limited to 'fpdfsdk/pdfwindow/PWL_Caret.h')
-rw-r--r-- | fpdfsdk/pdfwindow/PWL_Caret.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fpdfsdk/pdfwindow/PWL_Caret.h b/fpdfsdk/pdfwindow/PWL_Caret.h index 2f5c87639e..ccee96109e 100644 --- a/fpdfsdk/pdfwindow/PWL_Caret.h +++ b/fpdfsdk/pdfwindow/PWL_Caret.h @@ -11,9 +11,9 @@ struct PWL_CARET_INFO { public: - PWL_CARET_INFO() : bVisible(FALSE) {} + PWL_CARET_INFO() : bVisible(false) {} - FX_BOOL bVisible; + bool bVisible; CFX_FloatPoint ptHead; CFX_FloatPoint ptFoot; }; @@ -29,10 +29,10 @@ class CPWL_Caret : public CPWL_Wnd { void DrawThisAppearance(CFX_RenderDevice* pDevice, CFX_Matrix* pUser2Device) override; void InvalidateRect(CFX_FloatRect* pRect = nullptr) override; - void SetVisible(FX_BOOL bVisible) override {} + void SetVisible(bool bVisible) override {} void TimerProc() override; - void SetCaret(FX_BOOL bVisible, + void SetCaret(bool bVisible, const CFX_FloatPoint& ptHead, const CFX_FloatPoint& ptFoot); CFX_ByteString GetCaretAppearanceStream(const CFX_FloatPoint& ptOffset); @@ -42,7 +42,7 @@ class CPWL_Caret : public CPWL_Wnd { void GetCaretApp(CFX_ByteTextBuf& sAppStream, const CFX_FloatPoint& ptOffset); CFX_FloatRect GetCaretRect() const; - FX_BOOL m_bFlash; + bool m_bFlash; CFX_FloatPoint m_ptHead; CFX_FloatPoint m_ptFoot; FX_FLOAT m_fWidth; |