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_H | 7 #ifndef XFA_INCLUDE_FWL_BASEWIDGET_FWL_TOOLTIPCTRL_H_ |
8 #define _FWL_TOOLTIP_H | 8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_TOOLTIPCTRL_H_ |
| 9 |
9 class CFWL_WidgetImpProperties; | 10 class CFWL_WidgetImpProperties; |
10 class IFWL_Form; | 11 class IFWL_Form; |
11 class IFWL_ToolTipDP; | 12 class IFWL_ToolTipDP; |
12 class IFWL_ToolTip; | 13 class IFWL_ToolTip; |
13 #define FWL_CLASS_ToolTip L"FWL_TOOLTIP" | 14 #define FWL_CLASS_ToolTip L"FWL_TOOLTIP" |
14 #define FWL_CLASSHASH_ToolTip 1111984755 | 15 #define FWL_CLASSHASH_ToolTip 1111984755 |
15 #define FWL_STYLEEXT_TTP_Rectangle (0L << 3) | 16 #define FWL_STYLEEXT_TTP_Rectangle (0L << 3) |
16 #define FWL_STYLEEXT_TTP_RoundCorner (1L << 3) | 17 #define FWL_STYLEEXT_TTP_RoundCorner (1L << 3) |
17 #define FWL_STYLEEXT_TTP_Balloon (1L << 4) | 18 #define FWL_STYLEEXT_TTP_Balloon (1L << 4) |
18 #define FWL_STYLEEXT_TTP_Multiline (1L << 5) | 19 #define FWL_STYLEEXT_TTP_Multiline (1L << 5) |
(...skipping 15 matching lines...) Expand all Loading... |
34 static IFWL_ToolTip* Create(const CFWL_WidgetImpProperties& properties, | 35 static IFWL_ToolTip* Create(const CFWL_WidgetImpProperties& properties, |
35 IFWL_Widget* pOuter); | 36 IFWL_Widget* pOuter); |
36 | 37 |
37 FWL_ERR SetAnchor(const CFX_RectF& rtAnchor); | 38 FWL_ERR SetAnchor(const CFX_RectF& rtAnchor); |
38 FWL_ERR Show(); | 39 FWL_ERR Show(); |
39 FWL_ERR Hide(); | 40 FWL_ERR Hide(); |
40 | 41 |
41 protected: | 42 protected: |
42 IFWL_ToolTip(); | 43 IFWL_ToolTip(); |
43 }; | 44 }; |
44 #endif | 45 |
| 46 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_TOOLTIPCTRL_H_ |
OLD | NEW |