This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#9424 - WPS editor rework: use native LCD drawing system instead of Qt's one
Attached to Project:
Rockbox
Opened by Maurus Cuelenaere (mcuelenaere) - Sunday, 28 September 2008, 17:24 GMT+2
Last edited by Maurus Cuelenaere (mcuelenaere) - Sunday, 06 June 2010, 19:04 GMT+2
Opened by Maurus Cuelenaere (mcuelenaere) - Sunday, 28 September 2008, 17:24 GMT+2
Last edited by Maurus Cuelenaere (mcuelenaere) - Sunday, 06 June 2010, 19:04 GMT+2
|
DetailsSee title description.
== Old description == This patch tries to use the native Rockbox font system instead of relying on Qt's one. But due to my lack of knowledge of the Rockbox font format/mono bitmap format, the result currently is only garbage as output. (When using the patch, don't forget to modify the hard coded font path) ====== |
This task depends upon
Closed by Maurus Cuelenaere (mcuelenaere)
Sunday, 06 June 2010, 19:04 GMT+2
Reason for closing: Fixed
Additional comments about closing: The new theme editor should replace this.
Sunday, 06 June 2010, 19:04 GMT+2
Reason for closing: Fixed
Additional comments about closing: The new theme editor should replace this.
That's why I'm curious you re-implement/copy some functions, like lcd_putsxyofs or lcd_update.
lcd_update() on the other hand needs to be implemented, how would the framebuffer otherwise get shown on the screen?
As this is rather inflexible, I would like to suggest an other approach for the WPS editor:
why don't we extend the existing UI simulator so it can get built as a lib and as an app (kinda like libwps) and build the WPS editor app around this lib, while still using SDL but integrated into Qt as a widget.
This would give the benefit that whenever something gets changed in apps/, obviously this shouldn't break uisimulator/ so it also won't break the WPS editor (compared to now, code should get checked whether it runs in the simulator and in wpseditor/libwps/).
Comments, thoughts?
Especially as the wps editor doesnt use the internal wps tree of rockbox, at the moment it uses rockbox code only for display.
Also such a simulator-lib could be used in other apps (for example a preview in rbutil, or for building tagcache).
So if someone has the time and motivation to change this, go forward !!
@ kugel: it uses rockbox code, but wraps it into a libwps, which needs maintainment when wps code changes.
It's functional as in running the simulator from within WPS editor, but that's it atm.
The WPS editor can't get the simulator to load specific WPS files nor can it control its state.