1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 #ifndef INCLUDED_VCL_GESTUREEVENT_HXX
12 #define INCLUDED_VCL_GESTUREEVENT_HXX
14 #include <vcl/dllapi.h>
16 enum class GestureEventType
23 enum class PanningOrientation
29 class VCL_DLLPUBLIC GestureEvent
34 GestureEventType meEventType
;
37 PanningOrientation meOrientation
;
42 , meEventType(GestureEventType::PanningBegin
)
44 , meOrientation(PanningOrientation::Horizontal
)
48 GestureEvent(sal_Int32 nX
, sal_Int32 nY
, GestureEventType eEventType
, sal_Int32 nOffset
,
49 PanningOrientation eOrientation
)
52 , meEventType(eEventType
)
54 , meOrientation(eOrientation
)
59 #endif // INCLUDED_VCL_GESTUREEVENT_HXX
61 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */