Mailing List Archive

MythThemedDialog::loadWindow(): Do not understand DOM Element: 'button'. Ignoring.
I must be doing something daft here. I keep getting the above message
from this xml:

<?xml version="1.0" encoding="utf-8"?>
<mythuitheme>

<window name="hello">

<font name="title" face="Arial">
<color>#ffffff</color>
<size>24</size>
<bold>yes</bold>
</font>

<button name="button_1">
<position>0,0</position>
<statetype name="buttonstate">
<state name="active">
<imagetype name="background">
<area>0,0,150,35</area>
<filename>buttonbackground.png</filename>
</imagetype>
<textarea name="text">
<area>5,5,140,30</area>
<align>allcenter</align>
</textarea>
</state>
<state name="selected" from="active">
<imagetype name="background">
<area>0,0,150,35</area>
<filename>buttonbackground_selected.png</filename>
<alphapulse min="200" max="255" change="1"/>
</imagetype>
</state>
<state name="disabled" from="active" />
<state name="pushed" from="active">
<imagetype name="background">
<area>0,0,150,35</area>
<filename>buttonbackground.png</filename>
<alpha>255</alpha>
</imagetype>
<textarea name="text">
<position>8,8</position>
</textarea>
</state>
</statetype>
</button>

</window>


Can someone help please?

Nick
_______________________________________________
mythtv-theming mailing list
mythtv-theming@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-theming
Re: MythThemedDialog::loadWindow(): Do not understand DOM Element: 'button'. Ignoring. [ In reply to ]
On Tue, May 19, 2009 at 3:02 PM, Nick Snellock <nick@mccomputing.co.uk> wrote:
> I must be doing something daft here. I keep getting the above message
> from this xml:

Hi Nick,

From a quick look, this seems okay-- You are using trunk, right? The
MythUI theme format won't work with .21. If you are, I'll look a
little closer.

Robert
_______________________________________________
mythtv-theming mailing list
mythtv-theming@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-theming