[mythtv-commits] mythtv commit: r13628 by justinh

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Sun Jun 10 08:21:38 UTC 2007


      Author: justinh
        Date: 2007-06-10 08:21:38 +0000 (Sun, 10 Jun 2007)
New Revision: 13628
   Changeset: http://cvs.mythtv.org/trac/changeset/13628

Modified:

   trunk/mythplugins/mythmusic/mythmusic/playbackbox.cpp
   trunk/mythplugins/mythmusic/mythmusic/playbackbox.h

Log:

Added a progress indicator to mythmusic.

Uses UIStatusBarType to achieve the desired effect.

Here's an example of the XML required in music-ui.xml around where the volume control lives (or not).
Will require suitable graphic files for the indicator.

<!--
     Progress Indicator
-->

    <container name="progressindicator">
        <area>380,552,365,40</area>
        <statusbar name="progress_bar" draworder="5" whitespace="5">
        <container fleximage="no">music/musicprogbackgnd.png</container>
        <fill>music/musicprogforegnd.png</fill>
        <position>0,0</position>
        <orientation>LeftToRight</orientation>
        </statusbar>
    </container>

If the new container is not present nothing is displayed & all is well.
														    





More information about the mythtv-commits mailing list