| 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/cfwl_widgetmgr.h" | 11 #include "xfa/fwl/core/cfwl_widgetmgr.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_fwltheme.h" | 14 #include "xfa/fxfa/app/xfa_fwltheme.h" | 
| 15 #include "xfa/fxfa/app/xfa_textlayout.h" | 15 #include "xfa/fxfa/app/xfa_textlayout.h" | 
| 16 #include "xfa/fxfa/include/xfa_ffapp.h" | 16 #include "xfa/fxfa/xfa_ffapp.h" | 
| 17 #include "xfa/fxfa/include/xfa_ffdoc.h" | 17 #include "xfa/fxfa/xfa_ffdoc.h" | 
| 18 #include "xfa/fxfa/include/xfa_ffdocview.h" | 18 #include "xfa/fxfa/xfa_ffdocview.h" | 
| 19 #include "xfa/fxfa/include/xfa_ffpageview.h" | 19 #include "xfa/fxfa/xfa_ffpageview.h" | 
| 20 #include "xfa/fxfa/include/xfa_ffwidget.h" | 20 #include "xfa/fxfa/xfa_ffwidget.h" | 
| 21 #include "xfa/fxgraphics/cfx_color.h" | 21 #include "xfa/fxgraphics/cfx_color.h" | 
| 22 #include "xfa/fxgraphics/cfx_path.h" | 22 #include "xfa/fxgraphics/cfx_path.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(nullptr) { | 25     : CXFA_FFWidget(pPageView, pDataAcc), m_pNormalWidget(nullptr) { | 
| 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(); | 
| (...skipping 787 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 818       m_pDataAcc->ProcessEvent(XFA_ATTRIBUTEENUM_Click, &eParam); | 818       m_pDataAcc->ProcessEvent(XFA_ATTRIBUTEENUM_Click, &eParam); | 
| 819       break; | 819       break; | 
| 820     } | 820     } | 
| 821     default: | 821     default: | 
| 822       break; | 822       break; | 
| 823   } | 823   } | 
| 824 } | 824 } | 
| 825 | 825 | 
| 826 void CXFA_FFField::OnDrawWidget(CFX_Graphics* pGraphics, | 826 void CXFA_FFField::OnDrawWidget(CFX_Graphics* pGraphics, | 
| 827                                 const CFX_Matrix* pMatrix) {} | 827                                 const CFX_Matrix* pMatrix) {} | 
| OLD | NEW | 
|---|