|
| NextionWaveform (Nextion &nex, uint8_t page, uint8_t component, const char *name) |
| Create a new widget adapter. More...
|
|
bool | addValue (uint8_t channel, uint8_t value) |
| Adds a value to the waveform display. More...
|
|
bool | setChannelColour (uint8_t channel, uint32_t colour, bool refresh=true) |
| Sets the colour of a channel. More...
|
|
uint32_t | getChannelColour (uint8_t channel) |
| Gets the colour of a channel. More...
|
|
bool | setGridColour (uint32_t colour, bool refresh=true) |
| Sets the colour of the grid lines. More...
|
|
uint32_t | getGridColour () |
| Gets the colour of the grid lines. More...
|
|
bool | setGridWidth (uint16_t width) |
| Sets the width of the grid squares. More...
|
|
uint16_t | getGridWidth () |
| Gets the width of the grid squares. More...
|
|
bool | setGridHeight (uint16_t height) |
| Sets the height of the grid squares. More...
|
|
uint16_t | getGridHeight () |
| Gets the height of the grid squares. More...
|
|
| INextionTouchable (Nextion &nex, uint8_t page, uint8_t component, const char *name) |
| Create a new widget adapter. More...
|
|
bool | processEvent (uint8_t pageID, uint8_t componentID, uint8_t eventType) |
| Processes a touch event. More...
|
|
bool | attachCallback (NextionCallbackFunctionHandler::NextionFunction cb) |
| Attaches a callback function to this widget. More...
|
|
bool | attachCallback (INextionCallback *obj) |
| Attaches a callback handler to this widget. More...
|
|
void | detachCallback () |
| Removes the callback handler from this widget. More...
|
|
| INextionWidget (Nextion &nex, uint8_t page, uint8_t component, const char *name) |
| Create a new widget adapter. More...
|
|
uint8_t | getPageID () |
| Gets the ID of the page this widget resides on. More...
|
|
uint8_t | getComponentID () |
| Gets the component ID of this widget. More...
|
|
bool | setNumberProperty (char *propertyName, uint32_t value) |
| Sets the value of a numerical property of this widget. More...
|
|
uint32_t | getNumberProperty (char *propertyName) |
| Gets the value of a numerical property of this widget. More...
|
|
bool | setStringProperty (char *propertyName, char *value) |
| Sets the value of a string property of this widget. More...
|
|
size_t | getStringProperty (char *propertyName, char *value, size_t len) |
| Gets the value of a string property of this widget. More...
|
|
| INextionColourable (Nextion &nex, uint8_t page, uint8_t component, const char *name) |
| Create a new widget adapter. More...
|
|
bool | setForegroundColour (uint32_t colour, bool refresh=true) |
| Sets the normal foreground colour. More...
|
|
uint32_t | getForegroundColour () |
| Gets the normal foreground colour. More...
|
|
bool | setEventForegroundColour (uint32_t colour, bool refresh=true) |
| Sets the foreground colour when a touch event is active. More...
|
|
uint32_t | getEventForegroundColour () |
| Gets the foreground colour when a touch event is active. More...
|
|
bool | setBackgroundColour (uint32_t colour, bool refresh=true) |
| Sets the normal background colour. More...
|
|
uint32_t | getBackgroundColour () |
| Gets the normal background colour. More...
|
|
bool | setEventBackgroundColour (uint32_t colour, bool refresh=true) |
| Sets the background colour when a touch event is active. More...
|
|
uint32_t | getEventBackgroundColour () |
| Sets the background colour when a touch event is active. More...
|
|
bool | setColour (char *type, uint32_t colour, bool refresh) |
| Sets a colour by its property name. More...
|
|
uint32_t | getColour (char *type) |
| Gets a colour by its property name. More...
|
|
bool | afterSet (bool result, bool refresh) |
| Handles refreshing the page after a colour has been changed. More...
|
|
Represents a waveform widget.