8 #ifndef INCLUDE_WALLABY_BUTTON_HPP_
9 #define INCLUDE_WALLABY_BUTTON_HPP_
20 virtual void setPressed(
bool pressed) = 0;
28 const bool ret = isPressed();
33 virtual void waitUntilReleased()
const;
35 virtual void waitUntilPressed()
const;
37 virtual void waitUntilClicked()
const;
46 virtual void setText(
const char * text) = 0;
48 virtual const char * text()
const = 0;
50 virtual bool isTextDirty()
const = 0;
52 virtual void resetText() = 0;
61 virtual void setText(
const char * text);
62 virtual const char *
text()
const;
65 virtual bool value()
const;
79 static void setShown(
bool shown);
81 static bool isShown();
virtual void setText(const char *text)=0
Definition: sensor.hpp:17
virtual bool isTextDirty() const =0
virtual T value() const =0
virtual const char * text() const =0
virtual void resetText()=0
Definition: button.hpp:41
#define EXPORT_SYM
Definition: export.h:14