[mythtv-commits] mythtv commit: r9949 by ijr

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sat May 20 14:08:02 EDT 2006


      Author: ijr
        Date: 2006-05-20 18:08:00 +0000 (Sat, 20 May 2006)
New Revision: 9949
   Changeset: http://cvs.mythtv.org/trac/changeset/9949

Added:

   trunk/mythtv/libs/libmythui/xmlparsebase.cpp
   trunk/mythtv/libs/libmythui/xmlparsebase.h

Modified:

   trunk/mythtv/libs/libmythui/libmythui.pro
   trunk/mythtv/libs/libmythui/mythfontproperties.cpp
   trunk/mythtv/libs/libmythui/mythfontproperties.h
   trunk/mythtv/libs/libmythui/mythmainwindow.cpp
   trunk/mythtv/libs/libmythui/mythmainwindow.h
   trunk/mythtv/libs/libmythui/myththemedmenu.cpp
   trunk/mythtv/libs/libmythui/mythuiimage.cpp
   trunk/mythtv/libs/libmythui/mythuiimage.h
   trunk/mythtv/libs/libmythui/mythuitext.cpp
   trunk/mythtv/libs/libmythui/mythuitext.h
   trunk/mythtv/libs/libmythui/mythuitype.cpp
   trunk/mythtv/libs/libmythui/mythuitype.h

Log:

Finally have a new XML parsing framework for mythui that I'm happy with.  Mostly checking in so I don't change my mind again.

On a per widget type basis, parsing is significantly simpler than the old UI code, no more redundant code.

New framework allows for widget trees to be pre-defined, and then have specific overrides when actually used.  This will allow defining something like the selection tree in the 'watch recordings' screen once, and using it with a single line of code in other screens (ie., mythmusic, game, video, etc all currently redefine that exact same widget in each .xml file).  Should lead to much smaller/easier to create/customize themes, as well as more consistant feel over the entire theme.

Tnis isn't live or even hooked up to anything yet.  Only have fonts/images/text types done so far.

Refs #12.






More information about the mythtv-commits mailing list