mirror of https://github.com/espruino/BangleApps
Clock apps tell clock widgets to hide #4
parent
0d2093a134
commit
7b1058e537
|
@ -2,3 +2,4 @@
|
||||||
0.02: Improve battery life, sprite resolution, fix launcher issue and unaligned text bug
|
0.02: Improve battery life, sprite resolution, fix launcher issue and unaligned text bug
|
||||||
0.03: Reduce code size, refresh once a minute and faster refresh
|
0.03: Reduce code size, refresh once a minute and faster refresh
|
||||||
0.04: Show a random kana every minute to improve learning
|
0.04: Show a random kana every minute to improve learning
|
||||||
|
0.05: Tell clock widgets to hide.
|
||||||
|
|
|
@ -264,10 +264,10 @@ Bangle.on('touch', function (tap, top) {
|
||||||
});
|
});
|
||||||
|
|
||||||
g.clear(true);
|
g.clear(true);
|
||||||
|
// show launcher when button pressed
|
||||||
|
Bangle.setUI('clock');
|
||||||
Bangle.loadWidgets();
|
Bangle.loadWidgets();
|
||||||
tickWatch();
|
tickWatch();
|
||||||
setInterval(tickWatch, 1000 * 60);
|
setInterval(tickWatch, 1000 * 60);
|
||||||
|
|
||||||
// show launcher when button pressed
|
|
||||||
Bangle.setUI('clock');
|
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "kanawatch",
|
"id": "kanawatch",
|
||||||
"name": "Kanawatch",
|
"name": "Kanawatch",
|
||||||
"shortName": "Kanawatch",
|
"shortName": "Kanawatch",
|
||||||
"version": "0.04",
|
"version": "0.05",
|
||||||
"type": "clock",
|
"type": "clock",
|
||||||
"description": "Learn Hiragana and Katakana",
|
"description": "Learn Hiragana and Katakana",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
|
|
|
@ -4,3 +4,4 @@
|
||||||
0.04: Removed "wake LCD on face-up"-feature: A watch-face should not set things like "wake LCD on face-up".
|
0.04: Removed "wake LCD on face-up"-feature: A watch-face should not set things like "wake LCD on face-up".
|
||||||
0.05: Added support to other color themes (other then black)
|
0.05: Added support to other color themes (other then black)
|
||||||
0.06: Added support for 24 hour clock enabled from settings
|
0.06: Added support for 24 hour clock enabled from settings
|
||||||
|
0.07: Tell clock widgets to hide.
|
||||||
|
|
|
@ -328,11 +328,9 @@ Bangle.on('lcdPower', (on) => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Bangle.setUI("clock");
|
||||||
g.clear();
|
g.clear();
|
||||||
Bangle.loadWidgets();
|
Bangle.loadWidgets();
|
||||||
Bangle.drawWidgets();
|
Bangle.drawWidgets();
|
||||||
|
|
||||||
startTimers();
|
startTimers();
|
||||||
Bangle.setUI("clock");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "matrixclock",
|
"id": "matrixclock",
|
||||||
"name": "Matrix Clock",
|
"name": "Matrix Clock",
|
||||||
"version": "0.06",
|
"version": "0.07",
|
||||||
"description": "inspired by The Matrix, a clock of the same style",
|
"description": "inspired by The Matrix, a clock of the same style",
|
||||||
"icon": "matrixclock.png",
|
"icon": "matrixclock.png",
|
||||||
"screenshots": [{"url":"matrix_green_on_black.jpg"}],
|
"screenshots": [{"url":"matrix_green_on_black.jpg"}],
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
0.03: Localization
|
0.03: Localization
|
||||||
0.04: move jshint to the top
|
0.04: move jshint to the top
|
||||||
0.05: Use Bangle.setUI for button/launcher handling
|
0.05: Use Bangle.setUI for button/launcher handling
|
||||||
|
0.06: Tell clock widgets to hide.
|
||||||
|
|
|
@ -77,11 +77,13 @@ Bangle.on('lcdPower', function(on) {
|
||||||
drawMixedClock();
|
drawMixedClock();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Show launcher when button pressed
|
||||||
|
Bangle.setUI("clock");
|
||||||
|
|
||||||
g.clear();
|
g.clear();
|
||||||
Bangle.loadWidgets();
|
Bangle.loadWidgets();
|
||||||
Bangle.drawWidgets();
|
Bangle.drawWidgets();
|
||||||
setInterval(drawMixedClock, 5E3);
|
setInterval(drawMixedClock, 5E3);
|
||||||
drawMixedClock();
|
drawMixedClock();
|
||||||
|
|
||||||
// Show launcher when button pressed
|
|
||||||
Bangle.setUI("clock");
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "miclock",
|
"id": "miclock",
|
||||||
"name": "Mixed Clock",
|
"name": "Mixed Clock",
|
||||||
"version": "0.05",
|
"version": "0.06",
|
||||||
"description": "A mix of analog and digital Clock",
|
"description": "A mix of analog and digital Clock",
|
||||||
"icon": "clock-mixed.png",
|
"icon": "clock-mixed.png",
|
||||||
"type": "clock",
|
"type": "clock",
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
...
|
...
|
||||||
0.03: First update with ChangeLog Added
|
0.03: First update with ChangeLog Added
|
||||||
|
0.04: Tell clock widgets to hide.
|
||||||
|
|
|
@ -225,6 +225,6 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
Bangle.loadWidgets();
|
|
||||||
|
|
||||||
Bangle.setUI('clock');
|
Bangle.setUI('clock');
|
||||||
|
|
||||||
|
Bangle.loadWidgets();
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ "id": "minimal_clock",
|
{ "id": "minimal_clock",
|
||||||
"name": "Minimal Analog Clock",
|
"name": "Minimal Analog Clock",
|
||||||
"shortName":"Minimal Clock",
|
"shortName":"Minimal Clock",
|
||||||
"version":"0.03",
|
"version":"0.04",
|
||||||
"description": "a minimal analog clock - just with some hands and no clock face",
|
"description": "a minimal analog clock - just with some hands and no clock face",
|
||||||
"icon": "app-icon.png",
|
"icon": "app-icon.png",
|
||||||
"type": "clock",
|
"type": "clock",
|
||||||
|
|
|
@ -3,3 +3,4 @@
|
||||||
0.03: Fixed rendering for Espruino v2.06
|
0.03: Fixed rendering for Espruino v2.06
|
||||||
0.04: Fixed overlapped rendering of dates
|
0.04: Fixed overlapped rendering of dates
|
||||||
0.05: Use Bangle.setUI for button/launcher handling
|
0.05: Use Bangle.setUI for button/launcher handling
|
||||||
|
0.06: Tell clock widgets to hide.
|
||||||
|
|
|
@ -78,8 +78,10 @@ Bangle.on('lcdPower', (on) => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Show launcher when button pressed
|
||||||
|
Bangle.setUI("clock");
|
||||||
|
|
||||||
Bangle.loadWidgets();
|
Bangle.loadWidgets();
|
||||||
startDrawing();
|
startDrawing();
|
||||||
|
|
||||||
// Show launcher when button pressed
|
|
||||||
Bangle.setUI("clock");
|
|
||||||
|
|
Loading…
Reference in New Issue