A textual button on the right-sided panel, featuring game command. More...
#include <CmdButton.hh>
Public Member Functions | |
| CmdButton (Panel &panel, Game &game, enum eVisuGameCommand cmd) | |
| Create a command button, attach and place it into the panel. | |
| bool | isClicked () |
| True if the button is now clicked (and released). | |
| void | enable () |
| Enable clicks and show the button. | |
| void | disable () |
| Disable clicks and hide the button. | |
| void | setEnabled (bool enabled) |
| Enable/disable as needed. | |
| void | updateStatus () |
| Update the status (clicked, rolled over, etc.). | |
A textual button on the right-sided panel, featuring game command.
1.6.3