|
Public Member Functions |
| virtual | ~ZoomAction (void) |
| | Virtual destructor.
|
| virtual void | execute (const gadget::Digital::State cButtonState)=0 |
| | Zooming; to be inherited by the two child classes.
|
Static Public Member Functions |
| float | getZoomFactor (void) |
| | Get the current zoom factor.
|
Protected Member Functions |
| | ZoomAction (const std::string &crName) |
| | Protected constructor that passes the given name to DigitalAction.
|
Static Protected Attributes |
| float | sZoomFactor = 1.0f |
| | Current zoom factor.
|
| const float | scMultiplicator = 1.05f |
| | Multiplicator to calculate the new zoom factor upon execution.
|
| const float | scMinZoomFactor = 0.1f |
| | Smallest zoom factor allowed.
|
| const float | scMaxZoomFactor = 20.0f |
| | Largest zoom factor allowed.
|