mirror of https://github.com/espruino/BangleApps
clockbg 0.02: Moved settings into 'Settings->Apps'
parent
1156ba6ba2
commit
b3baf95be9
|
@ -1 +1,2 @@
|
||||||
0.01: New App!
|
0.01: New App!
|
||||||
|
0.02: Moved settings into 'Settings->Apps'
|
|
@ -1 +0,0 @@
|
||||||
require("heatshrink").decompress(atob("mEw4UA///8H55lCsHZHmEKgEVqoLIBQNVqgLGh4KBAANQBAUQBY1VoApBB4QLFDYoL/Bf4L/BbLrBBZAKBgEBBY0KAQIABgoLCCYQLEgEVBQYLGAAoL/Bf4LPAFw"))
|
|
|
@ -1,11 +1,11 @@
|
||||||
{ "id": "clockbg",
|
{ "id": "clockbg",
|
||||||
"name": "Clock Backgrounds",
|
"name": "Clock Backgrounds",
|
||||||
"shortName":"Backgrounds",
|
"shortName":"Backgrounds",
|
||||||
"version": "0.01",
|
"version": "0.02",
|
||||||
"description": "Library that allows clocks to include a custom background, from a library or uploaded.",
|
"description": "Library that allows clocks to include a custom background, from a library or uploaded.",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"screenshots": [{"url":"screenshot.png"}],
|
"screenshots": [{"url":"screenshot.png"}],
|
||||||
"type": "app",
|
"type": "module",
|
||||||
"readme": "README.md",
|
"readme": "README.md",
|
||||||
"provides_modules" : ["clockbg"],
|
"provides_modules" : ["clockbg"],
|
||||||
"tags": "module,background",
|
"tags": "module,background",
|
||||||
|
@ -13,8 +13,7 @@
|
||||||
"interface": "interface.html",
|
"interface": "interface.html",
|
||||||
"storage": [
|
"storage": [
|
||||||
{"name":"clockbg","url":"lib.js"},
|
{"name":"clockbg","url":"lib.js"},
|
||||||
{"name":"clockbg.app.js","url":"app.js"},
|
{"name":"clockbg.settings.js","url":"settings.js"}
|
||||||
{"name":"clockbg.img","url":"app-icon.js","evaluate":true}
|
|
||||||
], "data": [
|
], "data": [
|
||||||
{"wildcard":"clockbg.bg*.img"},
|
{"wildcard":"clockbg.bg*.img"},
|
||||||
{"name":"clockbg.json"}
|
{"name":"clockbg.json"}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
(function(back) {
|
||||||
let settings = Object.assign({
|
let settings = Object.assign({
|
||||||
style : "randomcolor",
|
style : "randomcolor",
|
||||||
colors : ["#F00","#0F0","#00F"]
|
colors : ["#F00","#0F0","#00F"]
|
||||||
|
@ -82,7 +83,7 @@ function showModeMenu() {
|
||||||
|
|
||||||
function showMainMenu() {
|
function showMainMenu() {
|
||||||
E.showMenu({
|
E.showMenu({
|
||||||
"" : {title:/*LANG*/"Clock Background", back:load},
|
"" : {title:/*LANG*/"Clock Background", back:back},
|
||||||
/*LANG*/"Mode" : {
|
/*LANG*/"Mode" : {
|
||||||
value : settings.style,
|
value : settings.style,
|
||||||
onchange : showModeMenu
|
onchange : showModeMenu
|
||||||
|
@ -90,4 +91,5 @@ function showMainMenu() {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
showMainMenu();
|
showMainMenu();
|
||||||
|
})
|
Loading…
Reference in New Issue