Blender
V4.3
intern
ghost
intern
GHOST_EventNDOF.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2002-2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
9
#pragma once
10
11
#ifndef WITH_INPUT_NDOF
12
# error NDOF code included in non-NDOF-enabled build
13
#endif
14
15
#include "
GHOST_Event.hh
"
16
17
class
GHOST_EventNDOFMotion
:
public
GHOST_Event
{
18
protected
:
19
GHOST_TEventNDOFMotionData
m_axisData
;
20
21
public
:
22
GHOST_EventNDOFMotion
(
uint64_t
time,
GHOST_IWindow
*window)
23
:
GHOST_Event
(time, GHOST_kEventNDOFMotion, window)
24
{
25
m_data
= &
m_axisData
;
26
}
27
};
28
29
class
GHOST_EventNDOFButton
:
public
GHOST_Event
{
30
protected
:
31
GHOST_TEventNDOFButtonData
m_buttonData
;
32
33
public
:
34
GHOST_EventNDOFButton
(
uint64_t
time,
GHOST_IWindow
*window)
35
:
GHOST_Event
(time, GHOST_kEventNDOFButton, window)
36
{
37
m_data
= &
m_buttonData
;
38
}
39
};
GHOST_Event.hh
GHOST_EventNDOFButton
Definition
GHOST_EventNDOF.hh:29
GHOST_EventNDOFButton::m_buttonData
GHOST_TEventNDOFButtonData m_buttonData
Definition
GHOST_EventNDOF.hh:31
GHOST_EventNDOFButton::GHOST_EventNDOFButton
GHOST_EventNDOFButton(uint64_t time, GHOST_IWindow *window)
Definition
GHOST_EventNDOF.hh:34
GHOST_EventNDOFMotion
Definition
GHOST_EventNDOF.hh:17
GHOST_EventNDOFMotion::GHOST_EventNDOFMotion
GHOST_EventNDOFMotion(uint64_t time, GHOST_IWindow *window)
Definition
GHOST_EventNDOF.hh:22
GHOST_EventNDOFMotion::m_axisData
GHOST_TEventNDOFMotionData m_axisData
Definition
GHOST_EventNDOF.hh:19
GHOST_Event
Definition
GHOST_Event.hh:17
GHOST_Event::m_data
GHOST_TEventDataPtr m_data
Definition
GHOST_Event.hh:75
GHOST_IWindow
Definition
GHOST_IWindow.hh:34
uint64_t
unsigned __int64 uint64_t
Definition
stdint.h:90
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0