references.xml

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
onkel bouncy Offline
Senior Member
Posts: 157
Joined: Oct 2003
Reputation: 0
Post: #1
i see there is a new references.xml.
can someone tell me more about it ?
find quote
Frodo Offline
Team MediaPortal
Posts: 508
Joined: Sep 2003
Post: #2
references.xml just contains thedefaults for every gui control type. so you dont need 2 specify all properties in the other .xml files anymore
frodo
find quote
onkel bouncy Offline
Senior Member
Posts: 157
Joined: Oct 2003
Reputation: 0
Post: #3
sounds good.
i will look at it tonight.
find quote
onkel bouncy Offline
Senior Member
Posts: 157
Joined: Oct 2003
Reputation: 0
Post: #4
hmmm.
i'm a little bit confused.
i think most can be configured in the references.xml, but i see the same entries in other xml's.
background.image, ...
has the references.xml higher priority ?

at the moment i only want to change the light blue color to a yellow one (in all sections), but i've to edit nearly every xml.
correctly ?
a color-definition table (color.xml) would be nice.
default color1 = ffb2d4f5
default color2 = ffffffff
....

so it was very easy to change colors in only one xml-file.

my suggestion for the color definition in the xml-files is to choose between:
<textcolor>ffb2d4f5</textcolor>
or
<textcolor>color1</textcolor>

you know it's only a suggestion.
find quote
Frodo Offline
Team MediaPortal
Posts: 508
Joined: Sep 2003
Post: #5
like i said the references.xml contains the default properties for every gui conrol type, so for buttons, labels, listcontrols etc
however you can override the defaults in for example mymusic.xml if you want/need other values
so
Quote:has the references.xml higher priority ?
no. it just provides the defaults

Quote:at the moment i only want to change the light blue color to a yellow one (in all sections), but i've to edit nearly every xml.
no, just editting the references.xml will probably do
maybe 1 or 2 colors are defined in the other xml files

frodo
find quote
onkel bouncy Offline
Senior Member
Posts: 157
Joined: Oct 2003
Reputation: 0
Post: #6
> no, just editting the references.xml will probably do
maybe 1 or 2 colors are defined in the other xml files.

please try it.
you will see that there are many text-parts not changed to yellow.

please do not strike me now, but the problem of implementing new features in every skin is still there.
i'm thinking about to separate features from the rest.
i don't know if it's possible.
this would be limit the skinning features, but keep in mind that every new feature needs a new skin.

most people only changes some pictures and the text colors.

i'm still working on hifi-skin 2.0.
the work precedes well.

another thing:
can the position of the picture-thumbs placed more in the middle of the folder ?
i didn't find any position entrys for the thumbs.
it can also be that i was blind.
find quote