mirror of https://github.com/espruino/BangleApps
Update documentation
parent
7994e61bc0
commit
0968c50c8a
|
@ -0,0 +1,2 @@
|
||||||
|
0.01: New App
|
||||||
|
0.02: Allow drawing polys
|
|
@ -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
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue