Initial commit.
[pdfium.git] / fpdfsdk / include / formfiller / FFL_PushButton.h
1 // Copyright 2014 PDFium Authors. All rights reserved.\r
2 // Use of this source code is governed by a BSD-style license that can be\r
3 // found in the LICENSE file.\r
4  \r
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com\r
6 \r
7 #ifndef _FFL_PUSHBUTTON_H_\r
8 #define _FFL_PUSHBUTTON_H_\r
9 \r
10 class CFFL_PushButton : public CFFL_Button\r
11 {\r
12 public:\r
13         CFFL_PushButton(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pAnnot);\r
14         virtual ~CFFL_PushButton();\r
15 \r
16         virtual CPWL_Wnd*                       NewPDFWindow(const PWL_CREATEPARAM& cp, CPDFSDK_PageView* pPageView);\r
17 \r
18         virtual FX_BOOL                         OnChar(CPDFSDK_Annot* pAnnot, FX_UINT nChar, FX_UINT nFlags);\r
19         virtual void                            OnDraw(CPDFSDK_PageView *pPageView,  CPDFSDK_Annot* pAnnot, \r
20                                                                         CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2Device,\r
21                                                                         FX_DWORD dwFlags);\r
22 };\r
23 \r
24 #endif //_FFL_PUSHBUTTON_H_\r
25 \r