FS#8799 - User definable list dimensions (custom list for viewports)
Opened by Thomas Martitz (kugel.) - Tuesday, 25 March 2008, 05:36 GMT
Last edited by Thomas Martitz (kugel.) - Sunday, 16 August 2009, 22:35 GMT
So, this is my first shot at custom lists for viewports for LCD displays.
This task should succeed
This task adds the possibility to add custom dimensions to lists.
The settings in the theme.cfg file should look like following:
listxpos: 47 (default: 0)
listypos: 47 (default: 0)
listwidth: 140 (default: LCD_WIDTH)
listheight: 150 (default: LCD_HEIGHT)
Note: As there's no validation yet, some values might crash the player. Some values are for example when listxpos+listheight are bigger than the height of the LCD.
A preview is available here: http://www.alice-dsl.net/simonemartitz/asdf/custom_list.png
This patch contains backwards compability, as it resets the settings to defaults upon theme change.
Note: This patch is not finished yet, there's still some work to do, like:
* Verification of the values (see above)
* Extend to other contexts to be consistent (i.e. quickscreen)
* Code cleanup
Note: It's tested on the e200 sim. Not yet heavily tested. If any error occurs, reset your config upon boot (see manual).
Please test and report problems as well as suggestions.
Sunday, 16 August 2009, 22:35 GMT
Reason for closing: Accepted
Additional comments about closing: Accepted in r22365...finally :p