|
FlightGear next
|
#include <FGButton.hxx>
Inherits FGCommonInput.
Public Member Functions | |
| FGButton () | |
| virtual | ~FGButton () |
| void | init (const SGPropertyNode *node, const std::string &name, const std::string &module) |
| void | update (int modifiers, bool pressed, int x=-1, int y=-1) |
Public Attributes | |
| bool | is_repeatable |
| float | interval_sec |
| float | delay_sec |
| float | release_delay_sec |
| float | last_dt |
| int | last_state |
| binding_list_t | bindings [KEYMOD_MAX] |
Additional Inherited Members | |
Public Types inherited from FGCommonInput | |
| using | binding_list_t = SGBindingList |
Static Public Member Functions inherited from FGCommonInput | |
| static void | read_bindings (const SGPropertyNode *base, binding_list_t *binding_list, int modifiers, const std::string &module) |
Definition at line 31 of file FGButton.hxx.
| FGButton::FGButton | ( | ) |
Definition at line 32 of file FGButton.cxx.
|
virtual |
Definition at line 42 of file FGButton.cxx.
| void FGButton::init | ( | const SGPropertyNode * | node, |
| const std::string & | name, | ||
| const std::string & | module ) |
Definition at line 49 of file FGButton.cxx.
| void FGButton::update | ( | int | modifiers, |
| bool | pressed, | ||
| int | x = -1, | ||
| int | y = -1 ) |
Definition at line 61 of file FGButton.cxx.
| binding_list_t FGButton::bindings[KEYMOD_MAX] |
Definition at line 42 of file FGButton.hxx.
| float FGButton::delay_sec |
Definition at line 39 of file FGButton.hxx.
| float FGButton::interval_sec |
Definition at line 39 of file FGButton.hxx.
| bool FGButton::is_repeatable |
Definition at line 38 of file FGButton.hxx.
| float FGButton::last_dt |
Definition at line 40 of file FGButton.hxx.
| int FGButton::last_state |
Definition at line 41 of file FGButton.hxx.
| float FGButton::release_delay_sec |
Definition at line 39 of file FGButton.hxx.