Refactor app to use 'screen with widgets' rather than 'widgets'

This commit is contained in:
Pim van Pelt
2017-11-26 15:01:59 +01:00
parent 3e2e9d4e5b
commit fd68b1ec03
11 changed files with 134 additions and 104 deletions

28
fs/screen_main.json Normal file
View File

@ -0,0 +1,28 @@
{
"name": "Main",
"x": 20,
"y": 0,
"w": 320,
"h": 220,
"widgets": [
{
"name": "one",
"x": 16,
"y": 16,
"w": 48,
"h": 48,
"label": "One",
"type": 0
},
{
"name": "two",
"x": 256,
"y": 16,
"w": 48,
"h": 48,
"label": "Two",
"type": 0
}
]
}