hollyhock
Loading...
Searching...
No Matches
GUILongLabel Class Reference
Inheritance diagram for GUILongLabel:
Collaboration diagram for GUILongLabel:

Public Member Functions

 GUILongLabel (uint16_t leftX, uint16_t topY, uint16_t rightX, uint16_t bottomY, const char *text)
void SetText (const char *text)
void Refresh ()
Public Member Functions inherited from Wrapped
template<typename T>
T * GetWrapped ()

Additional Inherited Members

Protected Member Functions inherited from Wrapped
 Wrapped (Wrapped const &)=delete
void operator= (Wrapped const &)=delete
Protected Attributes inherited from Wrapped
void * m_wrapped
 A pointer to the wrapped class.

Constructor & Destructor Documentation

◆ GUILongLabel()

GUILongLabel::GUILongLabel ( uint16_t leftX,
uint16_t topY,
uint16_t rightX,
uint16_t bottomY,
const char * text )

Creates a long label, capable of displaying multiple lines of text.

Parameters
leftX,topY,rightX,bottomYThe coordinates of the bounding box of the long label, in screen pixels relative to the top left of the display.
[in]textThe text for the long label to display.

Member Function Documentation

◆ Refresh()

void GUILongLabel::Refresh ( )

Refreshes the long label, redrawing it.

◆ SetText()

void GUILongLabel::SetText ( const char * text)

Sets the long label's text.

Parameters
[in]textThe new string for the long label.

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