Pervasive Displays Library Suite - Basic edition 8.0.8
Library for Pervasive Displays e-paper screens and EXT3 extension board
Loading...
Searching...
No Matches
GUI Class Reference

GUI. More...

#include <hV_GUI.h>

Public Member Functions

 GUI (Screen_EPD_EXT3_Fast *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
 

Detailed Description

GUI.

Shared settings

Constructor & Destructor Documentation

◆ GUI()

GUI::GUI ( Screen_EPD_EXT3_Fast * 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 files: