Kodi Community Forum
Include within include - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Include within include (/showthread.php?tid=213223)



Include within include - Piers - 2015-01-01

I'm currently working on <include name="PosterWrapView"> and trying to include my own include <include>Over</include>. This has worked well for other views but it seems to apply this to ALL view types within ViewsVideoLibrary, and I can't work out why.

Over is a simple image control:

Code:
<include name="Over">
    <control type="image">
        <posx>0</posx>
        <posy>-1</posy>
        <width>2200</width>
        <height>1100</height>
        <texture>over.png</texture>
    </control>
</include>

Which acts as an overlay for certain view types. I'm just not sure why it's being applied to all views when I'm only including it within one.

Edit: I should add that when it's applied, it appears to be under the main content with the views I want, but over the content with the views I haven't applied it to.


RE: Include within include - Hitcher - 2015-01-01

Is that include in a group that's only visible when that viewtype is?

Full code would help.


RE: Include within include - Piers - 2015-01-01

Sorry, should have included more code:

Code:
<include name="PosterWrapView">
        <control type="grouplist">
            <visible>Control.IsVisible(501)</visible>
            <left>0</left>
            <top>190</top>
            <width>1920</width>
            <height>800</height>
            <onup>9000</onup>
            <ondown>61</ondown>
            <usecontrolcoords>true</usecontrolcoords>
            <include>VisibleFadeEffect</include>
            <control type="fixedlist" id="501">
...



RE: Include within include - Hitcher - 2015-01-02

I can't see <include>Over</include> in that code?


RE: Include within include - Piers - 2015-01-04

Sorry, that would go under <visible>Control.IsVis...


RE: Include within include - phil65 - 2015-01-04

Full code or it will be hard to help.