diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-10 12:46:33 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-10 12:46:33 -0800 |
commit | d2bf06228d7572545717cd36ea0dabc67e9b6d84 (patch) | |
tree | f0844fd8bad48a70b80b01397a2b3eb967017d19 /xfa/fwl/core/ifwl_pushbutton.h | |
parent | 3e577c2660c89646b56753839c1ec59c3ad187f4 (diff) | |
download | pdfium-d2bf06228d7572545717cd36ea0dabc67e9b6d84.tar.xz |
Continue IFWL cleanup
Cleaning up more IFWL classes.
Review-Url: https://codereview.chromium.org/2492563002
Diffstat (limited to 'xfa/fwl/core/ifwl_pushbutton.h')
-rw-r--r-- | xfa/fwl/core/ifwl_pushbutton.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/xfa/fwl/core/ifwl_pushbutton.h b/xfa/fwl/core/ifwl_pushbutton.h index 6fb81f0811..d717997c18 100644 --- a/xfa/fwl/core/ifwl_pushbutton.h +++ b/xfa/fwl/core/ifwl_pushbutton.h @@ -53,7 +53,7 @@ class IFWL_PushButton : public IFWL_Widget { void OnDrawWidget(CFX_Graphics* pGraphics, const CFX_Matrix* pMatrix) override; - protected: + private: void DrawBkground(CFX_Graphics* pGraphics, IFWL_ThemeProvider* pTheme, const CFX_Matrix* pMatrix); @@ -62,20 +62,18 @@ class IFWL_PushButton : public IFWL_Widget { const CFX_Matrix* pMatrix); uint32_t GetPartStates(); void UpdateTextOutStyles(); - - CFX_RectF m_rtClient; - CFX_RectF m_rtCaption; - bool m_bBtnDown; - uint32_t m_dwTTOStyles; - int32_t m_iTTOAlign; - - private: void OnFocusChanged(CFWL_Message* pMsg, bool bSet); void OnLButtonDown(CFWL_MsgMouse* pMsg); void OnLButtonUp(CFWL_MsgMouse* pMsg); void OnMouseMove(CFWL_MsgMouse* pMsg); void OnMouseLeave(CFWL_MsgMouse* pMsg); void OnKeyDown(CFWL_MsgKey* pMsg); + + CFX_RectF m_rtClient; + CFX_RectF m_rtCaption; + bool m_bBtnDown; + uint32_t m_dwTTOStyles; + int32_t m_iTTOAlign; }; #endif // XFA_FWL_CORE_IFWL_PUSHBUTTON_H_ |