| 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 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "../../../foxitlib.h" | 9 #include "xfa/src/foxitlib.h" |
| 10 #include "../core/include/fwl_targetimp.h" | 10 #include "xfa/src/fwl/src/core/include/fwl_targetimp.h" |
| 11 #include "../core/include/fwl_noteimp.h" | 11 #include "xfa/src/fwl/src/core/include/fwl_noteimp.h" |
| 12 #include "../core/include/fwl_widgetimp.h" | 12 #include "xfa/src/fwl/src/core/include/fwl_widgetimp.h" |
| 13 #include "../core/include/fwl_panelimp.h" | 13 #include "xfa/src/fwl/src/core/include/fwl_panelimp.h" |
| 14 #include "../core/include/fwl_formimp.h" | 14 #include "xfa/src/fwl/src/core/include/fwl_formimp.h" |
| 15 #include "../core/include/fwl_threadimp.h" | 15 #include "xfa/src/fwl/src/core/include/fwl_threadimp.h" |
| 16 | 16 |
| 17 CFWL_ToolTip* CFWL_ToolTip::Create() { | 17 CFWL_ToolTip* CFWL_ToolTip::Create() { |
| 18 return new CFWL_ToolTip; | 18 return new CFWL_ToolTip; |
| 19 } | 19 } |
| 20 FWL_ERR CFWL_ToolTip::Initialize(const CFWL_WidgetProperties* pProperties) { | 20 FWL_ERR CFWL_ToolTip::Initialize(const CFWL_WidgetProperties* pProperties) { |
| 21 if (m_pIface) | 21 if (m_pIface) |
| 22 return FWL_ERR_Indefinite; | 22 return FWL_ERR_Indefinite; |
| 23 if (pProperties) { | 23 if (pProperties) { |
| 24 *m_pProperties = *pProperties; | 24 *m_pProperties = *pProperties; |
| 25 } | 25 } |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 IFWL_Widget* pWidget) { | 102 IFWL_Widget* pWidget) { |
| 103 return m_pBitmap; | 103 return m_pBitmap; |
| 104 } | 104 } |
| 105 CFX_SizeF CFWL_ToolTip::CFWL_ToolTipDP::GetToolTipIconSize( | 105 CFX_SizeF CFWL_ToolTip::CFWL_ToolTipDP::GetToolTipIconSize( |
| 106 IFWL_Widget* pWidget) { | 106 IFWL_Widget* pWidget) { |
| 107 return m_fIconSize; | 107 return m_fIconSize; |
| 108 } | 108 } |
| 109 CFX_RectF CFWL_ToolTip::CFWL_ToolTipDP::GetAnchor() { | 109 CFX_RectF CFWL_ToolTip::CFWL_ToolTipDP::GetAnchor() { |
| 110 return m_fAnchor; | 110 return m_fAnchor; |
| 111 } | 111 } |
| OLD | NEW |