summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_tooltip.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-10 10:25:32 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-10 10:25:32 -0800
commit12f72bfc06198fcddf86f366adbbdeb152163b0e (patch)
tree61c3b3859382950e75fc8044639d3e9cea10cf16 /xfa/fwl/core/ifwl_tooltip.cpp
parentbe6b14899381d31628887d3cf4af086a3acb7eef (diff)
downloadpdfium-12f72bfc06198fcddf86f366adbbdeb152163b0e.tar.xz
Continue cleaning IFWL classes
More work cleaning up visiblity, unused methods and return values. Review-Url: https://codereview.chromium.org/2489013002
Diffstat (limited to 'xfa/fwl/core/ifwl_tooltip.cpp')
-rw-r--r--xfa/fwl/core/ifwl_tooltip.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/xfa/fwl/core/ifwl_tooltip.cpp b/xfa/fwl/core/ifwl_tooltip.cpp
index 35718228c3..8a34a857b2 100644
--- a/xfa/fwl/core/ifwl_tooltip.cpp
+++ b/xfa/fwl/core/ifwl_tooltip.cpp
@@ -20,7 +20,6 @@ IFWL_ToolTip::IFWL_ToolTip(const IFWL_App* app,
std::unique_ptr<CFWL_WidgetProperties> properties,
IFWL_Widget* pOuter)
: IFWL_Form(app, std::move(properties), pOuter),
- m_bBtnDown(false),
m_dwTTOStyles(FDE_TTOSTYLE_SingleLine),
m_iTTOAlign(FDE_TTOALIGNMENT_Center),
m_pTimerInfoShow(nullptr),
@@ -159,30 +158,6 @@ void IFWL_ToolTip::UpdateTextOutStyles() {
}
}
-void IFWL_ToolTip::SetAnchor(const CFX_RectF& rtAnchor) {
- m_rtAnchor = rtAnchor;
-}
-
-void IFWL_ToolTip::Show() {
- IFWL_ToolTipDP* pData =
- static_cast<IFWL_ToolTipDP*>(m_pProperties->m_pDataProvider);
- int32_t nInitDelay = pData->GetInitialDelay(this);
- if ((m_pProperties->m_dwStates & FWL_WGTSTATE_Invisible))
- m_pTimerInfoShow = m_TimerShow.StartTimer(nInitDelay, false);
-}
-
-void IFWL_ToolTip::Hide() {
- SetStates(FWL_WGTSTATE_Invisible, true);
- if (m_pTimerInfoHide) {
- m_pTimerInfoHide->StopTimer();
- m_pTimerInfoHide = nullptr;
- }
- if (m_pTimerInfoShow) {
- m_pTimerInfoShow->StopTimer();
- m_pTimerInfoShow = nullptr;
- }
-}
-
void IFWL_ToolTip::SetStates(uint32_t dwStates, bool bSet) {
if ((dwStates & FWL_WGTSTATE_Invisible) && !bSet) {
IFWL_ToolTipDP* pData =