This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#2994 - Scrolling Margins for new CVS
Attached to Project:
Rockbox
Opened by takka (tfact) - Tuesday, 07 February 2006, 07:19 GMT+2
Last edited by Matthias Mohr (aka Massa) (mmohr) - Sunday, 02 April 2006, 20:04 GMT+2
Opened by takka (tfact) - Tuesday, 07 February 2006, 07:19 GMT+2
Last edited by Matthias Mohr (aka Massa) (mmohr) - Sunday, 02 April 2006, 20:04 GMT+2
|
DetailsThe patch adds the possibility to restrict the width of a (scrolling) line.
It enables you to position the scroll text inside the line and give him a starting and ending position. It extents the %s WPS tag to the following: %s%m|x1|x2| where x1 is the x-position where the line text starts and x2 is the ending x-position of the scroll text (actually, when I look at the code, it should also work for nonscrolling text...) Only one margin is allowed per line. BTW, I assume this patch will never find it's way into the CVS. The devs plan something more generous, called "viewports". The plan is to include it in v3.1 - regarding the release plan it will be somewhere between now and (latest) November 2006. Until the viewports find it's way into CVS this patch here seems to be useful for a lot of people... (and it is also the base for other patches) You may find the patch compatible to the current CVS always at the end of the comments to this task... |
This task depends upon
Closed by Ben Basha (paprica)
Monday, 03 April 2006, 14:36 GMT+2
Reason for closing: Duplicate
Additional comments about closing: we are returning to the orginal task
http://www.rockbox.org/tracker/task/2954
Monday, 03 April 2006, 14:36 GMT+2
Reason for closing: Duplicate
Additional comments about closing: we are returning to the orginal task
http://www.rockbox.org/tracker/task/2954
Hopefully the changed patch will work until it finally find it's way into the CVS ;)
Although it seems it'll never find it's way into CVS...
CC debug_menu.c
debug_menu.c: In function `dbg_ports':
debug_menu.c:1042: error: too few arguments to function `lcd_setmargins'
make[1]: *** [/home/rob/ipod-linux/rockbox/cvs/src/rockbox-bleeding/build/apps/debug_menu.o] Error 1
make: *** [all] Error 2
I looked at your patch, and changed line 1042 to be -> lcd_setmargins(0, LCD_WIDTH, 0);
And it at least builds now. :-)
Hope this gets into CVS soon!
But as long there is no alternative for the scroll margins patch I will use it.
I added an updated patch which also fixes some small bugs I found.
I also updated the description of the patch above...
And yes, I also doubt it will ever be put into CVS.
The devs plan something more generous, called "viewports".
The plan is to include it in v3.1 - regarding the release plan it'll
be (latest) November 2006.
So until then this patch here is needed for a lot of people...
(and is also the base for other patches)