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 "xfa/include/fwl/lightwidget/widget.h" | 7 #include "xfa/include/fwl/lightwidget/widget.h" |
8 | 8 |
9 #include "xfa/include/fwl/core/fwl_theme.h" | 9 #include "xfa/include/fwl/core/fwl_theme.h" |
10 #include "xfa/include/fwl/core/fwl_thread.h" | 10 #include "xfa/include/fwl/core/fwl_thread.h" |
11 #include "xfa/src/fdp/include/fde_tto.h" | 11 #include "xfa/src/fdp/include/fde_tto.h" |
12 #include "xfa/src/fwl/src/core/fwl_noteimp.h" | 12 #include "xfa/src/fwl/core/fwl_noteimp.h" |
13 #include "xfa/src/fwl/src/core/fwl_noteimp.h" | 13 #include "xfa/src/fwl/core/fwl_noteimp.h" |
14 #include "xfa/src/fwl/src/core/fwl_targetimp.h" | 14 #include "xfa/src/fwl/core/fwl_targetimp.h" |
15 #include "xfa/src/fwl/src/core/fwl_widgetimp.h" | 15 #include "xfa/src/fwl/core/fwl_widgetimp.h" |
16 #include "xfa/src/fwl/src/core/fwl_widgetmgrimp.h" | 16 #include "xfa/src/fwl/core/fwl_widgetmgrimp.h" |
17 | 17 |
18 CFWL_WidgetImpProperties CFWL_WidgetProperties::MakeWidgetImpProperties( | 18 CFWL_WidgetImpProperties CFWL_WidgetProperties::MakeWidgetImpProperties( |
19 IFWL_DataProvider* pDataProvider) const { | 19 IFWL_DataProvider* pDataProvider) const { |
20 CFWL_WidgetImpProperties result; | 20 CFWL_WidgetImpProperties result; |
21 result.m_ctmOnParent = m_ctmOnParent; | 21 result.m_ctmOnParent = m_ctmOnParent; |
22 result.m_rtWidget = m_rtWidget; | 22 result.m_rtWidget = m_rtWidget; |
23 result.m_dwStyles = m_dwStyles; | 23 result.m_dwStyles = m_dwStyles; |
24 result.m_dwStyleExes = m_dwStyleExes; | 24 result.m_dwStyleExes = m_dwStyleExes; |
25 result.m_dwStates = m_dwStates; | 25 result.m_dwStates = m_dwStates; |
26 if (m_pParent) | 26 if (m_pParent) |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 int32_t CFWL_WidgetDelegate::OnProcessMessage(CFWL_Message* pMessage) { | 309 int32_t CFWL_WidgetDelegate::OnProcessMessage(CFWL_Message* pMessage) { |
310 return 1; | 310 return 1; |
311 } | 311 } |
312 FWL_ERR CFWL_WidgetDelegate::OnProcessEvent(CFWL_Event* pEvent) { | 312 FWL_ERR CFWL_WidgetDelegate::OnProcessEvent(CFWL_Event* pEvent) { |
313 return FWL_ERR_Succeeded; | 313 return FWL_ERR_Succeeded; |
314 } | 314 } |
315 FWL_ERR CFWL_WidgetDelegate::OnDrawWidget(CFX_Graphics* pGraphics, | 315 FWL_ERR CFWL_WidgetDelegate::OnDrawWidget(CFX_Graphics* pGraphics, |
316 const CFX_Matrix* pMatrix) { | 316 const CFX_Matrix* pMatrix) { |
317 return FWL_ERR_Succeeded; | 317 return FWL_ERR_Succeeded; |
318 } | 318 } |
OLD | NEW |