| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIPCTRL_H_ | 7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIPCTRL_H_ |
| 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIPCTRL_H_ | 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIPCTRL_H_ |
| 9 | 9 |
| 10 class CFWL_Widget; | 10 #include "xfa/include/fwl/basewidget/fwl_tooltipctrl.h" |
| 11 class CFWL_WidgetProperties; | 11 #include "xfa/include/fwl/lightwidget/widget.h" |
| 12 class IFWL_ToolTipDP; | 12 |
| 13 class CFWL_ToolTip; | |
| 14 class CFWL_ToolTipDP; | |
| 15 class CFWL_ToolTip : public CFWL_Widget { | 13 class CFWL_ToolTip : public CFWL_Widget { |
| 16 public: | 14 public: |
| 17 static CFWL_ToolTip* Create(); | 15 static CFWL_ToolTip* Create(); |
| 18 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); | 16 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); |
| 19 FWL_ERR GetCaption(CFX_WideString& wsCaption); | 17 FWL_ERR GetCaption(CFX_WideString& wsCaption); |
| 20 FWL_ERR SetCaption(const CFX_WideStringC& wsCaption); | 18 FWL_ERR SetCaption(const CFX_WideStringC& wsCaption); |
| 21 int32_t GetInitialDelay(); | 19 int32_t GetInitialDelay(); |
| 22 int32_t SetInitialDelay(int32_t nDelayTime); | 20 int32_t SetInitialDelay(int32_t nDelayTime); |
| 23 int32_t GetAutoPopDelay(); | 21 int32_t GetAutoPopDelay(); |
| 24 int32_t SetAutoPopDelay(int32_t nDelayTime); | 22 int32_t SetAutoPopDelay(int32_t nDelayTime); |
| (...skipping 21 matching lines...) Expand all Loading... |
| 46 int32_t m_nInitDelayTime; | 44 int32_t m_nInitDelayTime; |
| 47 int32_t m_nAutoPopDelayTime; | 45 int32_t m_nAutoPopDelayTime; |
| 48 CFX_DIBitmap* m_pBitmap; | 46 CFX_DIBitmap* m_pBitmap; |
| 49 CFX_SizeF m_fIconSize; | 47 CFX_SizeF m_fIconSize; |
| 50 CFX_RectF m_fAnchor; | 48 CFX_RectF m_fAnchor; |
| 51 }; | 49 }; |
| 52 CFWL_ToolTipDP m_tooltipData; | 50 CFWL_ToolTipDP m_tooltipData; |
| 53 }; | 51 }; |
| 54 | 52 |
| 55 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIPCTRL_H_ | 53 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIPCTRL_H_ |
| OLD | NEW |