| 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/fxfa/app/xfa_fffield.h" | 7 #include "xfa/fxfa/app/xfa_fffield.h" |
| 8 | 8 |
| 9 #include "xfa/fwl/basewidget/ifwl_edit.h" | 9 #include "xfa/fwl/basewidget/ifwl_edit.h" |
| 10 #include "xfa/fwl/core/cfwl_message.h" | 10 #include "xfa/fwl/core/cfwl_message.h" |
| 11 #include "xfa/fwl/core/ifwl_widgetmgrdelegate.h" | 11 #include "xfa/fwl/core/ifwl_widgetmgrdelegate.h" |
| 12 #include "xfa/fwl/lightwidget/cfwl_edit.h" | 12 #include "xfa/fwl/lightwidget/cfwl_edit.h" |
| 13 #include "xfa/fwl/lightwidget/cfwl_picturebox.h" | 13 #include "xfa/fwl/lightwidget/cfwl_picturebox.h" |
| 14 #include "xfa/fxfa/app/xfa_ffwidget.h" | |
| 15 #include "xfa/fxfa/app/xfa_fwltheme.h" | 14 #include "xfa/fxfa/app/xfa_fwltheme.h" |
| 16 #include "xfa/fxfa/app/xfa_textlayout.h" | 15 #include "xfa/fxfa/app/xfa_textlayout.h" |
| 17 #include "xfa/fxgraphics/cfx_color.h" | 16 #include "xfa/fxgraphics/cfx_color.h" |
| 18 #include "xfa/fxgraphics/cfx_path.h" | 17 #include "xfa/fxgraphics/cfx_path.h" |
| 19 #include "xfa/include/fxfa/xfa_ffapp.h" | 18 #include "xfa/include/fxfa/xfa_ffapp.h" |
| 20 #include "xfa/include/fxfa/xfa_ffdoc.h" | 19 #include "xfa/include/fxfa/xfa_ffdoc.h" |
| 21 #include "xfa/include/fxfa/xfa_ffdocview.h" | 20 #include "xfa/include/fxfa/xfa_ffdocview.h" |
| 22 #include "xfa/include/fxfa/xfa_ffpageview.h" | 21 #include "xfa/include/fxfa/xfa_ffpageview.h" |
| 22 #include "xfa/include/fxfa/xfa_ffwidget.h" |
| 23 | 23 |
| 24 CXFA_FFField::CXFA_FFField(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc) | 24 CXFA_FFField::CXFA_FFField(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc) |
| 25 : CXFA_FFWidget(pPageView, pDataAcc), m_pNormalWidget(NULL) { | 25 : CXFA_FFWidget(pPageView, pDataAcc), m_pNormalWidget(NULL) { |
| 26 m_rtUI.Set(0, 0, 0, 0); | 26 m_rtUI.Set(0, 0, 0, 0); |
| 27 m_rtCaption.Set(0, 0, 0, 0); | 27 m_rtCaption.Set(0, 0, 0, 0); |
| 28 } | 28 } |
| 29 CXFA_FFField::~CXFA_FFField() { | 29 CXFA_FFField::~CXFA_FFField() { |
| 30 CXFA_FFField::UnloadWidget(); | 30 CXFA_FFField::UnloadWidget(); |
| 31 } | 31 } |
| 32 | 32 |
| (...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 829 break; | 829 break; |
| 830 } | 830 } |
| 831 default: {} | 831 default: {} |
| 832 } | 832 } |
| 833 return FWL_ERR_Succeeded; | 833 return FWL_ERR_Succeeded; |
| 834 } | 834 } |
| 835 FWL_ERR CXFA_FFField::OnDrawWidget(CFX_Graphics* pGraphics, | 835 FWL_ERR CXFA_FFField::OnDrawWidget(CFX_Graphics* pGraphics, |
| 836 const CFX_Matrix* pMatrix) { | 836 const CFX_Matrix* pMatrix) { |
| 837 return FWL_ERR_Succeeded; | 837 return FWL_ERR_Succeeded; |
| 838 } | 838 } |
| OLD | NEW |