Blender
V4.3
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
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:246
GHOST_TButton
GHOST_TButton
Definition
GHOST_Types.h:232
GHOST_Window.hh
GHOST_EventButton
Definition
GHOST_EventButton.hh:18
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
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
GHOST_TEventButtonData
Definition
GHOST_Types.h:565
GHOST_TabletData
Definition
GHOST_Types.h:163
Generated on Thu Feb 6 2025 07:36:39 for Blender by
doxygen
1.11.0