Home | History | Annotate | Download | only in formfiller
      1 // Copyright 2014 PDFium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
      6 
      7 #ifndef _FFL_RADIOBUTTON_H_
      8 #define _FFL_RADIOBUTTON_H_
      9 
     10 class CFFL_RadioButton : public CFFL_Button
     11 {
     12 public:
     13 	CFFL_RadioButton(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot);
     14 	virtual ~CFFL_RadioButton();
     15 
     16 	virtual CPWL_Wnd*			NewPDFWindow(const PWL_CREATEPARAM& cp, CPDFSDK_PageView* pPageView);
     17   	virtual FX_BOOL				OnKeyDown(CPDFSDK_Annot* pAnnot, FX_UINT nKeyCode, FX_UINT nFlags);
     18 	virtual FX_BOOL				OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags);
     19 	virtual FX_BOOL				OnLButtonUp(CPDFSDK_PageView *pPageView, CPDFSDK_Annot* pAnnot, FX_UINT nFlags, const CPDF_Point& point);
     20 	virtual FX_BOOL				IsDataChanged(CPDFSDK_PageView* pPageView);
     21 	virtual void				SaveData(CPDFSDK_PageView* pPageView);
     22 };
     23 
     24 #endif //_FFL_RADIOBUTTON_H_
     25 
     26