Looking for a skilled coder
#16
Oh well, I'm facing a new problem already.
I'd like to use different overlays for the posters left and right of the focused image.

I did a search and looked through the skinning manual but couldn't find anything relevant.
Apparently nobody has tried this before.
Actually looking at how the wraplist works I kinda doubt it's even possible.
Image
Reply
#17
Looking through other skins' code I came up with the idea to use something like ListItem(X).Icon to style all visible elements individually.

Edit: Sorry for the triple post. :/
Could a mod please merge them?
Image
Reply
#18
You would then need to create 3 groups of icons. One for static icons, on.next, and on.previous. The wraplist would be for movement control only.
Reply
#19
Okay, I got everything working now.
There's just one minor flaw.
If I scroll too fast the animation is aborted, which is how it's supposed to be I think.

But because of this behavior the static icons group becomes visible for a few milliseconds before it disappears again.
So the movie posters will jump back a few pixels and then continue sliding which looks really bad.

The only solution I came up with was shortening the animation time.
Does anyone of you guys have a better idea how fix this?
Image
Reply
#20
Ok, another one then.
Where do the default grouplists get there content from?

For instance in SettingsCategory.xml the code is:
PHP Code:
<control type="grouplist" id="5">
    <
description>Control Area</description>
    <
posx>510</posx>
    <
posy>210</posy>
    <
width>1230</width>
    <
height>720</height>
    <
itemgap>3</itemgap>
    <
onleft>3</onleft>
    <
onright>3</onright>
    <
onup>5</onup>
    <
ondown>5</ondown>
    <
orientation>vertical</orientation>
</
control

As you can see the grouplist does not contain any other elements.
So how does it know when to display the movie or picture etc settings.

My best guess is that it has something to do with Settings.xml, which contains a button for each category to activate the appropriate window.

Which is kind of strange, because SettingsCategory.xml only has one window id in it (12 in my case), yet it is shown for all other items from Settings.xml as well.
Despite the fact that their id's don't match.

It's not like I need this for anything, I'm just curious to know.
Image
Reply
#21
SettingsCategory.xml is a template that xbmc will use for all categories.
the content is filled in by xbmc as well.
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

Logout Mark Read Team Forum Stats Members Help
Looking for a skilled coder1