This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#5551 - Adapt vu_meter to fullscreen on all targets
|
DetailsWIP on making the vu_meter plugin fullscreen on all targets.
Only adjusted the analog meter so far. Todo: Need to tweak the y_values for all the new targets (nearly there...) Digital meter I'll clean up and post the C programme I wrote to calculate the analog_db_scale and y_values for each screen resolution. |
This task depends upon
Closed by Jonas Häggqvist (rasher)
Wednesday, 12 July 2006, 22:09 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed.
Wednesday, 12 July 2006, 22:09 GMT+2
Reason for closing: Accepted
Additional comments about closing: Committed.
Since you've already got a program to generate the tables and scale (in C, no less) - why not simply generate the tables at the start of the plugin? That allows the plugin to run on any screen size and be automatically scaled, preventing more work for future models and lots of #if/#elses.
Anyway, attached is the quick and dirty bit of code for doing the calculations, plus the plugin with updated values.
I've got no idea what to do with the digital meter, there is a lot of screen real estate to fill...
As for the digital meter, simply larger bitmaps are probably best for now - which I'd be happy to do.
The analog_db_scale is off a bit - it really needs log10 instead of log.
Midkay, if you could do the bitmaps that would be great - I'm not really any good at making things look nice :)