![]() |
Software Reference Manual 10.0.5
Library for Pervasive Displays e-paper screens, extension boards and development kits
|
#include <hV_GUI.h>
Public Member Functions | |
| GUI (Screen_EPD *screen) | |
| Constructor. | |
| void | begin () |
| Initialise the GUI. | |
| void | setColours (uint16_t frontColour=myColours.black, uint16_t backColour=myColours.white) |
| Set the colours palette. | |
| void | delegate (bool delegate=true) |
| Delegate the refresh policy. | |
Friends | |
| class | Button |
| class | Text |
GUI.
Shared settings
| GUI::GUI | ( | Screen_EPD * | screen | ) |
Constructor.
| screen | &screen to which the GUI elements belong |
| void GUI::delegate | ( | bool | delegate = true | ) |
Delegate the refresh policy.
| delegate | true = default = refresh managed by the GUI element with fast update |
| void GUI::setColours | ( | uint16_t | frontColour = myColours.black, |
| uint16_t | backColour = myColours.white ) |
Set the colours palette.
| frontColour | 16-bit colours for text and rectangles |
| backColour | 16-bit colours for background |