xref: /aosp_15_r20/external/pdfium/xfa/fwl/cfwl_messagemouse.cpp (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
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 
CFWL_MessageMouse(CFWL_Widget * pDstTarget,MouseCommand cmd,Mask<XFA_FWL_KeyFlag> flags,CFX_PointF pos)9 CFWL_MessageMouse::CFWL_MessageMouse(CFWL_Widget* pDstTarget,
10                                      MouseCommand cmd,
11                                      Mask<XFA_FWL_KeyFlag> flags,
12                                      CFX_PointF pos)
13     : CFWL_Message(CFWL_Message::Type::kMouse, pDstTarget),
14       m_dwCmd(cmd),
15       m_dwFlags(flags),
16       m_pos(pos) {}
17 
18 CFWL_MessageMouse::~CFWL_MessageMouse() = default;
19