which epg controls should I use?

Discussion and development of skins for XBMC4XBOX
Post Reply
r0b
Posts: 4
Joined: Thu Sep 25, 2014 2:22 pm

which epg controls should I use?

Post by r0b »

Hi guys,

I need some of your help. I'm using the list container to add the list of buttons for channels, but I'm not really sure if this will works. I want to know that can I use this control to add the list of programs in a horizontal?

here is the one I use:

Code: Select all

<control type="list" id="4326">
    <posx>12</posx>
    <posy>305</posy>
    <width>300</width>
    <height>271</height>
    <onup>4325</onup>
    <ondown>4325</ondown>
    <viewtype label="list">list</viewtype>
    <orientation>horizontal</orientation>
    <pagecontrol>7</pagecontrol>

    <itemlayout height="37" width="300">
        <control type="image">
            <posx>0</posx>
            <posy>10</posy>
            <width>300</width>
            <height>34</height>
            <texture>channels_bar1.png</texture>
        </control>
        <control type="label">
            <posx>3</posx>
            <posy>10</posy>
            <width>300</width>
            <height>34</height>
            <font>Font_Bold25</font>
            <aligny>center</aligny>
            <selectedcolor>FF000000</selectedcolor>
            <textcolor>0xFFFFFFFF</textcolor>
            <align>left</align>
            <info>ListItem.Label</info>
        </control>
    </itemlayout>
            
    <focusedlayout height="37" width="300">
        <control type="image">
            <posx>0</posx>
            <posy>10</posy>
            <width>300</width>
            <height>34</height>
            <visible>!Control.HasFocus(4326)</visible>
            <texture>changelang_yellow.png</texture>
        </control>
        <control type="image">
            <posx>0</posx>
            <posy>10</posy>
            <height>34</height>
            <width>300</width>
            <visible>Control.HasFocus(4326)</visible>
            <texture>channels_bar1.png</texture>
        </control>
        <control type="label">
            <posx>3</posx>
            <posy>10</posy>
            <width>300</width>
            <height>34</height>
            <font>Font_Bold25</font>
            <aligny>center</aligny>
            <selectedcolor>0xFFFFFFFF</selectedcolor>
            <textcolor>FF000000</textcolor>
            <align>left</align>
            <info>ListItem.Label</info>
        </control>
    </focusedlayout>
</control>

If this one would not work, do you think should I use the grouplist control or if i should use the xbmcgui.ControlButton control?

if i should use xbmcgui.ControlButton control, i want to know how i can hide for these buttons?
r0b
Posts: 4
Joined: Thu Sep 25, 2014 2:22 pm

Re: which epg controls should I use?

Post by r0b »

does anyone know how???????
zeeshan002
Posts: 1
Joined: Mon May 11, 2015 11:05 am

Re: which epg controls should I use?

Post by zeeshan002 »

If this one would not work, do you think should I use the grouplist control or if i should use the xbmcgui.ControlButton control?
Post Reply