Dirk Meyer wrote:
[...]
>> 2) I still would like to add a pygame output to navigate through the
>> menus on a graphical LCD. I assume that the new structure is not
>> advanced enough to work on this? (It would require two output devices -
>> the main screen and a pygame-LCD output)
> 
> Not pygame. The pygame stuff is depricated. We use mevas now and will
> switch to canvas in the future. Both are kaa modules and depend on a
> specific display (kaa.display). So you need to write a kaa.display
> module that can write on a graphical LCD. Right now we only support
> one output display at a time, but it should be possible to change that
> later. 

I'd like to second Dischi on this, please wait for canvas / kaa
architecture to establish a bit. I'm too planning to add graphical
display support to freevo2, and already have some experience with
http://graphlcd.berlios.de for which I wrote a driver for my specific
VFD, added patches to use freetype fonts for rendering and also wrote a
C wrapper for usage in  an LCDproc metadriver (just to extend LCDproc's
list of supported devices with the graphical ones supported by
graphlcd-base, see http://www.muresan.de/graphlcd/lcdproc/).
Graphlcd-base supports lots of displays already, so let's not do
duplicate work and join efforts on this.
I think, the best way is to write a python wrapper for the C++ library
graphlcd-base and use it in a kaa.display (from what I understood so far
just by following discussions, I still haven't found the time yet to
study the python code, and I still have to get familiar with python
anyway...).
If your specific graphical display is not yet supported by
graphlcd-base, but there is already code for another project which does,
or there are data sheets of the display's command set, it should be easy
to add graphlcd-base driver for it, as the drivers in that library are
really lightweight...

Lucian


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to