| 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_BASEWIDGET_FWL_TOOLTIPCTRL_H_ | 7 #ifndef XFA_INCLUDE_FWL_BASEWIDGET_FWL_TOOLTIPCTRL_H_ |
| 8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_TOOLTIPCTRL_H_ | 8 #define XFA_INCLUDE_FWL_BASEWIDGET_FWL_TOOLTIPCTRL_H_ |
| 9 | 9 |
| 10 #include "xfa/include/fwl/core/fwl_form.h" | 10 #include "xfa/include/fwl/core/fwl_form.h" |
| 11 | 11 |
| 12 class CFWL_WidgetImpProperties; | 12 class CFWL_WidgetImpProperties; |
| 13 class IFWL_ToolTipDP; | |
| 14 class IFWL_ToolTip; | 13 class IFWL_ToolTip; |
| 15 | 14 |
| 16 #define FWL_CLASS_ToolTip L"FWL_TOOLTIP" | 15 #define FWL_CLASS_ToolTip L"FWL_TOOLTIP" |
| 17 #define FWL_CLASSHASH_ToolTip 1111984755 | 16 #define FWL_CLASSHASH_ToolTip 1111984755 |
| 18 #define FWL_STYLEEXT_TTP_Rectangle (0L << 3) | 17 #define FWL_STYLEEXT_TTP_Rectangle (0L << 3) |
| 19 #define FWL_STYLEEXT_TTP_RoundCorner (1L << 3) | 18 #define FWL_STYLEEXT_TTP_RoundCorner (1L << 3) |
| 20 #define FWL_STYLEEXT_TTP_Balloon (1L << 4) | 19 #define FWL_STYLEEXT_TTP_Balloon (1L << 4) |
| 21 #define FWL_STYLEEXT_TTP_Multiline (1L << 5) | 20 #define FWL_STYLEEXT_TTP_Multiline (1L << 5) |
| 22 #define FWL_STYLEEXT_TTP_NoAnchor (1L << 6) | 21 #define FWL_STYLEEXT_TTP_NoAnchor (1L << 6) |
| 23 #define FWL_PART_TTP_Border 1 | 22 #define FWL_PART_TTP_Border 1 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 40 | 39 |
| 41 FWL_ERR SetAnchor(const CFX_RectF& rtAnchor); | 40 FWL_ERR SetAnchor(const CFX_RectF& rtAnchor); |
| 42 FWL_ERR Show(); | 41 FWL_ERR Show(); |
| 43 FWL_ERR Hide(); | 42 FWL_ERR Hide(); |
| 44 | 43 |
| 45 protected: | 44 protected: |
| 46 IFWL_ToolTip(); | 45 IFWL_ToolTip(); |
| 47 }; | 46 }; |
| 48 | 47 |
| 49 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_TOOLTIPCTRL_H_ | 48 #endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_TOOLTIPCTRL_H_ |
| OLD | NEW |