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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 m_pNormalWidget->SetWidgetRect(rtImage); | 116 m_pNormalWidget->SetWidgetRect(rtImage); |
117 } | 117 } |
118 FX_BOOL CXFA_FFImageEdit::CommitData() { | 118 FX_BOOL CXFA_FFImageEdit::CommitData() { |
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 |
127 return m_pOldDelegate->OnProcessMessage(pMessage); | 127 void CXFA_FFImageEdit::OnProcessMessage(CFWL_Message* pMessage) { |
| 128 m_pOldDelegate->OnProcessMessage(pMessage); |
128 } | 129 } |
129 FWL_ERR CXFA_FFImageEdit::OnProcessEvent(CFWL_Event* pEvent) { | 130 |
| 131 void CXFA_FFImageEdit::OnProcessEvent(CFWL_Event* pEvent) { |
130 CXFA_FFField::OnProcessEvent(pEvent); | 132 CXFA_FFField::OnProcessEvent(pEvent); |
131 return m_pOldDelegate->OnProcessEvent(pEvent); | 133 m_pOldDelegate->OnProcessEvent(pEvent); |
132 } | 134 } |
133 FWL_ERR CXFA_FFImageEdit::OnDrawWidget(CFX_Graphics* pGraphics, | 135 |
134 const CFX_Matrix* pMatrix) { | 136 void CXFA_FFImageEdit::OnDrawWidget(CFX_Graphics* pGraphics, |
135 return m_pOldDelegate->OnDrawWidget(pGraphics, pMatrix); | 137 const CFX_Matrix* pMatrix) { |
| 138 m_pOldDelegate->OnDrawWidget(pGraphics, pMatrix); |
136 } | 139 } |
OLD | NEW |