diff options
author | dsinclair <dsinclair@chromium.org> | 2016-11-23 16:17:20 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-23 16:17:21 -0800 |
commit | 2c489cc41023a40648dfde988d11b8ec2b66c7d0 (patch) | |
tree | 78255c80c547a5954ed5778f1a809d3166a5f3e2 /xfa/fwl/theme/cfwl_checkboxtp.cpp | |
parent | 0ce11eef157b791c661d7e82e1c5641605b9f03d (diff) | |
download | pdfium-2c489cc41023a40648dfde988d11b8ec2b66c7d0.tar.xz |
Merge IFWL and CFWL classes.
This CL merges the IFWL hierarchy into the CFWL hierachy. All CFWL proxy methods
have been replaced by the IFWL implementations.
Review-Url: https://codereview.chromium.org/2524173002
Diffstat (limited to 'xfa/fwl/theme/cfwl_checkboxtp.cpp')
-rw-r--r-- | xfa/fwl/theme/cfwl_checkboxtp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fwl/theme/cfwl_checkboxtp.cpp b/xfa/fwl/theme/cfwl_checkboxtp.cpp index 32c390a5df..5ea849e089 100644 --- a/xfa/fwl/theme/cfwl_checkboxtp.cpp +++ b/xfa/fwl/theme/cfwl_checkboxtp.cpp @@ -8,10 +8,10 @@ #include "core/fxge/cfx_pathdata.h" #include "xfa/fde/tto/fde_textout.h" +#include "xfa/fwl/core/cfwl_checkbox.h" #include "xfa/fwl/core/cfwl_themebackground.h" #include "xfa/fwl/core/cfwl_themetext.h" -#include "xfa/fwl/core/ifwl_checkbox.h" -#include "xfa/fwl/core/ifwl_widget.h" +#include "xfa/fwl/core/cfwl_widget.h" #include "xfa/fxgraphics/cfx_color.h" #include "xfa/fxgraphics/cfx_path.h" @@ -35,7 +35,7 @@ CFWL_CheckBoxTP::~CFWL_CheckBoxTP() { m_pCheckPath->Clear(); } -bool CFWL_CheckBoxTP::IsValidWidget(IFWL_Widget* pWidget) { +bool CFWL_CheckBoxTP::IsValidWidget(CFWL_Widget* pWidget) { return pWidget && pWidget->GetClassID() == FWL_Type::CheckBox; } @@ -297,7 +297,7 @@ void CFWL_CheckBoxTP::DrawBackground(CFWL_ThemeBackground* pParams) { } } -void CFWL_CheckBoxTP::DrawCheckSign(IFWL_Widget* pWidget, +void CFWL_CheckBoxTP::DrawCheckSign(CFWL_Widget* pWidget, CFX_Graphics* pGraphics, const CFX_RectF& pRtBox, int32_t iState, |