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

@ -49,12 +49,14 @@ Properties: {
"Redraw": { "Redraw": {
"Unlocked": 5000, "Unlocked": 5000,
"Locked": 60000, "Locked": 60000,
"Default": "Always" "Default": "Always"
} "Events": ["HRM"]
},
"Events": ["lock","HRM"]
} }
``` ```
Possible values for `Default` are `Always`, `Change` Possible values for `Default` are `Always`, `Change`.
##### Images ##### Images
``` ```
@ -141,6 +143,30 @@ Mandatory:
* `ImagePath` * `ImagePath`
* `Value` * `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 ##### Nesting
``` ```
Container: { Container: {
@ -165,12 +191,16 @@ Container names can be everything but other object names.
##### Numerical ##### Numerical
* Hour * Hour
* Hour12Analog
* Hour12
* HourTens * HourTens
* HourOnes * HourOnes
* Minute * Minute
* MinuteAnalog
* MinuteTens * MinuteTens
* MinuteOnes * MinuteOnes
* Second * Second
* SecondAnalog
* SecondTens * SecondTens
* SecondOnes * SecondOnes
* Day * Day

View File

@ -2,7 +2,7 @@
"id": "imageclock", "id": "imageclock",
"name": "Imageclock", "name": "Imageclock",
"shortName": "imageclock", "shortName": "imageclock",
"version": "0.01", "version": "0.02",
"type": "clock", "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.", "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", "icon": "app.png",