2019-02-05, 11:17
Hey guys,
I am currently trying to learn how to skin, the reason is, i would like to use my favorite skin Titan within leia, but unfortunately it seems Titans development has come to an end (I know about the mods, but I 'd prefer to have something different). Now Titan is a rather complex skin and I am not sure if I ever will be able to make everything work, but I 'd like to try.
So, I right now, I am looking into the skin, with the skinning manual open, trying to understand how things work. This is when I stumbled over this piece of code in home.xml:
If I understand it correctly, the intention was to call the include WidgetsAutoRotate, not to define it? Unfortunately, i found a lot of those include name= content= constructions, so I am a bit unsure if I can safely remove the name attributes.
This brings me to my follow up question, How are includes even defined and used? More precisely, are they always defined globally? Or is there a difference between global and local includes? if so, how would I know which is which? So in case of previously mentioned include WidgetsAutoRotate, Am i right that such an include should be defined only once? (As I said, right now there are several includes all over the place where I assume they always define a new include)
I am currently trying to learn how to skin, the reason is, i would like to use my favorite skin Titan within leia, but unfortunately it seems Titans development has come to an end (I know about the mods, but I 'd prefer to have something different). Now Titan is a rather complex skin and I am not sure if I ever will be able to make everything work, but I 'd like to try.
So, I right now, I am looking into the skin, with the skinning manual open, trying to understand how things work. This is when I stumbled over this piece of code in home.xml:
xml:
<include name="WidgetsAutoRotate" content="WidgetsAutoRotate"
condition="[String.Contains(Skin.String(HomeLayout), netflix) | Skin.String(HomeLayout, win10)] + Skin.String(widgets_rotate_delay) + !Skin.String(widgets_rotate,disabled)">
<param name="interval" value="$INFO[Skin.String(widgets_rotate_delay)]"/>
</include>
If I understand it correctly, the intention was to call the include WidgetsAutoRotate, not to define it? Unfortunately, i found a lot of those include name= content= constructions, so I am a bit unsure if I can safely remove the name attributes.
This brings me to my follow up question, How are includes even defined and used? More precisely, are they always defined globally? Or is there a difference between global and local includes? if so, how would I know which is which? So in case of previously mentioned include WidgetsAutoRotate, Am i right that such an include should be defined only once? (As I said, right now there are several includes all over the place where I assume they always define a new include)