Blender V4.3
GHOST_EventTrackpad.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
10#pragma once
11
12#include "GHOST_Event.hh"
13
18 public:
28 GHOST_IWindow *window,
30 int32_t x,
31 int32_t y,
32 int32_t deltaX,
33 int32_t deltaY,
34 bool isDirectionInverted)
35 : GHOST_Event(msec, GHOST_kEventTrackpad, window)
36 {
42 m_trackpadEventData.isDirectionInverted = isDirectionInverted;
44 }
45
46 protected:
49};
GHOST_TTrackpadEventSubTypes
@ GHOST_kEventTrackpad
GHOST_TEventTrackpadData m_trackpadEventData
GHOST_EventTrackpad(uint64_t msec, GHOST_IWindow *window, GHOST_TTrackpadEventSubTypes subtype, int32_t x, int32_t y, int32_t deltaX, int32_t deltaY, bool isDirectionInverted)
GHOST_TEventDataPtr m_data
signed int int32_t
Definition stdint.h:77
unsigned __int64 uint64_t
Definition stdint.h:90
GHOST_TTrackpadEventSubTypes subtype