Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84005

Change progressbar in custom window

$
0
0
Hello,

I've created my script to control volume instead of XBMC internal. I want to display volume bar on screen. Here is my custom window:

Code:
<window>
    <id>1234</id>
    <type>dialog</type>
    <visible>Skin.HasSetting(VolumeBar)</visible>
    <defaultcontrol>1</defaultcontrol>
    <controls>
        <control type="group">
            <posx>820</posx>
            <posy>0</posy>
            <control type="image">
                <posx>0</posx>
                <posy>-10</posy>
                <width>300</width>
                <height>50</height>
                <texture flipy="true" border="20,20,20,2">InfoMessagePanel.png</texture>
            </control>
            <control type="group">
                <control type="image">
                    <description>Lite Volume Logo</description>
                    <posx>10</posx>
                    <posy>0</posy>
                    <width>40</width>
                    <height>35</height>
                    <aspectratio>keep</aspectratio>
                    <texture>VolumeIcon.png</texture>
                </control>
                <control type="progress" id="1">
                    <description>Volume Progress</description>
                    <posx>50</posx>
                    <posy>8</posy>
                    <width>230</width>
                    <height>18</height>
                    <info>???</info>
                </control>
            </control>
        </control>
    </controls>
</window>

Is it possible to change progressbar in custom window from python script?

Viewing all articles
Browse latest Browse all 84005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>