Reply to thread

I think i understand what you are trying to change, but you may want to post a screenshot to make it more clear.  If i'm understanding correctly, dialogmenu.xml is the right file, the options listcontrol (id 3) is the control that lists the channels.  Maybe you didn't apply your animation tags to the right control?  Just to test it out, i added slide and fade animations to the listcontrol and it worked.


If you want the whole osd to slide and fade as one, you could just put all the controls in a single group assign animation effects to the group, something like this:[CODE]

<window>

      <id>2012</id>

      <defaultcontrol>3</defaultcontrol>

      <allowoverlay>no</allowoverlay>

    <controls>

        <control>

[COLOR="Red"]              <type>group</type>

              <description>group element</description>

              <animation effect="slide" time="400" start="0,-300">WindowOpen</animation>

              <animation effect="slide" time="400" end="800,0" >WindowClose</animation>

              <animation effect="fade" time="250">WindowOpen</animation>

              <animation effect="fade" time="500">WindowClose</animation>[/COLOR]

        <control>

            <type>image</type>

            <id>0</id>

            <posX>390</posX>

            <posY>180</posY>

            <width>500</width>

            <height>280</height>

            <texture>context_background.png</texture>

        </control>

        <control>

            <description>Heading text label</description>

            <type>label</type>

            <id>4</id>

            <posX>410</posX>

            <posY>186</posY>

            <label>181</label>

            <width>425</width>

        </control>   

        <control>

            <description>Exit button</description>

            <type>button</type>

            <id>2</id>

            <posX>856</posX>

            <posY>185</posY>

            <width>28</width>

            <height>28</height>

            <textureFocus>button_close_focus.png</textureFocus>

            <textureNoFocus>button_close_nofocus.png</textureNoFocus>

            <label>-</label>

            <onleft>3</onleft>

            <onright>3</onright>

            <onup>3</onup>

            <ondown>3</ondown>

        </control>

[COLOR="Blue"]<!-- in TV home/channels button, this lists the channels -->[/COLOR]

        <control>

            <description>options listcontrol</description>

            <type>listcontrol</type>

            <id>3</id>

            <posX>415</posX>

            <posY>224</posY>

            <width>450</width>

            <height>230</height>

            <textXOff>10</textXOff>

            <textYOff>3</textYOff>

            <textureHeight>30</textureHeight>

            <onleft>2</onleft>

            <onright>2</onright>

            <onup>2</onup>

            <ondown>2</ondown>

            <spinPosX>750</spinPosX>

            <spinPosY>419</spinPosY>

        </control>

        </control>

    </controls>

</window>[/CODE]


Top Bottom