This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#5990 - set_int screen with a slider
Attached to Project:
Rockbox
Opened by Jonathan Gordon (jdgordon) - Thursday, 14 September 2006, 11:18 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Wednesday, 01 August 2007, 16:25 GMT+2
Opened by Jonathan Gordon (jdgordon) - Thursday, 14 September 2006, 11:18 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Wednesday, 01 August 2007, 16:25 GMT+2
|
Detailsthis is the much requested screen with a slider instead of lists for te int settings...
commitable? |
This task depends upon
Closed by Jonathan Gordon (jdgordon)
Wednesday, 01 August 2007, 16:25 GMT+2
Reason for closing: Later
Wednesday, 01 August 2007, 16:25 GMT+2
Reason for closing: Later
1) I think it adds confusion, since some of the settings that may appear (to the user) to be int settings don't use the slider, like the backlight timer.
2) The slider isn't drawn correctly on some settings, like the contrast on h100.
Otherwise I like it.
- show the vertical slider if there is enough room.
- if there are only 4 lines available for text, use a horizontal slider (as a vertical slider looks a bit strange)
- if there is less than 4 lines, omit the title
- respect the statusbar setting.
Tested on h120 target, recorder (also with xtal-14) and h120 sim. Looks nice and is IMO a good compromise between being consistent and convenient.
Thoughts?
is there any real reason why the backlight (for example) setting doesnt pass the actual timeout to the code instead of an index value?
The only semi-acceptable reason I can tihnk of is that a special value is needed for on/off, but the formatter callback function can be used to display on/off instead of the spercial value (It would also decrease code size by a tiny bnit changing these because you wont need to have the options sturct with the values.)
1) The values also include "Off" and "Always on", which aren't integer values
2) The values aren't evenly spaced
3) To save space in the RTC RAM
2) using the backlight as an example... why does it not just have a max,min and any value between them is fine?
3) with a max value you still wont get close to needing all 32 bits.. 8 bits is enough to get to 512 which i would think would be plenty for most settings..
2) The backlight timer might be done like that, but the recording timesplit would be a pain to set to 24 hours when the resolution is 5 minutes. The uneven steps are for convenience.
3) what 32 bits? The current backlight timer setting uses 5 bits
I agree with you that these settings could be converted to integer settings. The question is if we want it. If we take the timesplit as an example again, I believe it is convenient for the user to not have 5-minute resolution up to the maximum of 24 hours. For example, the 01:14 and 01:20 settings are exactly matched to fit a regular CD. If we want to allow the user to set 01:14, we would need 1-minute resolution. That would make it even more painful to set the timesplit.
Also, IMO a slider looks way better on sound setting values (like volume, bass, etc.) but isn't necessary on other values (like display contrast) at all. How about using it as a graphical representation on only those sound setting values? (Ok, this will make the display inconsistent to some degree -- but maybe it's a nice option.)