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 #include "fpdfsdk/formfiller/cffl_pushbutton.h" 8 9 #include "fpdfsdk/formfiller/cffl_formfiller.h" 10 #include "fpdfsdk/pwl/cpwl_special_button.h" 11 CFFL_PushButton(CPDFSDK_FormFillEnvironment * pApp,CPDFSDK_Widget * pWidget)12CFFL_PushButton::CFFL_PushButton(CPDFSDK_FormFillEnvironment* pApp, 13 CPDFSDK_Widget* pWidget) 14 : CFFL_Button(pApp, pWidget) {} 15 ~CFFL_PushButton()16CFFL_PushButton::~CFFL_PushButton() {} 17 NewPDFWindow(const CPWL_Wnd::CreateParams & cp)18CPWL_Wnd* CFFL_PushButton::NewPDFWindow(const CPWL_Wnd::CreateParams& cp) { 19 auto* pWnd = new CPWL_PushButton(); 20 pWnd->Create(cp); 21 return pWnd; 22 } 23