• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_messagemouse.h"
8 
9 namespace pdfium {
10 
CFWL_MessageMouse(CFWL_Widget * pDstTarget,MouseCommand cmd,Mask<XFA_FWL_KeyFlag> flags,CFX_PointF pos)11 CFWL_MessageMouse::CFWL_MessageMouse(CFWL_Widget* pDstTarget,
12                                      MouseCommand cmd,
13                                      Mask<XFA_FWL_KeyFlag> flags,
14                                      CFX_PointF pos)
15     : CFWL_Message(CFWL_Message::Type::kMouse, pDstTarget),
16       m_dwCmd(cmd),
17       m_dwFlags(flags),
18       m_pos(pos) {}
19 
20 CFWL_MessageMouse::~CFWL_MessageMouse() = default;
21 
22 }  // namespace pdfium
23