forked from FOSS/BangleApps
commit
3d9ce381b7
|
@ -11,3 +11,4 @@
|
|||
0.11: Performance improvements.
|
||||
0.12: Implements a 2D menu.
|
||||
0.13: Clicks < 24px are for widgets, if fullscreen mode is disabled.
|
||||
0.14: Adds humidity to weather data.
|
|
@ -1,5 +1,5 @@
|
|||
# BW Clock
|
||||
A very minimalistic clock with date and time in focus.
|
||||
A very minimalistic clock to mainly show date and time.
|
||||
|
||||

|
||||
|
||||
|
|
|
@ -139,6 +139,14 @@ function imgWind () {
|
|||
}
|
||||
}
|
||||
|
||||
function imgHumidity () {
|
||||
return {
|
||||
width : 24, height : 24, bpp : 1,
|
||||
transparent : 1,
|
||||
buffer : require("heatshrink").decompress(atob("//7///+YCB+ICB8ACE4F/AQX9AQP54H//AOB+F/34CBj/gn8f4E+h/Aj0H4Ecg+AjED4ACE8E4gfwvEDEgICB/kHGwMP"))
|
||||
}
|
||||
}
|
||||
|
||||
function imgTimer() {
|
||||
return {
|
||||
width : 24, height : 24, bpp : 1,
|
||||
|
@ -203,6 +211,7 @@ if(storage.readJSON('weather.json') !== undefined){
|
|||
menu.push([
|
||||
function(){ return [ "Weather", imgWeather() ] },
|
||||
function(){ return [ getWeather().temp, imgTemperature() ] },
|
||||
function(){ return [ getWeather().hum, imgHumidity() ] },
|
||||
function(){ return [ getWeather().wind, imgWind() ] },
|
||||
]);
|
||||
}
|
||||
|
@ -395,7 +404,7 @@ function drawDate(){
|
|||
|
||||
g.setMediumFont();
|
||||
g.setColor(g.theme.fg);
|
||||
g.drawString(dateStr, W/2 - fullDateW / 2, y+1);
|
||||
g.drawString(dateStr, W/2 - fullDateW / 2, y+2);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"id": "bwclk",
|
||||
"name": "BW Clock",
|
||||
"version": "0.13",
|
||||
"description": "A very minimalistic clock with date and time in focus.",
|
||||
"version": "0.14",
|
||||
"description": "A very minimalistic clock to mainly show date and time.",
|
||||
"readme": "README.md",
|
||||
"icon": "app.png",
|
||||
"screenshots": [{"url":"screenshot.png"}, {"url":"screenshot_2.png"}, {"url":"screenshot_3.png"}, {"url":"screenshot_4.png"}],
|
||||
|
|
Loading…
Reference in New Issue