Skip to content

Commit

Permalink
Add "busy" state support to default themes
Browse files Browse the repository at this point in the history
  • Loading branch information
jyavenard committed Aug 14, 2013
1 parent e04aba4 commit 27cd3e2
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 2 deletions.
17 changes: 17 additions & 0 deletions mythtv/themes/MythCenter-wide/notification-ui.xml
Expand Up @@ -130,6 +130,14 @@
<area>10,10,160,160</area>
</imagetype>
</state>
<state name="busy">
<area>0,0,100%,100%</area>
<imagetype name="animation">
<area>40,40,105,105</area>
<filepattern low="0" high="24">busyimages/%1.png</filepattern>
<delay>250</delay>
</imagetype>
</state>
</statetype>

<imagetype name="image" depends="!mediastate&amp;!errorstate">
Expand Down Expand Up @@ -238,6 +246,15 @@
<preserveaspect>true</preserveaspect>
</imagetype>
</state>
<state name="busy">
<area>0,0,100%,100%</area>
<imagetype name="animation">
<area>704,189,512,512</area>
<filepattern low="0" high="24">busyimages/%1.png</filepattern>
<delay>250</delay>
</imagetype>
</state>
</statetype>
</statetype>

<imagetype name="image" depends="!mediastate&amp;!errorstate">
Expand Down
16 changes: 16 additions & 0 deletions mythtv/themes/MythCenter/notification-ui.xml
Expand Up @@ -130,6 +130,14 @@
<area>10,10,160,160</area>
</imagetype>
</state>
<state name="busy">
<area>0,0,100%,100%</area>
<imagetype name="animation">
<area>40,40,105,105</area>
<filepattern low="0" high="24">busyimages/%1.png</filepattern>
<delay>250</delay>
</imagetype>
</state>
</statetype>

<imagetype name="image" depends="!mediastate&amp;!errorstate">
Expand Down Expand Up @@ -238,6 +246,14 @@
<preserveaspect>true</preserveaspect>
</imagetype>
</state>
<state name="busy">
<area>0,0,100%,100%</area>
<imagetype name="animation">
<area>704,189,512,512</area>
<filepattern low="0" high="24">busyimages/%1.png</filepattern>
<delay>250</delay>
</imagetype>
</state>
</statetype>

<imagetype name="image" depends="!mediastate&amp;!errorstate">
Expand Down
20 changes: 18 additions & 2 deletions mythtv/themes/default/notification-ui.xml
Expand Up @@ -120,6 +120,14 @@
<area>18,18,144,144</area>
</imagetype>
</state>
<state name="busy">
<area>0,0,100%,100%</area>
<imagetype name="animation">
<area>40,40,105,105</area>
<filepattern low="0" high="24">busyimages/%1.png</filepattern>
<delay>250</delay>
</imagetype>
</state>
</statetype>

<imagetype name="image" depends="!mediastate&amp;!errorstate">
Expand Down Expand Up @@ -202,7 +210,7 @@
</state>
<state name="check">
<area>0,0,100%,100%</area>
<imagetype name="imageerror">
<imagetype name="imagecheck">
<!-- Artist: Kyo-Tux http://www.iconarchive.com/show/phuzion-icons-by-kyo-tux/Sign-Select-icon.html -->
<filename>check.png</filename>
<area>704,189,512,512</area>
Expand All @@ -211,13 +219,21 @@
</state>
<state name="warning">
<area>0,0,100%,100%</area>
<imagetype name="imageerror">
<imagetype name="imagewarning">
<!-- Artist: Kyo-Tux http://www.iconarchive.com/show/phuzion-icons-by-kyo-tux/Sign-Alert-icon.html -->
<filename>warning.png</filename>
<area>704,189,512,512</area>
<preserveaspect>true</preserveaspect>
</imagetype>
</state>
<state name="busy">
<area>0,0,100%,100%</area>
<imagetype name="animation">
<area>704,189,512,512</area>
<filepattern low="0" high="24">busyimages/%1.png</filepattern>
<delay>250</delay>
</imagetype>
</state>
</statetype>

<imagetype name="image" depends="!mediastate&amp;!errorstate">
Expand Down

0 comments on commit 27cd3e2

Please sign in to comment.