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 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_PUSHBUTTON_H_ | 7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_PUSHBUTTON_H_ |
8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_PUSHBUTTON_H_ | 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_PUSHBUTTON_H_ |
9 | 9 |
10 #include "FFL_FormFiller.h" | 10 #include "FFL_FormFiller.h" |
11 | 11 |
12 class CFFL_PushButton : public CFFL_Button | 12 class CFFL_PushButton : public CFFL_Button { |
13 { | 13 public: |
14 public: | 14 CFFL_PushButton(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot); |
15 » CFFL_PushButton(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot); | 15 virtual ~CFFL_PushButton(); |
16 » virtual ~CFFL_PushButton(); | |
17 | 16 |
18 » virtual CPWL_Wnd*» » » NewPDFWindow(const PWL_CREATEPAR
AM& cp, CPDFSDK_PageView* pPageView); | 17 virtual CPWL_Wnd* NewPDFWindow(const PWL_CREATEPARAM& cp, |
| 18 CPDFSDK_PageView* pPageView); |
19 | 19 |
20 » virtual FX_BOOL»» » » OnChar(CPDFSDK_Annot* pAnnot, FX
_UINT nChar, FX_UINT nFlags); | 20 virtual FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags); |
21 » virtual void» » » » OnDraw(CPDFSDK_PageView *pPageVi
ew, CPDFSDK_Annot* pAnnot, | 21 virtual void OnDraw(CPDFSDK_PageView* pPageView, |
22 » » » » » » » » » CFX_Rend
erDevice* pDevice, CPDF_Matrix* pUser2Device, | 22 CPDFSDK_Annot* pAnnot, |
23 » » » » » » » » » FX_DWORD
dwFlags); | 23 CFX_RenderDevice* pDevice, |
| 24 CPDF_Matrix* pUser2Device, |
| 25 FX_DWORD dwFlags); |
24 }; | 26 }; |
25 | 27 |
26 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_PUSHBUTTON_H_ | 28 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_PUSHBUTTON_H_ |
OLD | NEW |