Blender
V5.0
intern
ghost
intern
GHOST_EventCursor.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
17
class
GHOST_EventCursor
:
public
GHOST_Event
{
18
public
:
27
GHOST_EventCursor
(
uint64_t
msec,
28
GHOST_TEventType
type,
29
GHOST_IWindow
*window,
30
int32_t
x
,
31
int32_t
y
,
32
const
GHOST_TabletData
&tablet)
33
:
GHOST_Event
(msec, type, window),
cursor_event_data_
({
x
,
y
, tablet})
34
{
35
data_
= &
cursor_event_data_
;
36
}
37
38
protected
:
40
GHOST_TEventCursorData
cursor_event_data_
;
41
};
x
x
Definition
BLI_expr_pylike_eval_test.cc:345
GHOST_Event.hh
GHOST_TEventType
GHOST_TEventType
Definition
GHOST_Types.h:307
int32_t
int int32_t
Definition
btConvexHullComputer.cpp:30
uint64_t
unsigned long long int uint64_t
Definition
btConvexHullComputer.cpp:33
GHOST_EventCursor::GHOST_EventCursor
GHOST_EventCursor(uint64_t msec, GHOST_TEventType type, GHOST_IWindow *window, int32_t x, int32_t y, const GHOST_TabletData &tablet)
Definition
GHOST_EventCursor.hh:27
GHOST_EventCursor::cursor_event_data_
GHOST_TEventCursorData cursor_event_data_
Definition
GHOST_EventCursor.hh:40
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
y
y
Definition
compositor_morphological_blur_infos.hh:22
GHOST_TEventCursorData
Definition
GHOST_Types.h:626
GHOST_TabletData
Definition
GHOST_Types.h:222
Generated on
for Blender by
doxygen
1.16.1