sdlvisu::CmdButton Class Reference
[2D Graphical User Inteface]

A textual button on the right-sided panel, featuring game command. More...

#include <CmdButton.hh>

List of all members.

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.).

Detailed Description

A textual button on the right-sided panel, featuring game command.


The documentation for this class was generated from the following files:
Generated on Mon Apr 5 21:18:03 2010 for Stechec/TBT by  doxygen 1.6.3