GUI.
More...
#include <hV_GUI.h>
|
| | GUI (Screen_EPD *screen) |
| | Constructor. More...
|
| |
|
void | begin () |
| | Initialise the GUI.
|
| |
| void | setColours (uint16_t frontColour=myColours.black, uint16_t backColour=myColours.white) |
| | Set the colours palette. More...
|
| |
| void | delegate (bool delegate=true) |
| | Delegate the refresh policy. More...
|
| |
◆ GUI()
Constructor.
- Parameters
-
| screen | &screen to which the GUI elements belong |
◆ delegate()
| void GUI::delegate |
( |
bool |
delegate = true | ) |
|
Delegate the refresh policy.
- Parameters
-
| delegate | true = default = refresh managed by the GUI element with fast update |
- Note
- If false, refresh managed by the caller
◆ setColours()
| void GUI::setColours |
( |
uint16_t |
frontColour = myColours.black, |
|
|
uint16_t |
backColour = myColours.white |
|
) |
| |
Set the colours palette.
- Parameters
-
| frontColour | 16-bit colours for text and rectangles |
| backColour | 16-bit colours for background |
The documentation for this class was generated from the following file: