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 "fpdfsdk/include/formfiller/FFL_FormFiller.h" | 7 #include "fpdfsdk/include/formfiller/FFL_FormFiller.h" |
8 #include "fpdfsdk/include/formfiller/FFL_PushButton.h" | 8 #include "fpdfsdk/include/formfiller/FFL_PushButton.h" |
9 #include "fpdfsdk/include/formfiller/FormFiller.h" | 9 #include "fpdfsdk/include/formfiller/FormFiller.h" |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 FX_BOOL CFFL_PushButton::OnChar(CPDFSDK_Annot* pAnnot, | 28 FX_BOOL CFFL_PushButton::OnChar(CPDFSDK_Annot* pAnnot, |
29 FX_UINT nChar, | 29 FX_UINT nChar, |
30 FX_UINT nFlags) { | 30 FX_UINT nFlags) { |
31 return CFFL_FormFiller::OnChar(pAnnot, nChar, nFlags); | 31 return CFFL_FormFiller::OnChar(pAnnot, nChar, nFlags); |
32 } | 32 } |
33 | 33 |
34 void CFFL_PushButton::OnDraw(CPDFSDK_PageView* pPageView, | 34 void CFFL_PushButton::OnDraw(CPDFSDK_PageView* pPageView, |
35 CPDFSDK_Annot* pAnnot, | 35 CPDFSDK_Annot* pAnnot, |
36 CFX_RenderDevice* pDevice, | 36 CFX_RenderDevice* pDevice, |
37 CPDF_Matrix* pUser2Device, | 37 CFX_Matrix* pUser2Device, |
38 FX_DWORD dwFlags) { | 38 FX_DWORD dwFlags) { |
39 CFFL_Button::OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags); | 39 CFFL_Button::OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags); |
40 } | 40 } |
OLD | NEW |