14d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann// Copyright 2016 PDFium Authors. All rights reserved. 24d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann// Use of this source code is governed by a BSD-style license that can be 34d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann// found in the LICENSE file. 44d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann 54d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 64d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann 74d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann#ifndef XFA_FWL_CFWL_MESSAGEMOUSEWHEEL_H_ 84d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann#define XFA_FWL_CFWL_MESSAGEMOUSEWHEEL_H_ 94d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann 104d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann#include <memory> 114d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann 125ae9d0c6fd838a2967cca72aa5751b51dadc2769Philip P. Moltmann#include "core/fxcrt/fx_coordinates.h" 134d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann#include "xfa/fwl/cfwl_message.h" 144d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann 154d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmannclass CFWL_MessageMouseWheel : public CFWL_Message { 164d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann public: 174d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann CFWL_MessageMouseWheel(CFWL_Widget* pSrcTarget, CFWL_Widget* pDstTarget); 185ae9d0c6fd838a2967cca72aa5751b51dadc2769Philip P. Moltmann CFWL_MessageMouseWheel(const CFWL_MessageMouseWheel&); 194d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann ~CFWL_MessageMouseWheel() override; 204d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann 214d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann // CFWL_Message 224d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann std::unique_ptr<CFWL_Message> Clone() override; 234d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann 245ae9d0c6fd838a2967cca72aa5751b51dadc2769Philip P. Moltmann CFX_PointF m_pos; 255ae9d0c6fd838a2967cca72aa5751b51dadc2769Philip P. Moltmann CFX_PointF m_delta; 264d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann uint32_t m_dwFlags; 274d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann}; 284d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann 294d3acf4ec42bf6e838f9060103aff98fbf170794Philip P. Moltmann#endif // XFA_FWL_CFWL_MESSAGEMOUSEWHEEL_H_ 30