29 UIBitmap(uint16_t width, uint16_t height,
const uint8_t *bitmap, UIAlignment alignment,
UIWidget*
next =
nullptr);
48 const uint8_t* bitmap;
54 UIAlignment alignment;
Area consisting of left, top, right, and bottom value.
Definition: UIArea.h:20
A widget containing a bitmap (XBMP) which is set statically during compile time.
Definition: UIBitmap.h:21
void computePreferredSize(U8G2 *display, UISize *preferredSize)
Generate the preferred size from the bitmap size.
Definition: UIBitmap.cpp:44
UIArea * render(U8G2 *display, bool force)
A bitmap is only rendered if the rendering is forced, otherwise it never changes.
Definition: UIBitmap.cpp:22
UIBitmap(uint16_t width, uint16_t height, const uint8_t *bitmap, UIAlignment alignment, UIWidget *next=nullptr)
Create a bitmap with supplied alignment and potential successor.
Definition: UIBitmap.cpp:15
Representation of a point on the display.
Definition: UIPoint.h:9
Representation of a size, i.e.
Definition: UISize.h:9