Include within include
#1
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.
Please read the online manual (wiki) & FAQ (wiki) before posting.

Skins: Estuary | Xperience1080
Opinion: Never purchase HTC products
Reply
#2
Is that include in a group that's only visible when that viewtype is?

Full code would help.
Reply
#3
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">
...
Please read the online manual (wiki) & FAQ (wiki) before posting.

Skins: Estuary | Xperience1080
Opinion: Never purchase HTC products
Reply
#4
I can't see <include>Over</include> in that code?
Reply
#5
Sorry, that would go under <visible>Control.IsVis...
Please read the online manual (wiki) & FAQ (wiki) before posting.

Skins: Estuary | Xperience1080
Opinion: Never purchase HTC products
Reply
#6
Full code or it will be hard to help.
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply

Logout Mark Read Team Forum Stats Members Help
Include within include0