Update README

master
Martin Boonk 2022-03-13 20:27:08 +01:00
parent 09dabad760
commit 662b4c1cda
1 changed files with 31 additions and 9 deletions

View File

@ -1,17 +1,23 @@
# Imageclock # Imageclock
This app is a highly customizable watchface. To use it, you need to select This app is a highly customizable watchface. To use it, you need to select
a watchface from another source. a watchface from another source. There is a native format as described here. You can also load decompiled watchfaces for Amazfit BIP fitness trackers.
# Usage # Usage
## Install a watchface
Choose the folder which contains the watchface, then clock "Upload to watch". Choose the folder which contains the watchface, then clock "Upload to watch".
## Usage on the watch
Slide up/down to hide/show widgets.
Press button to start launcher.
# Design watch faces # Design watch faces
## Folder structure ## Folder structure
* watchfacename * watchfacename
* resources/ * resources/
* face.json * face.json
@ -49,8 +55,9 @@ Properties: {
"Redraw": { "Redraw": {
"Unlocked": 5000, "Unlocked": 5000,
"Locked": 60000, "Locked": 60000,
"Default": "Always" "Default": "Always",
"Events": ["HRM"] "Events": ["HRM"],
"Clear": true
}, },
"Events": ["lock","HRM"] "Events": ["lock","HRM"]
} }
@ -129,7 +136,11 @@ Mandatory:
"Value": "Temperature", "Value": "Temperature",
"MinValue": "-20", "MinValue": "-20",
"MaxValue": "50", "MaxValue": "50",
"ImagePath": [ "path", "to", "scale", "folder" ] "ImagePath": [ "path", "to", "scale", "folder" ],
"Segments": [
{ "X": 5, "Y": 5},
{ "X": 10, "Y": 10 }
]
} }
``` ```
The `Value` field is one of the implemented numerical values. The `Value` field is one of the implemented numerical values.
@ -179,6 +190,21 @@ Mandatory:
``` ```
The `RotationValue` field is one of the implemented numeric values. The `RotationValue` field is one of the implemented numeric values.
##### Rect
```
"Rect":{
"X": 10,
"Y": 20,
"Width": 30,
"Height": 40,
"Filled": true,
"ForegroundColor": "#00f",
"BackgroundColor": "#008"
}
```
The `RotationValue` field is one of the implemented numeric values.
##### Nesting ##### Nesting
``` ```
"Container": { "Container": {
@ -263,11 +289,7 @@ stored on the watch
* Handle events and redraws better * Handle events and redraws better
* Performance improvements * Performance improvements
* Mark elements with how often they need to be redrawn * Mark elements with how often they need to be redrawn
* Drawing to buffers and compositing later
* Allow watchfaces to declare if the want to show widgets
* Temporarily show widgets with slide up/down
* Finalize the file format * Finalize the file format
* Settings
* Localization * Localization
# Creator # Creator