Auto-sync: ades-office-control-panel.yaml deleted
This commit is contained in:
@@ -465,22 +465,10 @@ lvgl:
|
|||||||
text: "\uF015"
|
text: "\uF015"
|
||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- lvgl.matrix.button.update:
|
lvgl.page.show:
|
||||||
id: navAdesOffice
|
id: main_page
|
||||||
control:
|
animation: FADE_IN
|
||||||
checked: false
|
time: 300ms
|
||||||
- lvgl.matrix.button.update:
|
|
||||||
id: navGroundFloor
|
|
||||||
control:
|
|
||||||
checked: false
|
|
||||||
- lvgl.matrix.button.update:
|
|
||||||
id: nav3dPrinter
|
|
||||||
control:
|
|
||||||
checked: false
|
|
||||||
- lvgl.page.show:
|
|
||||||
id: main_page
|
|
||||||
animation: FADE_IN
|
|
||||||
time: 300ms
|
|
||||||
- id: page_next
|
- id: page_next
|
||||||
text: "\uF054"
|
text: "\uF054"
|
||||||
on_press:
|
on_press:
|
||||||
@@ -495,72 +483,6 @@ lvgl:
|
|||||||
align: TOP_MID
|
align: TOP_MID
|
||||||
id: header_page_main
|
id: header_page_main
|
||||||
styles: header_footer
|
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
|
|
||||||
items:
|
|
||||||
pressed:
|
|
||||||
bg_color: 0xFFFF00
|
|
||||||
rows:
|
|
||||||
- buttons:
|
|
||||||
- id: navAdesOffice
|
|
||||||
text: "Ade's Office"
|
|
||||||
control:
|
|
||||||
checkable: true
|
|
||||||
on_value:
|
|
||||||
then:
|
|
||||||
- if:
|
|
||||||
condition:
|
|
||||||
lambda: 'return x == 1;'
|
|
||||||
then:
|
|
||||||
- lvgl.page.show:
|
|
||||||
id: ades_office_page
|
|
||||||
animation: FADE_IN
|
|
||||||
time: 300ms
|
|
||||||
- id: navGroundFloor
|
|
||||||
text: "Ground Floor"
|
|
||||||
control:
|
|
||||||
checkable: true
|
|
||||||
on_value:
|
|
||||||
then:
|
|
||||||
- if:
|
|
||||||
condition:
|
|
||||||
lambda: 'return x == 1;'
|
|
||||||
then:
|
|
||||||
- lvgl.page.show:
|
|
||||||
id: ground_floor_page
|
|
||||||
animation: FADE_IN
|
|
||||||
time: 300ms
|
|
||||||
- buttons:
|
|
||||||
- id: nav3dPrinter
|
|
||||||
text: "3D Printer"
|
|
||||||
control:
|
|
||||||
checkable: true
|
|
||||||
on_value:
|
|
||||||
then:
|
|
||||||
- if:
|
|
||||||
condition:
|
|
||||||
lambda: 'return x == 1;'
|
|
||||||
then:
|
|
||||||
- lvgl.page.show:
|
|
||||||
id: printer_status
|
|
||||||
animation: FADE_IN
|
|
||||||
time: 300ms
|
|
||||||
- id: ades_office_page
|
|
||||||
widgets:
|
|
||||||
- obj:
|
|
||||||
align: TOP_MID
|
|
||||||
id: header_page_ades_office
|
|
||||||
styles: header_footer
|
|
||||||
widgets:
|
widgets:
|
||||||
- label:
|
- label:
|
||||||
text: "Ade's Office"
|
text: "Ade's Office"
|
||||||
|
|||||||
Reference in New Issue
Block a user