Class MainPage¶
Inherits the following classes: daisy::UiPage
Public Types¶
| Type | Name |
|---|---|
| typedef daisy::Logger< daisy::LOGGER_EXTERNAL > | Log |
Public Functions¶
| Type | Name |
|---|---|
| void | Draw (const daisy::UiCanvasDescriptor & canvasDescriptor) override |
| void | Init () |
| bool | OnButton (uint16_t buttonID, uint8_t numberOfPresses, bool isRetriggering) override |
| bool | OnPotMoved (uint16_t potID, float newPosition) |
| void | OnShow () |
Public Types Documentation¶
typedef Log¶
Simple alias for logging StartLog() for the destination should have already been called before the page is opened.
Public Functions Documentation¶
function Draw¶
function Init¶
function OnButton¶
inline bool MainPage::OnButton (
uint16_t buttonID,
uint8_t numberOfPresses,
bool isRetriggering
) override
function OnPotMoved¶
function OnShow¶
The documentation for this class was generated from the following file external-docs/libDaisy/examples/devkits/Desktop-DevKit-UI-Template/src/main_page.h