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_ffimageedit.h" | 7 #include "xfa/fxfa/app/xfa_ffimageedit.h" |
8 | 8 |
9 #include "xfa/fwl/core/cfwl_message.h" | 9 #include "xfa/fwl/core/cfwl_message.h" |
10 #include "xfa/fwl/core/fwl_noteimp.h" | 10 #include "xfa/fwl/core/fwl_noteimp.h" |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 return TRUE; | 119 return TRUE; |
120 } | 120 } |
121 FX_BOOL CXFA_FFImageEdit::UpdateFWLData() { | 121 FX_BOOL CXFA_FFImageEdit::UpdateFWLData() { |
122 m_pDataAcc->SetImageEditImage(NULL); | 122 m_pDataAcc->SetImageEditImage(NULL); |
123 m_pDataAcc->LoadImageEditImage(); | 123 m_pDataAcc->LoadImageEditImage(); |
124 return TRUE; | 124 return TRUE; |
125 } | 125 } |
126 int32_t CXFA_FFImageEdit::OnProcessMessage(CFWL_Message* pMessage) { | 126 int32_t CXFA_FFImageEdit::OnProcessMessage(CFWL_Message* pMessage) { |
127 return m_pOldDelegate->OnProcessMessage(pMessage); | 127 return m_pOldDelegate->OnProcessMessage(pMessage); |
128 } | 128 } |
129 FWL_ERR CXFA_FFImageEdit::OnProcessEvent(CFWL_Event* pEvent) { | 129 FWL_Error CXFA_FFImageEdit::OnProcessEvent(CFWL_Event* pEvent) { |
130 CXFA_FFField::OnProcessEvent(pEvent); | 130 CXFA_FFField::OnProcessEvent(pEvent); |
131 return m_pOldDelegate->OnProcessEvent(pEvent); | 131 return m_pOldDelegate->OnProcessEvent(pEvent); |
132 } | 132 } |
133 FWL_ERR CXFA_FFImageEdit::OnDrawWidget(CFX_Graphics* pGraphics, | 133 FWL_Error CXFA_FFImageEdit::OnDrawWidget(CFX_Graphics* pGraphics, |
134 const CFX_Matrix* pMatrix) { | 134 const CFX_Matrix* pMatrix) { |
135 return m_pOldDelegate->OnDrawWidget(pGraphics, pMatrix); | 135 return m_pOldDelegate->OnDrawWidget(pGraphics, pMatrix); |
136 } | 136 } |
OLD | NEW |