|
TouchCPLib
1.0.0
A touch-enabled GUI interface based on SDL and libTS. It provides a simple desktop-free UI for your embedded Raspberry projects.
|
A base class that provides the methods needed for the object to react to touch input. More...
#include <TouchEnabledObject.h>

Public Member Functions | |
| virtual int | getX () const =0 |
| virtual int | getY () const =0 |
| virtual int | getWidth () const =0 |
| virtual int | getHeight () const =0 |
| TouchCallback | getTouchCallback () const |
| void | setTouchCallback (TouchCallback cb) |
| Set the touch interaction callback. More... | |
| bool | isTouchEnabled () const |
| True if the object reacts to touch events. More... | |
| void | setTouchEnabled (bool enabled) |
| Set if the object has to react to touch events. More... | |
| bool | isPropagateInteraction () const |
| True if the object will call the handlers of object placed below when touched. More... | |
| void | setPropagateInteraction (bool propagate) |
| Set wheter the object has to call the handlers of objects placed below, when touched. More... | |
A base class that provides the methods needed for the object to react to touch input.
|
pure virtual |
Implemented in XYPlot, Button, Text, ImageButton, WavefunctionAnimation, and SineWaveAnimation.
|
inline |
|
pure virtual |
Implemented in XYPlot, Button, Text, ImageButton, WavefunctionAnimation, and SineWaveAnimation.
|
pure virtual |
Implemented in XYPlot, Button, Text, ImageButton, WavefunctionAnimation, and SineWaveAnimation.
|
pure virtual |
Implemented in XYPlot, Button, Text, ImageButton, WavefunctionAnimation, and SineWaveAnimation.
|
inline |
True if the object will call the handlers of object placed below when touched.
|
inline |
True if the object reacts to touch events.
|
inline |
Set wheter the object has to call the handlers of objects placed below, when touched.
| propagate |
|
inline |
Set the touch interaction callback.
| cb | The touch callback |
|
inline |
Set if the object has to react to touch events.
| enabled |