Blender
V4.5
intern
ghost
intern
GHOST_EventButton.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
9
10
#pragma once
11
12
#include "
GHOST_Event.hh
"
13
#include "
GHOST_Window.hh
"
14
18
class
GHOST_EventButton
:
public
GHOST_Event
{
19
public
:
28
GHOST_EventButton
(
uint64_t
time,
29
GHOST_TEventType
type,
30
GHOST_IWindow
*window,
31
GHOST_TButton
button,
32
const
GHOST_TabletData
&tablet)
33
:
GHOST_Event
(time, type, window),
m_buttonEventData
({button, tablet})
34
{
35
m_data
= &
m_buttonEventData
;
36
}
37
38
protected
:
40
GHOST_TEventButtonData
m_buttonEventData
;
41
};
GHOST_Event.hh
GHOST_TEventType
GHOST_TEventType
Definition
GHOST_Types.h:251
GHOST_TButton
GHOST_TButton
Definition
GHOST_Types.h:237
GHOST_Window.hh
uint64_t
unsigned long long int uint64_t
Definition
btConvexHullComputer.cpp:33
m_data
btAlignedObjectArray< btScalar > m_data
Definition
btMultiBodyConstraint.h:80
GHOST_EventButton::m_buttonEventData
GHOST_TEventButtonData m_buttonEventData
Definition
GHOST_EventButton.hh:40
GHOST_EventButton::GHOST_EventButton
GHOST_EventButton(uint64_t time, GHOST_TEventType type, GHOST_IWindow *window, GHOST_TButton button, const GHOST_TabletData &tablet)
Definition
GHOST_EventButton.hh:28
GHOST_Event::GHOST_Event
GHOST_Event(uint64_t msec, GHOST_TEventType type, GHOST_IWindow *window)
Definition
GHOST_Event.hh:25
GHOST_IWindow
Definition
GHOST_IWindow.hh:34
GHOST_TEventButtonData
Definition
GHOST_Types.h:574
GHOST_TabletData
Definition
GHOST_Types.h:166
Generated on
for Blender by
doxygen
1.16.1