1 // Copyright 2016 The PDFium Authors 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 "xfa/fwl/cfwl_eventscroll.h" 8 9 namespace pdfium { 10 CFWL_EventScroll(CFWL_Widget * pSrcTarget,Code code,float pos)11CFWL_EventScroll::CFWL_EventScroll(CFWL_Widget* pSrcTarget, 12 Code code, 13 float pos) 14 : CFWL_Event(CFWL_Event::Type::Scroll, pSrcTarget), 15 m_iScrollCode(code), 16 m_fPos(pos) {} 17 18 CFWL_EventScroll::~CFWL_EventScroll() = default; 19 20 } // namespace pdfium 21