added factory code, and the beginnings of styling

This commit is contained in:
kkoenig1@optonline.com
2022-06-11 15:13:11 +02:00
committed by Raphael Coeffic
parent 3d2b5bf460
commit 2a85442708
11 changed files with 89 additions and 63 deletions
+3 -4
View File
@@ -37,10 +37,9 @@ class Layer
static void push(Window * window)
{
// if (window->getLvObj()->parent != nullptr) {
// TRACE("Layers must have lvgl parent to be null");
// return;
// }
if (window->getLvObj()->parent != nullptr) {
TRACE("Layers must have lvgl parent to be null");
}
if (!stack.empty()) {
Layer & parentLayer = stack.back();