This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#4796 - Display current dir while browsing files
|
DetailsThis patch adds "titles" to the gui list widget. It allows for setting a title/icon to display at the top of the list.
Currently, I'm using this feature to show the current directory (except the root dir) while browsing files. See http://forums.rockbox.org/index.php?topic=2876.0 for an example. To enable this, there's a menu option in General Settings -> File View -> Show Current Dir. Note: Scrolling the title was a problem because line scrolling depends on the screen xmargin which needs to be different for the title line versus the rest of the items. I've included a work around for ONLY the H100 (lcd-h100.c and lcd-h100-remote.c) and I haven't observed any fowl behavior. The changes should be the same for the other lcd files. If this patch is accepted (or if there is interest), I can try to extend this concept to it to the menu system as well, i.e. to display the current menu. |
This task depends upon
Closed by Dan Everton (safetydan)
Wednesday, 16 August 2006, 06:22 GMT+1
Reason for closing: Out of Date
Additional comments about closing: I\'m sorry that we missed this patch when http://www.rockbox.org/tracker/task/5795 got comitted. I\'ll close it now since it is out of date with the functionality in CVS.
Wednesday, 16 August 2006, 06:22 GMT+1
Reason for closing: Out of Date
Additional comments about closing: I\'m sorry that we missed this patch when http://www.rockbox.org/tracker/task/5795 got comitted. I\'ll close it now since it is out of date with the functionality in CVS.
Is it possible to highlight the title somehow? Display it in inverse or underline?
Shouldn't the root dir have a title too? "/" ? If menus have titles this will be less of an issue.
Use -p0 to apply
Synced to current cvs.
I resynched it with the current CVS (2006.03.22), and made a version which will apply cleanly against the scroll margins patch
BTW: I love your patch :) I hope it'll get included in CVS soon...
Can we get an update?