Page 1 of 1

which epg controls should I use?

Posted: Tue Nov 18, 2014 6:54 pm
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?

Re: which epg controls should I use?

Posted: Sat Nov 29, 2014 7:44 pm
by r0b
does anyone know how???????

Re: which epg controls should I use?

Posted: Mon May 11, 2015 11:13 am
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?