tbx  0.7.6
Public Member Functions | List of all members
tbx::DragStartedEvent Class Reference

Event information for Drag started event. More...

#include <draggable.h>

Inheritance diagram for tbx::DragStartedEvent:
tbx::EventInfo

Public Member Functions

 DragStartedEvent (IdBlock &id_block, PollBlock &data)
 Construct a drag started event from the information returned for the toolbox. More...
 
bool adjust () const
 return true if adjust is held down
 
bool select () const
 return true if select is held down
 
bool shift () const
 return true if shift is held down
 
bool control () const
 return true if control is held down
 
- Public Member Functions inherited from tbx::EventInfo
 EventInfo (const IdBlock &id_block, PollBlock &data)
 Contruct the event information from the id_block and data update by the toolbox.
 
const IdBlockid_block () const
 IdBlock for the current event. More...
 

Additional Inherited Members

- Protected Attributes inherited from tbx::EventInfo
PollBlock_data
 raw data from the event
 

Detailed Description

Event information for Drag started event.

Constructor & Destructor Documentation

◆ DragStartedEvent()

tbx::DragStartedEvent::DragStartedEvent ( IdBlock id_block,
PollBlock data 
)
inline

Construct a drag started event from the information returned for the toolbox.

Parameters
id_blockBlock containing objects/components for the event
dataAdditional data for the event.

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