Rockbox

Tasklist

FS#7875 - Remove gui list flash / lcd scroll invert code.

Attached to Project: Rockbox
Opened by Antoine Cellerier (dionoea) - Sunday, 30 September 2007, 21:46 GMT
Last edited by Antoine Cellerier (dionoea) - Monday, 15 October 2007, 20:52 GMT
Task Type Patches
Category Applications
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This removes the invertscroll functions in firmware/drivers/ and the gui_(sync)list_flash functions in apps/gui/. This code was only used by the playlist_viewer when moving an item. Since we have a specific icon to flag the track to be moved this was redundant (and it didn't work well with the new gradient/colored selection bar code). This saves about 500 bytes on the ipod video build.
This task depends upon

Closed by  Antoine Cellerier (dionoea)
Monday, 15 October 2007, 20:52 GMT
Reason for closing:  Accepted
Comment by Jonathan Gordon (jdgordon) - Monday, 01 October 2007, 08:24 GMT
if icons are disable in that screen how will you know what your moving?
Comment by Antoine Cellerier (dionoea) - Monday, 01 October 2007, 10:22 GMT
Ah, that was something I wasn't sure about. How do you disable the icons? Is it a playlist viewer specific setting or a general rockbox setting?
(Anyway, the blinking line isn't set on the item to move but on the line you're moving it to ... I'm not sure if that's the way it's supposed to be though)
Comment by Jonathan Gordon (jdgordon) - Monday, 01 October 2007, 10:25 GMT
I tinhk the playlist viewer has its own show icons setting in its settings menu (not the playlist options settings under the main menu...)
Comment by Dominik Riebeling (bluebrother) - Monday, 01 October 2007, 11:40 GMT
Press "Menu" in the playlist to access its settings. I personally find the flashing line / icon rather confusing, I'd better like to move the entry "live" in the playlist viewer when moving. That way flashing also wouldn't be needed ...
Comment by Antoine Cellerier (dionoea) - Monday, 01 October 2007, 11:47 GMT
These screenshots show the current code (well, a build from a week ago) with and without icons. The flashing line is never set on the item to move (note that when icons are disabled you don't see what item was selected). The flashing line is useless when used that way in my opinion, since I fail to see why a non flashing selector would convey a different meaning.

Edit: line Ccc is selected in both screenshots (which isn't easy to notice in the second one)
Edit2: And I agree with bluebrother that moving the item on the fly would be more intuitive (although that would be a completely different patch then removing a bunch of almost unused functions).
Comment by Antoine Cellerier (dionoea) - Sunday, 14 October 2007, 22:05 GMT
See FS #7958 for an implementation of bluebrother's idea.

Loading...