Software Reference Manual 9.2.2
Library for Pervasive Displays e-paper screens, extension boards and development kits
GUI Class Reference

GUI. More...

#include <hV_GUI.h>

Public Member Functions

 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...
 

Friends

class Button
 
class Text
 

Detailed Description

GUI.

Shared settings

Constructor & Destructor Documentation

◆ GUI()

GUI::GUI ( Screen_EPD screen)

Constructor.

Parameters
screen&screen to which the GUI elements belong

Member Function Documentation

◆ delegate()

void GUI::delegate ( bool  delegate = true)

Delegate the refresh policy.

Parameters
delegatetrue = 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
frontColour16-bit colours for text and rectangles
backColour16-bit colours for background

The documentation for this class was generated from the following file: