diff --git a/apps/imageclock/ChangeLog b/apps/imageclock/ChangeLog new file mode 100644 index 000000000..17bf5db55 --- /dev/null +++ b/apps/imageclock/ChangeLog @@ -0,0 +1,2 @@ +0.01: New App +0.02: Allow drawing polys diff --git a/apps/imageclock/README.md b/apps/imageclock/README.md index 723b09920..65a80b311 100644 --- a/apps/imageclock/README.md +++ b/apps/imageclock/README.md @@ -49,12 +49,14 @@ Properties: { "Redraw": { "Unlocked": 5000, "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 ``` @@ -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 diff --git a/apps/imageclock/metadata.json b/apps/imageclock/metadata.json index e216cced4..93c87e842 100644 --- a/apps/imageclock/metadata.json +++ b/apps/imageclock/metadata.json @@ -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",