View Single Post
Old 04-06-2012, 12:08 PM   #3611
Analogus
Fanatic
Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.Analogus ought to be getting tired of karma fortunes by now.
 
Analogus's Avatar
 
Posts: 568
Karma: 2170348
Join Date: Apr 2011
Device: 2x Sony PRS-350; PRS-300 (†), Paperwhite (†), Voyage
I don't understand how value XY can be stored in the optionfile. How does Core.settings.saveOptions(yourNameHere) know, what value for what option to be stored?

Other way round:

The reason I want to do that is this:

1) I can change CSS-settings with several option-points from within PRS+ - options. No problem. Option value is stored automatically.

2) I can change CSS-settings from the Font-Size overlay too. This is done by calling another function which will manage it. But the chosen value should be stored in the optionfile responsible for the function in (1). So same value is displayed when going into PRS+ - options again later on. Otherwise the old value is displayed.

Edit: the stored option-value has just the to be there to display the chosen value in PRS+-options. No calling up on starting the reader or whatever...

A.

Last edited by Analogus; 04-06-2012 at 12:12 PM.
Analogus is offline   Reply With Quote