diff options
Diffstat (limited to 'xfa/fwl/core/ifwl_tooltip.cpp')
-rw-r--r-- | xfa/fwl/core/ifwl_tooltip.cpp | 25 |
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 = |