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