From 61432b8d0811d495f90634039e76a3681d846890 Mon Sep 17 00:00:00 2001 From: "Adrian A. Baumann" Date: Wed, 14 Jan 2026 00:49:18 +0100 Subject: [PATCH] Navigation page added --- ades-office-control-panel.yaml | 47 ++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/ades-office-control-panel.yaml b/ades-office-control-panel.yaml index 482e3dc..7d634d8 100644 --- a/ades-office-control-panel.yaml +++ b/ades-office-control-panel.yaml @@ -483,6 +483,53 @@ lvgl: align: TOP_MID id: header_page_main styles: header_footer + widgets: + - label: + text: "Main Menu" + align: CENTER + text_align: CENTER + text_color: 0x00FF00 + - buttonmatrix: + id: mainMenuMatrix + x: 10 + y: 45 + width: 220 + height: 220 + rows: + - buttons: + - id: navAdesOffice + text: "Ade's Office" + on_press: + then: + - lvgl.page.show: + id: ades_office_page + animation: FADE_IN + time: 300ms + - id: navGroundFloor + text: "Ground Floor" + on_press: + then: + - lvgl.page.show: + id: ground_floor_page + animation: FADE_IN + time: 300ms + - buttons: + - id: nav3dPrinter + text: "3D Printer" + on_press: + then: + - lvgl.page.show: + id: printer_status + animation: FADE_IN + time: 300ms + - id: navPlaceholder + text: "" + - id: ades_office_page + widgets: + - obj: + align: TOP_MID + id: header_page_ades_office + styles: header_footer widgets: - label: text: "Ade's Office"