libwallaby  v24
The wallaby standard library
AbstractTextButton Class Referenceabstract

#include <button.hpp>

Inheritance diagram for AbstractTextButton:
AbstractButton Sensor< bool > IdButton

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
 
- Public Member Functions inherited from AbstractButton
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
 
- Public Member Functions inherited from Sensor< bool >
virtual ~Sensor ()
 
virtual bool value () const=0
 

Constructor & Destructor Documentation

◆ ~AbstractTextButton()

virtual AbstractTextButton::~AbstractTextButton ( )
virtual

Member Function Documentation

◆ isTextDirty()

virtual bool AbstractTextButton::isTextDirty ( ) const
pure virtual

Implemented in IdButton.

◆ resetText()

virtual void AbstractTextButton::resetText ( )
pure virtual

Implemented in IdButton.

◆ setText()

virtual void AbstractTextButton::setText ( const char *  text)
pure virtual

Implemented in IdButton.

◆ text()

virtual const char* AbstractTextButton::text ( ) const
pure virtual

Implemented in IdButton.


The documentation for this class was generated from the following file: