The base class for all buttons that have text. More...
#include <button.hpp>
Public Member Functions | |
virtual | ~AbstractTextButton () |
virtual void | setText (const char *text)=0 |
virtual const char * | text () const =0 |
virtual bool | isTextDirty () const =0 |
virtual void | resetText ()=0 |
![]() | |
virtual | ~AbstractButton () |
virtual void | setPressed (bool pressed)=0 |
bool | isPressed () const |
bool | isNotPressed () const |
bool | isClicked () const |
virtual void | waitUntilReleased () const |
virtual void | waitUntilPressed () const |
virtual void | waitUntilClicked () const |
![]() | |
virtual | ~Sensor () |
virtual bool | value () const =0 |
The base class for all buttons that have text.
Provides methods to access and manipulate the button's text
|
virtual |
|
pure virtual |
Determines whether or not the text has been recently changed.
Implemented in IdButton.
|
pure virtual |
Resets the button's text to the default for that button. For example, the A button would be reset to "A"
Implemented in IdButton.
|
pure virtual |
|
pure virtual |