[mythtv-theming] MythThemedDialog::loadWindow(): Do not understand DOM Element: 'button'. Ignoring.

Nick Snellock nick at mccomputing.co.uk
Tue May 19 22:02:49 UTC 2009


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


More information about the mythtv-theming mailing list