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_CHECKBOX_H_ | 7 #ifndef _FFL_CHECKBOX_H_ |
8 #define _FFL_CHECKBOX_H_ | 8 #define _FFL_CHECKBOX_H_ |
9 | 9 |
| 10 #include "FFL_FormFiller.h" |
| 11 |
10 class CFFL_CheckBox : public CFFL_Button | 12 class CFFL_CheckBox : public CFFL_Button |
11 { | 13 { |
12 public: | 14 public: |
13 CFFL_CheckBox(CPDFDoc_Environment* pApp, CPDFSDK_Widget* pWidget); | 15 CFFL_CheckBox(CPDFDoc_Environment* pApp, CPDFSDK_Widget* pWidget); |
14 virtual ~CFFL_CheckBox(); | 16 virtual ~CFFL_CheckBox(); |
15 | 17 |
16 virtual CPWL_Wnd* NewPDFWindow(const PWL_CREATEPAR
AM& cp, CPDFSDK_PageView* pPageView); | 18 virtual CPWL_Wnd* NewPDFWindow(const PWL_CREATEPAR
AM& cp, CPDFSDK_PageView* pPageView); |
17 | 19 |
18 virtual FX_BOOL OnKeyDown(CPDFSDK_Annot* pAnnot,
FX_UINT nKeyCode, FX_UINT nFlags); | 20 virtual FX_BOOL OnKeyDown(CPDFSDK_Annot* pAnnot,
FX_UINT nKeyCode, FX_UINT nFlags); |
19 virtual FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX
_UINT nChar, FX_UINT nFlags); | 21 virtual FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX
_UINT nChar, FX_UINT nFlags); |
20 virtual FX_BOOL OnLButtonUp(CPDFSDK_PageView *pP
ageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point); | 22 virtual FX_BOOL OnLButtonUp(CPDFSDK_PageView *pP
ageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point); |
21 | 23 |
22 virtual FX_BOOL IsDataChanged(CPDFSDK_PageView*
pPageView); | 24 virtual FX_BOOL IsDataChanged(CPDFSDK_PageView*
pPageView); |
23 virtual void SaveData(CPDFSDK_PageView* pPage
View); | 25 virtual void SaveData(CPDFSDK_PageView* pPage
View); |
24 }; | 26 }; |
25 | 27 |
26 #endif //_FFL_CHECKBOX_H_ | 28 #endif //_FFL_CHECKBOX_H_ |
27 | 29 |
OLD | NEW |