commit
b2e39d950f
|
|
@ -4737,7 +4737,7 @@
|
||||||
{ "id": "pooqroman",
|
{ "id": "pooqroman",
|
||||||
"name": "pooq Roman watch face",
|
"name": "pooq Roman watch face",
|
||||||
"shortName":"pooq Roman",
|
"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!",
|
"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",
|
"icon": "app.png",
|
||||||
"type": "clock",
|
"type": "clock",
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,3 @@
|
||||||
0.01: New App!
|
0.01: Initial check-in.
|
||||||
0.02: Make internal menu time out + small fixes
|
0.02: Make internal menu time out + small fixes.
|
||||||
|
0.03: Autolight feature.
|
||||||
|
|
|
||||||
|
|
@ -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
|
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.
|
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.
|
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
|
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
|
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
|
hand turns itself on. When timers are mere seconds away, the display changes again and the second hand activates itself, so you
|
||||||
|
|
|
||||||
|
|
@ -138,6 +138,10 @@ class RomanOptions extends Options {
|
||||||
onchange: x => this.calendric = x,
|
onchange: x => this.calendric = x,
|
||||||
format: x => ['none', 'day', 'date'][x]
|
format: x => ['none', 'day', 'date'][x]
|
||||||
},
|
},
|
||||||
|
'Auto-Illum.': {
|
||||||
|
init: _ => this.autolight,
|
||||||
|
onchange: x => this.autolight = x
|
||||||
|
},
|
||||||
Defaults: _ => {this.reset(); this.interact();}
|
Defaults: _ => {this.reset(); this.interact();}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -164,6 +168,7 @@ RomanOptions.defaults = {
|
||||||
alarmFg: '#f00',
|
alarmFg: '#f00',
|
||||||
timerFg: '#0f0',
|
timerFg: '#0f0',
|
||||||
activeFg: g.theme.fg2,
|
activeFg: g.theme.fg2,
|
||||||
|
autolight: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
@ -663,10 +668,10 @@ class Clock {
|
||||||
this.options.on('done', () => this.start());
|
this.options.on('done', () => this.start());
|
||||||
|
|
||||||
this.listeners = {
|
this.listeners = {
|
||||||
lcdPower: on => on ? this.active() : this.inactive(),
|
charging: _ => {face.doIcons('charging'); this.active();},
|
||||||
charging: () => {face.doIcons('charging'); this.active();},
|
lock: _ => {face.doIcons('locked'); this.active();},
|
||||||
lock: () => {face.doIcons('locked'); this.active();},
|
|
||||||
faceUp: up => {this.conservative = !up; this.active();},
|
faceUp: up => {this.conservative = !up; this.active();},
|
||||||
|
twist: _ => this.options.autolight && Bangle.setLCDPower(true),
|
||||||
drag: e => {
|
drag: e => {
|
||||||
if (this.t0) {
|
if (this.t0) {
|
||||||
if (e.b) {
|
if (e.b) {
|
||||||
|
|
@ -728,7 +733,6 @@ class Clock {
|
||||||
}
|
}
|
||||||
const delay = rate - now % rate + 1;
|
const delay = rate - now % rate + 1;
|
||||||
this.refresh = true;
|
this.refresh = true;
|
||||||
|
|
||||||
if (rate !== prev) {
|
if (rate !== prev) {
|
||||||
this.inactive();
|
this.inactive();
|
||||||
this.redraw(rate);
|
this.redraw(rate);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue