#include <BaseRenderers.h>
|
char * | buffer |
|
uint8_t | bufferSize |
|
RendererType | rendererType |
|
Each display must have a renderer, even if it is the NoRenderer, the NoRenderer is for situations where the control is performed exclusively by a remote device.
◆ ~MenuRenderer()
virtual MenuRenderer::~MenuRenderer |
( |
| ) |
|
|
inlinevirtual |
virtual destructor is required by the language
◆ initialise()
virtual void MenuRenderer::initialise |
( |
| ) |
|
|
pure virtual |
◆ tryTakeSelectIfNeeded()
virtual bool MenuRenderer::tryTakeSelectIfNeeded |
( |
int |
currentReading, |
|
|
RenderPressMode |
press |
|
) |
| |
|
pure virtual |
Allows the select key to be overriden for situations such as dialogs and other special cases.
- Parameters
-
held | true when the select was held down. |
- Returns
- true to indicate we consumed the event, otherwise false.
Implemented in NoRenderer, and BaseMenuRenderer.
◆ getDialog()
◆ getBuffer()
char* MenuRenderer::getBuffer |
( |
| ) |
|
|
inline |
Gets the buffer that is used internally for render buffering.
◆ getBufferSize()
uint8_t MenuRenderer::getBufferSize |
( |
| ) |
|
|
inline |
Gets the buffer size of the buffer
◆ getRendererType()
RendererType MenuRenderer::getRendererType |
( |
| ) |
|
|
inline |
Returns if this is a no display type renderer or a base renderer type.
The documentation for this class was generated from the following files: