Permalink
Browse files

Change theme widget names to be a bit more universal

Was too focused on playing music, a legacy from originally using the miniplayer theme
  • Loading branch information...
jyavenard committed Jul 4, 2013
1 parent 3a7d524 commit 4951ac1b2721a4baf8f23cb4a8bb62cbd6efcb3d
Showing with 19 additions and 19 deletions.
  1. +5 −5 mythtv/libs/libmythui/mythuinotificationcenter.cpp
  2. +14 −14 mythtv/themes/default/notification-ui.xml
@@ -183,12 +183,12 @@ bool MythUINotificationScreen::Create(void)
// The xml should contain an <imagetype> named 'coverart', if it doesn't
// then we cannot display the image and may as well abort
m_artworkImage = dynamic_cast<MythUIImage*>(GetChild("coverart"));
m_artworkImage = dynamic_cast<MythUIImage*>(GetChild("image"));
m_titleText = dynamic_cast<MythUIText*>(GetChild("title"));
m_artistText = dynamic_cast<MythUIText*>(GetChild("artist"));
m_albumText = dynamic_cast<MythUIText*>(GetChild("album"));
m_formatText = dynamic_cast<MythUIText*>(GetChild("info"));
m_timeText = dynamic_cast<MythUIText*>(GetChild("time"));
m_artistText = dynamic_cast<MythUIText*>(GetChild("origin"));
m_albumText = dynamic_cast<MythUIText*>(GetChild("description"));
m_formatText = dynamic_cast<MythUIText*>(GetChild("extra"));
m_timeText = dynamic_cast<MythUIText*>(GetChild("progress_text"));
m_progressBar = dynamic_cast<MythUIProgressBar*>(GetChild("progress"));
m_created = true;
@@ -28,22 +28,22 @@
<font>baselarge</font>
</textarea>
<textarea name="artist" from="basetextarea">
<textarea name="origin" from="basetextarea">
<area>18,45,-10,30</area>
<font>basesmall</font>
</textarea>
<textarea name="album" from="basetextarea">
<textarea name="description" from="basetextarea">
<area>18,75,-10,30</area>
<font>basesmall</font>
</textarea>
<textarea name="info" from="basetextarea">
<textarea name="extra" from="basetextarea">
<area>18,105,300,30</area>
<font>basesmall</font>
</textarea>
<textarea name="time" from="basetextarea">
<textarea name="progress_text" from="basetextarea">
<area>370,105,-10,30</area>
<font>basesmall</font>
<align>right</align>
@@ -72,7 +72,7 @@
<area>0,0,100%,100%</area>
</shape>
<imagetype name="coverart">
<imagetype name="image">
<filename>damaged.png</filename>
<area>18,18,144,144</area>
</imagetype>
@@ -82,22 +82,22 @@
<font>baselarge</font>
</textarea>
<textarea name="artist" from="basetextarea">
<textarea name="origin" from="basetextarea">
<area>170,45,-10,30</area>
<font>basesmall</font>
</textarea>
<textarea name="album" from="basetextarea">
<textarea name="description" from="basetextarea">
<area>170,75,-10,30</area>
<font>basesmall</font>
</textarea>
<textarea name="info" from="basetextarea">
<textarea name="extra" from="basetextarea">
<area>170,105,300,30</area>
<font>basesmall</font>
</textarea>
<textarea name="time" from="basetextarea">
<textarea name="progress_text" from="basetextarea">
<area>370,105,-10,30</area>
<font>basesmall</font>
<align>right</align>
@@ -116,7 +116,7 @@
<fill color="#000000"/>
</shape>
<imagetype name="coverart">
<imagetype name="image">
<filename>damaged.png</filename>
<area>-1,-1,100%,100%</area>
<preserveaspect>true</preserveaspect>
@@ -127,22 +127,22 @@
<font>mysmall</font>
</textarea>
<textarea name="artist" from="basetextarea">
<textarea name="origin" from="basetextarea">
<area>170,45,-10,30</area>
<font>myverysmall</font>
</textarea>
<textarea name="album" from="basetextarea">
<textarea name="description" from="basetextarea">
<area>170,75,-10,30</area>
<font>myverysmall</font>
</textarea>
<textarea name="info" from="basetextarea">
<textarea name="extra" from="basetextarea">
<area>170,105,300,30</area>
<font>myverysmall</font>
</textarea>
<textarea name="time" from="basetextarea">
<textarea name="progress_text" from="basetextarea">
<area>370,105,-10,30</area>
<font>myverysmall</font>
<align>right</align>

0 comments on commit 4951ac1

Please sign in to comment.