[mythtv-commits] mythtv commits

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Mon Nov 22 15:40:02 UTC 2004


----------------------------------------------------------------------------
Changes committed by thor on Mon Nov 22 15:38:22 2004

Added Files:
   in mythtv/libs/libmythui:
        myththemeddialogprivate.cpp myththemeddialogprivate.h 
        mythtreenode.cpp mythtreenode.h mythuicontainer.cpp 
        mythuicontainer.h mythuitree.cpp mythuitree.h 
        mythuitreebutton.cpp mythuitreebutton.h mythuitreecolumn.cpp 
        mythuitreecolumn.h 
Modified Files:
   in mythtv/libs/libmythui:
        libmythui.pro myththemeddialog.cpp myththemeddialog.h 
        mythuiimage.cpp mythuitext.cpp mythuitype.cpp mythuitype.h 
        mythxmlparser.cpp mythxmlparser.h 
Removed Files:
   in mythtv/libs/libmythui:
        mythcontainer.cpp mythcontainer.h 
Log Message:

    Start of some useful changes to libmythui.

    Please note, a lot of these files are place holders for things I'm
actively working on. The main reason for the commit was to get this in so
that others will have some idea where I'm trying to get to (also, I need to
move the code tree to another box so that I can actually get some work done
on it during this week).

    In the midst of redesigning a tree object (MythUITree) which can get
passed a tree of content/menu items (will be MythTreeNode's) and be very
flexible about how it displays them (vertical view, horizontal view, folder
view, etc.). The MythTreeNode will replace GenericTree with something that
holds a void* pointer to the *thing* (ie. music track to play, video to
view). Also, inheriting MythTreeNode's is to be discouraged, as we want to
get away from having to dynamic_cast returned objects every time the user
navigates or selects anything. Instead, the base MythTreeNode will have an
extensive type enum, which, together with the void* pointer, will let us
just query an int value and then call an appropriate get() (ie.
getMusicMetadata(), getVideoMetadata(), etc.).

     Main stuff that in this commit that is working is a better xml parser
that handles debugging well. Oh and all MythUIType's can now draw a frame
around themselves to show where their boundaries are when Draw() is called.



----------------------------------------------------------------------------


More information about the mythtv-commits mailing list