Update documentation

pull/1916/head
Martin Boonk 2022-02-22 21:41:36 +01:00
parent 7994e61bc0
commit 0968c50c8a
3 changed files with 36 additions and 4 deletions

View File

@ -0,0 +1,2 @@
0.01: New App
0.02: Allow drawing polys

View File

@ -50,11 +50,13 @@ Properties: {
"Unlocked": 5000,
"Locked": 60000,
"Default": "Always"
}
"Events": ["HRM"]
},
"Events": ["lock","HRM"]
}
```
Possible values for `Default` are `Always`, `Change`
Possible values for `Default` are `Always`, `Change`.
##### Images
```
@ -141,6 +143,30 @@ Mandatory:
* `ImagePath`
* `Value`
##### Poly
```
"Poly":{
"Filled": true,
"RotationValue": "Second",
"MinRotationValue": "0",
"MaxRotationValue": "60",
"ForegroundColor": "#00f",
"BackgroundColor": "#008",
"Vertices":[
{"X":-1, "Y":13},
{"X":0, "Y":15},
{"X":1, "Y":13},
{"X":2, "Y":0},
{"X":1, "Y":-75},
{"X":0, "Y":-80},
{"X":-1, "Y":-75},
{"X":-2, "Y":0}
]
}
```
The `RotationValue` field is one of the implemented numeric values.
##### Nesting
```
Container: {
@ -165,12 +191,16 @@ Container names can be everything but other object names.
##### Numerical
* Hour
* Hour12Analog
* Hour12
* HourTens
* HourOnes
* Minute
* MinuteAnalog
* MinuteTens
* MinuteOnes
* Second
* SecondAnalog
* SecondTens
* SecondOnes
* Day

View File

@ -2,7 +2,7 @@
"id": "imageclock",
"name": "Imageclock",
"shortName": "imageclock",
"version": "0.01",
"version": "0.02",
"type": "clock",
"description": "BETA!!! File formats still subject to change --- This app is a highly customizable watchface. To use it, you need to select a watchface. You can build the watchfaces yourself without programming anything. All you need to do is write some json and create image files.",
"icon": "app.png",