tbx  0.7.5
Public Member Functions | List of all members
tbx::ToolActionSelectedEvent Class Reference

Event information for ToolAction Selected events. More...

#include <toolaction.h>

Inheritance diagram for tbx::ToolActionSelectedEvent:
tbx::EventInfo

Public Member Functions

 ToolActionSelectedEvent (IdBlock &id_block, PollBlock &data)
 Construct the event from Toolbox and WIMP event data. More...
 
bool adjust () const
 Check if adjust was held down.
 
bool select () const
 Check if select was held down.
 
bool on () const
 Return true if tool action has been turned on.
 
- 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 ToolAction Selected events.

Constructor & Destructor Documentation

◆ ToolActionSelectedEvent()

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

Construct the event from Toolbox and WIMP event data.

Parameters
id_blockToolbox IDs for this event
dataInformation returned from the WIMP for this event

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