#include <logicalinputdevice.h>

Public Member Functions | |
| LogicalButton (LogicalInputDevice *owner, const std::string &description, int buttonSymbol, ButtonMapping *mapping) | |
| Constructor. | |
| void | SetMapping (ButtonMapping *mapping) |
| Sets this button's mapping. | |
| ButtonMapping * | GetMapping () |
| Returns this button's mapping. | |
Protected Member Functions | |
| virtual | ~LogicalButton () |
| dtCore::LogicalButton::LogicalButton | ( | LogicalInputDevice * | owner, | |
| const std::string & | description, | |||
| int | buttonSymbol, | |||
| ButtonMapping * | mapping | |||
| ) |
Constructor.
| owner | the owner of this button | |
| description | a description of this button | |
| buttonSymbol | : A unique number representing this Button | |
| mapping | the initial button mapping | |
| owner | the owner of this button | |
| description | a description of this button | |
| mapping | the initial button mapping |
| virtual dtCore::LogicalButton::~LogicalButton | ( | ) | [inline, protected, virtual] |
| void dtCore::LogicalButton::SetMapping | ( | ButtonMapping * | mapping | ) |
Sets this button's mapping.
| mapping | the new mapping |
| ButtonMapping * dtCore::LogicalButton::GetMapping | ( | ) |
Returns this button's mapping.