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