forked from FOSS/BangleApps
Mrk.Color doesn't reflect the color selected #1706
parent
9ce4883e78
commit
1a42e8dcb4
|
@ -7,4 +7,5 @@
|
||||||
-> added settings to render cal view begin day (-1: today, 0:sunday, 1:monday [default])
|
-> added settings to render cal view begin day (-1: today, 0:sunday, 1:monday [default])
|
||||||
0.03: a lot of more settings for outline, colors and highlights
|
0.03: a lot of more settings for outline, colors and highlights
|
||||||
0.04: finalized README, fixed settings cancel, fixed border-setting
|
0.04: finalized README, fixed settings cancel, fixed border-setting
|
||||||
0.05: bugfix: default settings
|
0.05: bugfix: default settings
|
||||||
|
0.06: bugfix: Mrk.Color doesn't reflect the color selected, fixes #1706
|
||||||
|
|
|
@ -8,15 +8,15 @@ Shows the
|
||||||
|
|
||||||
### The settings menu
|
### The settings menu
|
||||||
Calendar View can be customized
|
Calendar View can be customized
|
||||||
* < Save: Exist and save the current settings
|
* < Save: Exit and save the current settings
|
||||||
* Show date: Choose if and how the date is displayed: none, locale (default), monthfull or monthshort.yearshort #weeknum with 0 prefixed
|
* Show date: Choose if and how the date is displayed: none, locale [default], monthfull or monthshort.yearshort #weeknum with 0 prefixed
|
||||||
* Start wday: Set day of week start. Values: 0=Sunday, 1=Monday,...,6=Saturday or -1=Relative to today (default 0: Sunday)
|
* Start wday: Set day of week start. Values: 0=Sunday, 1=Monday,...,6=Saturday or -1=Relative to today [default 0: Sunday]
|
||||||
* Su color: Set Sundays color. Values: none (default), red, green or blue
|
* Su color: Set Sundays color. Values: none [default], red, green or blue
|
||||||
* Border: show or none (default)
|
* Border: show or none [default]
|
||||||
* Submenu Today settings - choose how today is highlighted
|
* Submenu Today settings - choose how today is highlighted
|
||||||
* < Back:
|
* < Back:
|
||||||
* Color: none, red (default), green or blue
|
* Color: none, red [default], green or blue
|
||||||
* Marker: Outline today graphically. Values: none (default), circle, rect(angle)
|
* Marker: Highlight today graphically. Values: none [default], circle, rectangle or filled
|
||||||
* Mrk.Color: Circle/rectangle color: red (default), green or blue
|
* Mrk.Color: Circle/rectangle color: red, green [default] or blue
|
||||||
* Mrk.Size: Circle/rectangle thickness in pixel: min:1, max: 10, default:3
|
* Mrk.Size: Circle/rectangle thickness in pixel: min: 1 to 10:max [default:3]
|
||||||
* < Cancel: Exit and no change. Nevertheless missing default settings and superflous settings will be removed and saved.
|
* < Cancel: Exit and no change. (Nevertheless missing default settings will be added and superflous settings will be removed.)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ "id": "timecal",
|
{ "id": "timecal",
|
||||||
"name": "TimeCal",
|
"name": "TimeCal",
|
||||||
"shortName":"TimeCal",
|
"shortName":"TimeCal",
|
||||||
"version":"0.05",
|
"version":"0.06",
|
||||||
"description": "TimeCal shows the date/time along with a 3 week calendar",
|
"description": "TimeCal shows the date/time along with a 3 week calendar",
|
||||||
"icon": "icon.png",
|
"icon": "icon.png",
|
||||||
"type": "clock",
|
"type": "clock",
|
||||||
|
|
|
@ -64,9 +64,7 @@
|
||||||
format: v => v ? /*LANG*/"show" : /*LANG*/"none",
|
format: v => v ? /*LANG*/"show" : /*LANG*/"none",
|
||||||
onchange: v => chngdSttngs.calBrdr = v
|
onchange: v => chngdSttngs.calBrdr = v
|
||||||
},
|
},
|
||||||
/*LANG*/"Today settings": () => {
|
/*LANG*/"Today settings": () => showTodayMenu(),
|
||||||
showTodayMenu();
|
|
||||||
},
|
|
||||||
/*LANG*/"< Cancel": () => cancelExitSettings()
|
/*LANG*/"< Cancel": () => cancelExitSettings()
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -75,9 +73,9 @@
|
||||||
E.showMenu({
|
E.showMenu({
|
||||||
"": {
|
"": {
|
||||||
"title": /*LANG*/"Today settings"
|
"title": /*LANG*/"Today settings"
|
||||||
},
|
},
|
||||||
"< Back": () => showMainMenu(),
|
"< Back": () => showMainMenu(),
|
||||||
/*LANG*/"Color": {
|
/*LANG*/"Color": {
|
||||||
value: chngdSttngs.tdyNumClr,
|
value: chngdSttngs.tdyNumClr,
|
||||||
min: 0, max: 3,
|
min: 0, max: 3,
|
||||||
format: v => [/*LANG*/"none", /*LANG*/"red", /*LANG*/"green", /*LANG*/"blue"][v],
|
format: v => [/*LANG*/"none", /*LANG*/"red", /*LANG*/"green", /*LANG*/"blue"][v],
|
||||||
|
@ -91,8 +89,8 @@
|
||||||
},
|
},
|
||||||
/*LANG*/"Mrk.Color": {
|
/*LANG*/"Mrk.Color": {
|
||||||
value: chngdSttngs.tdyMrkClr,
|
value: chngdSttngs.tdyMrkClr,
|
||||||
min: 0, max: 2,
|
min: 1, max: 3,
|
||||||
format: v => [/*LANG*/"red", /*LANG*/"green", /*LANG*/"blue"][v],
|
format: v => [undefined, /*LANG*/"red", /*LANG*/"green", /*LANG*/"blue"][v],
|
||||||
onchange: v => chngdSttngs.tdyMrkClr = v
|
onchange: v => chngdSttngs.tdyMrkClr = v
|
||||||
},
|
},
|
||||||
/*LANG*/"Mrk.Size": {
|
/*LANG*/"Mrk.Size": {
|
||||||
|
@ -101,8 +99,8 @@
|
||||||
format: v => v+"px",
|
format: v => v+"px",
|
||||||
onchange: v => chngdSttngs.tdyMrkPxl = v
|
onchange: v => chngdSttngs.tdyMrkPxl = v
|
||||||
},
|
},
|
||||||
/*LANG*/"< Cancel": () => cancelExitSettings()
|
/*LANG*/"< Cancel": () => cancelExitSettings()
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
showMainMenu();
|
showMainMenu();
|
||||||
|
|
Loading…
Reference in New Issue