UiUiUi
A user interface library for micro controller sketches based on U8g2
Public Member Functions | List of all members
UIParent Class Referenceabstract

Simple abstraction of elements which have at least one child. More...

#include <UIParent.h>

Inheritance diagram for UIParent:
Inheritance graph
[legend]

Public Member Functions

virtual void childNeedsRendering (UIWidget *child)=0
 Called by any child of this group to indicate that it wants to be rendered. More...
 

Detailed Description

Simple abstraction of elements which have at least one child.

This pure virtual class is mainly implemented by UIWidgetGroup, as that is the class which contains other widgets as children. But as UIDisplay also has a child, it is implemented there, too.

Member Function Documentation

◆ childNeedsRendering()

virtual void UIParent::childNeedsRendering ( UIWidget child)
pure virtual

Called by any child of this group to indicate that it wants to be rendered.

Implemented in UICards, UIDisplay, UIEnvelope, and UIWidgetGroup.


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