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