ClanLib  2.3.7
List of all members
CL_AcceleratorTable Class Reference

GUI Accelerator Table. More...

#include <accelerator_table.h>

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. More...
 
std::vector< CL_AcceleratorKeyget_accelerators ()
 Returns a vector containing the accelerator keys defined for this table. More...
 
Operations
void add_accelerator (const CL_AcceleratorKey &accel)
 Add an accelerator table entry to the accelerator table. More...
 
void process_message (CL_GUIMessage &msg)
 Check if the message is an accelerator key and invoke relevant accelerator callback. More...
 

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: