question about lookandfeel.skintheme
#1
Hi guys i had a question i cant find any related info about it

ok i just made a custom xml to select between two DialogVideoinfo looks, but i also like to include the lookandfeel.skintheme i saw the setting.xml root xbmc

Code:
<setting id="lookandfeel.skintheme" type="string" parent="lookandfeel.skin" label="15111" help="36105">
          <level>1</level>
          <default>SKINDEFAULT</default>
          <constraints>
            <options>skinthemes</options>
          </constraints>
          <dependencies>
            <dependency type="update" setting="lookandfeel.skin" />
          </dependencies>
          <control type="spinner" format="string" delayed="true" />
        </setting>

im not sure if is possible or if there is any information about it

thanks a lot
Reply
#2
perhaps this answers your question:
http://wiki.xbmc.org/index.php?title=Ski...kin_Themes
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
thanks ronie actually that page explain about the .xbt files, but i actually need to add the chooser of those .xbt files on a custom dialog
Reply
#4
ah, you can add a button with:
<onclick>Skin.Theme</onclick>

Quote:Skin.Theme
Cycles the skin theme. Skin.theme(-1) will go backwards.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#5
(2014-02-17, 02:25)ronie Wrote: ah, you can add a button with:
<onclick>Skin.Theme</onclick>

Quote:Skin.Theme
Cycles the skin theme. Skin.theme(-1) will go backwards.


perfect ,thanks Ronie that help
Reply
#6
I'm just wondering if there's a similar function for colors ?
Using different color schemes with colordiffuse, so that's why i'm asking.

EDIT:

Maybe Skin.ColourTheme ?
Reply
#7
@butchabay - I wanted something similar for a time based night/day theme - afaik there isn't anything. I remember in the past alaska had themes with different colour schemes attached to them - I haven't tried but perhaps it is possible to have a colour scheme attached to an empty theme (will fallback to default theme textures) so that you can switch that way...
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
#8
(2014-02-17, 18:22)butchabay Wrote: I'm just wondering if there's a similar function for colors ?
Using different color schemes with colordiffuse, so that's why i'm asking.

EDIT:

Maybe Skin.ColourTheme ?

perhaps something like Aeon Nox 4 use

Code:
<item>
                        <label>Ocean</label>
                        <icon>common/ocean.png</icon>
                        <onclick>Skin.SetString($INFO[Window(1124).Property(colordialog)],FF69f5ee)</onclick>
                    </item>
                    <item>
                        <label>Neon</label>
                        <icon>common/neon.png</icon>
                        <onclick>Skin.SetString($INFO[Window(1124).Property(colordialog)],FF03F2FF)</onclick>
                    </item>
                    <item>
                        <label>Waterspout</label>
                        <icon>common/waterspout.png</icon>
                        <onclick>Skin.SetString($INFO[Window(1124).Property(colordialog)],FFA4F4F9)</onclick>
                    </item>
Reply
#9
(2014-02-18, 07:11)jurialmunkey Wrote: @butchabay - I wanted something similar for a time based night/day theme - afaik there isn't anything. I remember in the past alaska had themes with different colour schemes attached to them - I haven't tried but perhaps it is possible to have a colour scheme attached to an empty theme (will fallback to default theme textures) so that you can switch that way...

Hi jurial, worth a try with fake .xbt files.

Thanx mate ...

(2014-02-18, 07:32)warlion Wrote:
(2014-02-17, 18:22)butchabay Wrote: I'm just wondering if there's a similar function for colors ?
Using different color schemes with colordiffuse, so that's why i'm asking.

EDIT:

Maybe Skin.ColourTheme ?

perhaps something like Aeon Nox 4 use

Code:
<item>
                        <label>Ocean</label>
                        <icon>common/ocean.png</icon>
                        <onclick>Skin.SetString($INFO[Window(1124).Property(colordialog)],FF69f5ee)</onclick>
                    </item>
                    <item>
                        <label>Neon</label>
                        <icon>common/neon.png</icon>
                        <onclick>Skin.SetString($INFO[Window(1124).Property(colordialog)],FF03F2FF)</onclick>
                    </item>
                    <item>
                        <label>Waterspout</label>
                        <icon>common/waterspout.png</icon>
                        <onclick>Skin.SetString($INFO[Window(1124).Property(colordialog)],FFA4F4F9)</onclick>
                    </item>

Yes, i've already tried aeon nox's code, but it's not exactly what i'm trying to do.

Thanx anyway Smile
Reply
#10
(2014-02-18, 07:11)jurialmunkey Wrote: I wanted something similar for a time based night/day theme - afaik there isn't anything.

Propably someting like this:
PHP Code:
<onload condition="System.Time(07:30,00:49) + Skin.HasTheme(Dark)">Skin.Theme(-1)</onload>

<
onload condition="System.Time(00:49,07:30) + !Skin.HasTheme(Dark)">Skin.Theme(1)</onload
Reply
#11
(2014-02-19, 19:17)Rantanplan-1 Wrote:
(2014-02-18, 07:11)jurialmunkey Wrote: I wanted something similar for a time based night/day theme - afaik there isn't anything.

Propably someting like this:
PHP Code:
<onload condition="System.Time(07:30,00:49) + Skin.HasTheme(Dark)">Skin.Theme(-1)</onload>

<
onload condition="System.Time(00:49,07:30) + !Skin.HasTheme(Dark)">Skin.Theme(1)</onload

Yeah thats pretty much exactly what I was going to do but that is for changing texture themes, not for colour schemes afaik
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply

Logout Mark Read Team Forum Stats Members Help
question about lookandfeel.skintheme0