summaryrefslogtreecommitdiff
path: root/xfa/fwl/theme/cfwl_pushbuttontp.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-21 11:56:07 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-21 11:56:07 -0800
commit43170f498b8c619620c4141b2d67ef6ab9a518ca (patch)
treebdce03d265f3ae0ca0f6ee171ee1099124735d5e /xfa/fwl/theme/cfwl_pushbuttontp.h
parentac9934bfd0570526fb5b688670f32efa56648f5d (diff)
downloadpdfium-43170f498b8c619620c4141b2d67ef6ab9a518ca.tar.xz
Update SetThemeColor and SetThemeData
The SetThemeColor and SetThemeData methods are always called with a parameter of 0. This Cl removes the parameter and updates the code as needed. Review-Url: https://codereview.chromium.org/2521683002
Diffstat (limited to 'xfa/fwl/theme/cfwl_pushbuttontp.h')
-rw-r--r--xfa/fwl/theme/cfwl_pushbuttontp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fwl/theme/cfwl_pushbuttontp.h b/xfa/fwl/theme/cfwl_pushbuttontp.h
index db17e9cac6..559f1a7f5f 100644
--- a/xfa/fwl/theme/cfwl_pushbuttontp.h
+++ b/xfa/fwl/theme/cfwl_pushbuttontp.h
@@ -32,7 +32,6 @@ class CFWL_PushButtonTP : public CFWL_WidgetTP {
FX_ARGB clrFill[5];
};
- void SetThemeData(uint32_t dwID);
void SetTopLineColor(uint32_t* pData);
void SetLeftLineColor(uint32_t* pData);
void SetRightLineColor(uint32_t* pData);
@@ -44,6 +43,9 @@ class CFWL_PushButtonTP : public CFWL_WidgetTP {
int32_t GetColorID(uint32_t dwStates) const;
std::unique_ptr<PBThemeData> m_pThemeData;
+
+ private:
+ void SetThemeData();
};
#endif // XFA_FWL_THEME_CFWL_PUSHBUTTONTP_H_