Quote:
Originally Posted by jackie_w
Building on @DevonHess's request ...
Might it be possible to introduce some kind of generic 'set Theme' feature where several (user-definable) config items are set with a single menu item. For example to set a NightMode theme I may want to change several config variables simultaneously:
Code:
InvertScreen=True
ColorSetting=1500
FrontLightLevel=1
numPartialUpdatePageTurns=-1
|
You should be able to use the "chain" mechanism for that.
Basically, something like:
Code:
menu_item : main : Theme label : <first setting> : <first arg>
chain_success : <second setting> : <second arg>
chain_success : <third setting> : <third arg>
...
menu_item : main : Another menu item : <another setting> : <another arg>