UiUiUi
A user interface library for micro controller sketches based on U8g2
UIParent.h
1 // SPDX-License-Identifier: BSD-2-Clause
2 // (C) 2022 Dirk Hillbrecht
3 
4 #pragma once
5 
6 #include "UIWidget.h"
7 
14 class UIParent {
15 
16  public:
17 
19  virtual void childNeedsRendering(UIWidget *child)=0;
20 
21 };
22 
23 // end of file
Simple abstraction of elements which have at least one child.
Definition: UIParent.h:14
virtual void childNeedsRendering(UIWidget *child)=0
Called by any child of this group to indicate that it wants to be rendered.
Basic widget class, ancestor of all UI widgets.
Definition: UIWidget.h:36