Initial stab at WIDGET_LOADSCREEN and navigation

This commit is contained in:
Pim van Pelt
2017-12-02 14:15:22 +01:00
parent 980ac4c7cf
commit ef4451b81f
9 changed files with 100 additions and 53 deletions

View File

@ -9,7 +9,7 @@
"h": 56,
"label": "One",
"type": 2,
"screen": "screen_one.json"
"screen": "/screen_one.json"
},
{
"name": "two",
@ -19,7 +19,7 @@
"h": 56,
"label": "Two",
"type": 2,
"screen": "screen_two.json"
"screen": "/screen_two.json"
},
{
"name": "three",
@ -28,7 +28,7 @@
"w": 64,
"h": 64,
"label": "Three",
"type": 2
"type": 0
},
{
"name": "logo",
@ -36,7 +36,7 @@
"y": 110,
"w": 128,
"h": 98,
"type": 1,
"type": 0,
"img": "/mongoose-os.dif"
},
{
@ -45,7 +45,7 @@
"y": 110,
"w": 106,
"h": 98,
"type": 1,
"type": 0,
"img": "/flowers.dif"
}
]

View File

@ -9,7 +9,7 @@
"h": 48,
"label": "Back",
"type": 2,
"screen": "screen_main.json"
"screen": "/screen_main.json"
},
{
"name": "one",
@ -18,8 +18,7 @@
"w": 48,
"h": 48,
"label": "One",
"type": 1,
"img": "/flower.jpg"
"type": 0
}
]
}

View File

@ -1,6 +1,5 @@
{
"name": "Two",
"widgets": [
{
"name": "back",
@ -10,7 +9,7 @@
"h": 48,
"label": "Back",
"type": 2,
"screen": "screen_main.json"
"screen": "/screen_main.json"
},
{
"name": "two",
@ -19,8 +18,7 @@
"w": 48,
"h": 48,
"label": "Two",
"type": 2,
"screen": "screen_two.json"
"type": 0
}
]
}