Area consisting of left, top, right, and bottom value.
Definition: UIArea.h:20
Horizontal line with optional empty border on top and bottom, always spreads as wide as possible to t...
Definition: UIHorizontalLine.h:14
UIHorizontalLine(uint16_t border=0, uint16_t lineWidth=1, UIWidget *next=nullptr)
Create a horizontal line.
Definition: UIHorizontalLine.cpp:16
UIArea * render(U8G2 *display, bool force)
A line is only rendered if rendering is forced, otherwise it never changes.
Definition: UIHorizontalLine.cpp:23
void computePreferredSize(U8G2 *display, UISize *preferredSize)
The preferred size of a line is 1+2*border in height and "as wide as possible".
Definition: UIHorizontalLine.cpp:37
Representation of a size, i.e.
Definition: UISize.h:9