CL_AcceleratorTable Class Reference
[clanGUI System]

GUI Accelerator Table. More...

#include <accelerator_table.h>

List of all members.

Public Member Functions

Construction

 CL_AcceleratorTable ()
 ~CL_AcceleratorTable ()
Attributes

CL_AcceleratorKey get_accelerator (int id, bool shift=false, bool alt=false, bool ctrl=false)
 Returns a vector containing the accelerator keys defined for this table.
std::vector< CL_AcceleratorKeyget_accelerators ()
 Returns a vector containing the accelerator keys defined for this table.
Operations

void add_accelerator (const CL_AcceleratorKey &accel)
 Add an accelerator table entry to the accelerator table.
void process_message (CL_GUIMessage &msg)
 Check if the message is an accelerator key and invoke relevant accelerator callback.

Detailed Description

GUI Accelerator Table.


Constructor & Destructor Documentation

CL_AcceleratorTable::CL_AcceleratorTable (  ) 
CL_AcceleratorTable::~CL_AcceleratorTable (  ) 

Member Function Documentation

void CL_AcceleratorTable::add_accelerator ( const CL_AcceleratorKey accel  ) 

Add an accelerator table entry to the accelerator table.

CL_AcceleratorKey CL_AcceleratorTable::get_accelerator ( int  id,
bool  shift = false,
bool  alt = false,
bool  ctrl = false 
)

Returns a vector containing the accelerator keys defined for this table.

std::vector<CL_AcceleratorKey> CL_AcceleratorTable::get_accelerators (  ) 

Returns a vector containing the accelerator keys defined for this table.

void CL_AcceleratorTable::process_message ( CL_GUIMessage msg  ) 

Check if the message is an accelerator key and invoke relevant accelerator callback.


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