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 _FWL_ToolTip_LIGHT_H | 7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIP_CTRL_H_ |
8 #define _FWL_ToolTip_LIGHT_H | 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIP_CTRL_H_ |
| 9 |
9 class CFWL_Widget; | 10 class CFWL_Widget; |
10 class CFWL_WidgetProperties; | 11 class CFWL_WidgetProperties; |
11 class IFWL_ToolTipDP; | 12 class IFWL_ToolTipDP; |
12 class CFWL_ToolTip; | 13 class CFWL_ToolTip; |
13 class CFWL_ToolTipDP; | 14 class CFWL_ToolTipDP; |
14 class CFWL_ToolTip : public CFWL_Widget { | 15 class CFWL_ToolTip : public CFWL_Widget { |
15 public: | 16 public: |
16 static CFWL_ToolTip* Create(); | 17 static CFWL_ToolTip* Create(); |
17 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); | 18 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); |
18 FWL_ERR GetCaption(CFX_WideString& wsCaption); | 19 FWL_ERR GetCaption(CFX_WideString& wsCaption); |
(...skipping 24 matching lines...) Expand all Loading... |
43 CFX_RectF GetAnchor(); | 44 CFX_RectF GetAnchor(); |
44 CFX_WideString m_wsCaption; | 45 CFX_WideString m_wsCaption; |
45 int32_t m_nInitDelayTime; | 46 int32_t m_nInitDelayTime; |
46 int32_t m_nAutoPopDelayTime; | 47 int32_t m_nAutoPopDelayTime; |
47 CFX_DIBitmap* m_pBitmap; | 48 CFX_DIBitmap* m_pBitmap; |
48 CFX_SizeF m_fIconSize; | 49 CFX_SizeF m_fIconSize; |
49 CFX_RectF m_fAnchor; | 50 CFX_RectF m_fAnchor; |
50 }; | 51 }; |
51 CFWL_ToolTipDP m_tooltipData; | 52 CFWL_ToolTipDP m_tooltipData; |
52 }; | 53 }; |
53 #endif | 54 |
| 55 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIP_CTRL_H_ |
OLD | NEW |