Blender
V5.0
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),
button_event_data_
({button, tablet})
34
{
35
data_
= &
button_event_data_
;
36
}
37
38
protected
:
40
GHOST_TEventButtonData
button_event_data_
;
41
};
GHOST_Event.hh
GHOST_TEventType
GHOST_TEventType
Definition
GHOST_Types.h:307
GHOST_TButton
GHOST_TButton
Definition
GHOST_Types.h:293
GHOST_Window.hh
uint64_t
unsigned long long int uint64_t
Definition
btConvexHullComputer.cpp:33
GHOST_EventButton::button_event_data_
GHOST_TEventButtonData button_event_data_
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_Event::data_
GHOST_TEventDataPtr data_
Definition
GHOST_Event.hh:62
GHOST_IWindow
Definition
GHOST_IWindow.hh:34
GHOST_TEventButtonData
Definition
GHOST_Types.h:635
GHOST_TabletData
Definition
GHOST_Types.h:222
Generated on
for Blender by
doxygen
1.16.1