diff --git a/apps.json b/apps.json index 40209c9e0..ef0aa0f54 100644 --- a/apps.json +++ b/apps.json @@ -4737,7 +4737,7 @@ { "id": "pooqroman", "name": "pooq Roman watch face", "shortName":"pooq Roman", - "version":"0.02", + "version":"0.03", "description": "A classic watch face with a certain dynamicity. Most amusing in 24h mode. Slide up to show more hands, down for less(!). By design does not support standard widgets, sorry!", "icon": "app.png", "type": "clock", diff --git a/apps/pooqroman/ChangeLog b/apps/pooqroman/ChangeLog index 9debf0efe..c4f3171d3 100644 --- a/apps/pooqroman/ChangeLog +++ b/apps/pooqroman/ChangeLog @@ -1,2 +1,3 @@ -0.01: New App! -0.02: Make internal menu time out + small fixes +0.01: Initial check-in. +0.02: Make internal menu time out + small fixes. +0.03: Autolight feature. diff --git a/apps/pooqroman/README.md b/apps/pooqroman/README.md index b41a4a316..87acea9ca 100644 --- a/apps/pooqroman/README.md +++ b/apps/pooqroman/README.md @@ -13,9 +13,12 @@ you can alter the number of hands on the display. When the watch is unlocked, sl There's also a setting that displays the second hand, but only if the watch is perfectly face-to-the-sky, in case you want the ability to check the _exact_ time, hands free, without the impact on battery life this usually entails. -Although we genrally obey the system-wide theming, you can long press on the display for a menu of additional options specific to the face. +Although we generally obey the system-wide theming, you can long press on the display for a menu of additional options specific to the face. You can also override the system 12/24 hour setting just for this face here, since it's, well, a rather different experience than with numeric displays. +By default, there is a backlight that comes on when you twist your wrist. This, of course, somewhat increases power draw and could be +annoying in an intentionally dark environment, so there is an option to disable it. + One other thing: there's some integration with system timers and alarms; they will show as small pips at the appropriate places in the day around the display. When they come within an hour, the pips turn to crosses relating to the minute hand, and the minute hand turns itself on. When timers are mere seconds away, the display changes again and the second hand activates itself, so you diff --git a/apps/pooqroman/app.js b/apps/pooqroman/app.js index d59d4ef6c..bed8ef3d2 100644 --- a/apps/pooqroman/app.js +++ b/apps/pooqroman/app.js @@ -138,6 +138,10 @@ class RomanOptions extends Options { onchange: x => this.calendric = x, format: x => ['none', 'day', 'date'][x] }, + 'Auto-Illum.': { + init: _ => this.autolight, + onchange: x => this.autolight = x + }, Defaults: _ => {this.reset(); this.interact();} }; } @@ -164,6 +168,7 @@ RomanOptions.defaults = { alarmFg: '#f00', timerFg: '#0f0', activeFg: g.theme.fg2, + autolight: true, }; ////////////////////////////////////////////////////////////////////////////// @@ -663,10 +668,10 @@ class Clock { this.options.on('done', () => this.start()); this.listeners = { - lcdPower: on => on ? this.active() : this.inactive(), - charging: () => {face.doIcons('charging'); this.active();}, - lock: () => {face.doIcons('locked'); this.active();}, + charging: _ => {face.doIcons('charging'); this.active();}, + lock: _ => {face.doIcons('locked'); this.active();}, faceUp: up => {this.conservative = !up; this.active();}, + twist: _ => this.options.autolight && Bangle.setLCDPower(true), drag: e => { if (this.t0) { if (e.b) { @@ -728,7 +733,6 @@ class Clock { } const delay = rate - now % rate + 1; this.refresh = true; - if (rate !== prev) { this.inactive(); this.redraw(rate);