Inheritance diagram for Eaagles::Instruments::LcPushButton:


Public Member Functions | |
| LcPushButton () | |
| bool | setFunction (const bool newFunction) |
| bool | getFunction () |
| bool | getCurrentState () |
| bool | setCurrentState (const bool newCurrentState) |
| virtual bool | onSingleClick () |
| virtual bool | onMouseDown () |
| virtual void | updateData (const LCreal dt=0.000000) |
| virtual bool | event (const int event, Basic::LcObject *const obj=0) |
Protected Member Functions | |
| bool | setSlotFunction (const Basic::LcBoolean *newFunction) |
| bool | setSlotStartState (const Basic::LcBoolean *newFunction) |
Private Attributes | |
| bool | functionType |
| bool | currentState |
| bool | mouseDown |
| Eaagles::Instruments::LcPushButton::LcPushButton | ( | ) |
| bool Eaagles::Instruments::LcPushButton::setFunction | ( | const bool | newFunction | ) | [inline] |
sets the pushbutton type ie momentary = false or maintained = true
| bool Eaagles::Instruments::LcPushButton::getFunction | ( | ) | [inline] |
gets the pushbutton type ie momentary = false or maintained = true
| bool Eaagles::Instruments::LcPushButton::getCurrentState | ( | ) | [inline] |
gets the current state of the pushbutton ie off = false or on = true
| bool Eaagles::Instruments::LcPushButton::setCurrentState | ( | const bool | newCurrentState | ) | [inline] |
sets the current state of the pushbutton ie off = false or on = true
| bool Eaagles::Instruments::LcPushButton::onSingleClick | ( | ) | [virtual] |
if maintained keeps second graphic visible, if momentary switches back to first graphic
Reimplemented from Eaagles::Instruments::LcButton.
| bool Eaagles::Instruments::LcPushButton::onMouseDown | ( | ) | [virtual] |
hides first graphic and makes second graphic visible
| void Eaagles::Instruments::LcPushButton::updateData | ( | const LCreal | dt = 0.000000 |
) | [virtual] |
| virtual bool Eaagles::Instruments::LcPushButton::event | ( | const int | event, | |
| Basic::LcObject *const | obj = 0 | |||
| ) | [virtual] |
| bool Eaagles::Instruments::LcPushButton::setSlotFunction | ( | const Basic::LcBoolean * | newFunction | ) | [protected] |
sets the pushbutton type to momentary = false or maintained = true
| bool Eaagles::Instruments::LcPushButton::setSlotStartState | ( | const Basic::LcBoolean * | newFunction | ) | [protected] |
sets the pushbutton start state ie not pressed or pressed
bool Eaagles::Instruments::LcPushButton::functionType [private] |
false = momentary, true = maintained
bool Eaagles::Instruments::LcPushButton::currentState [private] |
false = off, true = on
bool Eaagles::Instruments::LcPushButton::mouseDown [private] |
mouse press down status
1.5.0