Skip to content

Commit 512b7de

Browse files
authored
Merge pull request espruino#4206 from stweedo/boxclk-clkinfo
boxclk: add clkinfo support and editor improvements
2 parents dc24faa + 31bc3f2 commit 512b7de

9 files changed

Lines changed: 1385 additions & 377 deletions

File tree

apps/boxclk/ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@
2121
- [+] Simplify watch settings to config selection and layout help
2222
- [+] Keep on-watch drag editing with double-tap save
2323
- [+] Remove global Graphics monkeypatching to fix newer-firmware startup
24+
0.13: Add `clkinfo` boxes

apps/boxclk/README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Box Clock
22

3-
Box Clock is a customizable Bangle.js 2 clock built around named layouts. Use the App Loader customizer to arrange boxes in a live preview, save multiple layouts, and switch between them on the watch.
3+
Box Clock is a customizable Bangle.js 2 clock built around named layouts. Use the App Loader interface to arrange boxes and `clkinfo` regions in a live preview, save multiple layouts, and switch between them on the watch.
44

55
## Why Use It
66

@@ -12,7 +12,7 @@ Box Clock is a customizable Bangle.js 2 clock built around named layouts. Use th
1212
## Quick Start
1313

1414
1. Install Box Clock from the App Loader.
15-
2. Open the `Customizer`.
15+
2. Open the interface.
1616
3. Pick a layout, or create a new one from an existing preset.
1717
4. Drag boxes on the preview, edit their text and appearance, and choose a background.
1818
5. Upload the result to the watch.
@@ -24,7 +24,7 @@ You do not need to edit JSON for the normal workflow. The web editor is the main
2424

2525
Box Clock stores its face as named layouts.
2626

27-
It installs with a default layout. The customizer also includes optional example layouts that you can add separately.
27+
It installs with a default layout. The interface also includes optional example layouts that you can add separately.
2828

2929
Each saved layout is independent, so you can keep multiple layouts and switch between them from the watch.
3030

@@ -48,14 +48,22 @@ If you want a layout-specific look instead, you can pick:
4848

4949
In the web editor you can:
5050

51-
- add boxes for time, date, day, meridian, battery, steps, or custom text
51+
- add boxes for time, date, day, meridian, battery, steps, `clkinfo`, or custom text
5252
- drag boxes directly on the watch preview
5353
- resize text and box boundaries
5454
- duplicate, reorder, and delete boxes
5555
- rename layouts
5656
- duplicate layouts
57+
- import custom `.pbf` font files
5758
- upload backgrounds and preview them before sending them to the watch
5859

60+
## Font Tools
61+
62+
If you want to build your own `.pbf` fonts for Box Clock, these are the main resources:
63+
64+
- [Google Fonts](https://fonts.google.com/)
65+
- [Espruino Font Converter](https://www.espruino.com/Font+Converter)
66+
5967
## On-Watch Editing
6068

6169
If you only need a quick position tweak on the watch:
@@ -67,6 +75,8 @@ If you only need a quick position tweak on the watch:
6775

6876
The web editor is still the better option for full customization.
6977

78+
`clkinfo` boxes work normally on the watch and show a `clkinfo` placeholder while layout mode is active.
79+
7080
## Compatibility
7181

7282
Built for Bangle.js 2.

0 commit comments

Comments
 (0)