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