Blender  V2.93
Public Member Functions | Protected Attributes | List of all members
GHOST_EventButton Class Reference

#include <GHOST_EventButton.h>

Inherits GHOST_Event.

Public Member Functions

 GHOST_EventButton (GHOST_TUns64 time, GHOST_TEventType type, GHOST_IWindow *window, GHOST_TButtonMask button, const GHOST_TabletData &tablet)
 
- Public Member Functions inherited from GHOST_Event
 GHOST_Event (GHOST_TUns64 msec, GHOST_TEventType type, GHOST_IWindow *window)
 
GHOST_TEventType getType ()
 
GHOST_TUns64 getTime ()
 
GHOST_IWindowgetWindow ()
 
GHOST_TEventDataPtr getData ()
 
- Public Member Functions inherited from GHOST_IEvent
virtual ~GHOST_IEvent ()
 

Protected Attributes

GHOST_TEventButtonData m_buttonEventData
 
- Protected Attributes inherited from GHOST_Event
GHOST_TEventType m_type
 
GHOST_TUns64 m_time
 
GHOST_IWindowm_window
 
GHOST_TEventDataPtr m_data
 

Detailed Description

Mouse button event.

Definition at line 33 of file GHOST_EventButton.h.

Constructor & Destructor Documentation

◆ GHOST_EventButton()

GHOST_EventButton::GHOST_EventButton ( GHOST_TUns64  time,
GHOST_TEventType  type,
GHOST_IWindow window,
GHOST_TButtonMask  button,
const GHOST_TabletData tablet 
)
inline

Constructor.

Parameters
timeThe time this event was generated.
typeThe type of this event.
windowThe window of this event.
buttonThe state of the buttons were at the time of the event.
tabletThe tablet data associated with this event.

Definition at line 43 of file GHOST_EventButton.h.

Member Data Documentation

◆ m_buttonEventData

GHOST_TEventButtonData GHOST_EventButton::m_buttonEventData
protected

The button event data.

Definition at line 55 of file GHOST_EventButton.h.


The documentation for this class was generated from the following file: