This Page is about the new upcoming WPS / Theme editor, which is developed as a gsoc2008 project for rockbox.
This application will allow users to preview, create and edit existing WPS's and themes for Rockbox.
The main aim is - create a GUI application with redefined drawing functions that uses Rockbox' drawing mechanism (second variant).
WPS preview is done.
Who's working on this
Co - Mentor: NicolasPennequin
This variant is fully based on rockbox code. Yes! As I see now we can use functions described in gwps-common.h. How? We can redefine struct screen *display; in gui_wps. If I�m right only display is charged with direct drawing to the screen. It calls functions from lcd.h to draw received data. So we can assign functions to draw in our application. If it can be used as a standalone library we will have already made display mechanism. I think it can be done, same as checkwps. If so, I�ll only need to create drawing functions. But there will be needed lots of callbacks which will not be included in the dll. So which of them is another research, I haven�t done yet. Any advices here?
display is used in:
so, this functions surely use some other;
gwps is used in:
So if all of this could be reimplemented or used independently, i think we can use gui_wps, and we will have exact mechanism of displaying. Something tells me that it is not full list of functions to be reimplemented.
Now we have a GUI that can show WPS in dynamic i.e. one can change artist, track, album to see how it would be look like with long names, one can change volume, track progress and font height. Scroll engine is not implemented yet.
Main bug: rockbox code clears some viewports after images and text are drawn. How should be drawmodes applied?
Next to do: implement core editing for images, and base text tags
The code could be found here http://code.google.com/p/wpseditor/
Copyright © by the contributing authors.