XBMC Community Forum  

Go Back   XBMC Community Forum > Development > Skin Development

Skin Development GUI and Web skins/themes, graphics development and suggestions.
No End-User Support Requests! Only skinners and graphic artists.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2003-12-22, 00:42   #1
kraqh3d
Crackhead Developer
 
kraqh3d's Avatar
 
Join Date: Dec 2003
Location: New York City, USA
Posts: 6,791
kraqh3d is on a distinguished road
Default

is the length of the fade label in the musicoverlay.xml fixed in character length? i'd like to make it scroll across the entire bottom of the screen if possible.

this is the default from the mediacenter skin:

<control>
<description>album/artist/genre etc info label</description>
<type>fadelabel</type>
<id>5</id>
</control>
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


kraqh3d is offline   Reply With Quote
Old 2003-12-22, 09:06   #2
Frodo
Team MediaPortal
 
Join Date: Sep 2003
Posts: 509
Frodo is on a distinguished road
Default

please look in references.xml
this file contains all default values for all types of controls.
in there you will see:
Quote:
<control>
<description>default fadelabel</description>
<type>fadelabel</type>
<id>5</id>
<posx>55</posx>
<posy>530</posy>
<width>180</width>
<align>left</align>
<font>font13</font>
<textcolor>ffb2d4f5</textcolor>
</control>
only some of these values are overridden in musicoverlay.xml
anyway you'll notice the witdh property which by default is 180. this value together with the font width determines how many characters will be shown.
if you want to use the entire screen then edit musicoverlay.xml
and change it too: (for pal 720x576):

Quote:
<control>
<description>album/artist/genre etc info label</description>
<type>fadelabel</type>
<id>5</id>
<width>720</width>
</control>
__________________
XBMC Project Founder (Retired), now head programmer of MediaPortal
Frodo is offline   Reply With Quote
Old 2003-12-22, 16:02   #3
kraqh3d
Crackhead Developer
 
kraqh3d's Avatar
 
Join Date: Dec 2003
Location: New York City, USA
Posts: 6,791
kraqh3d is on a distinguished road
Default

thanks frodo. i wasnt sure where the default values were stored. i'll check it out later.

i know that not all tags are applicable to all controls. am i correct in assuming that all applicable tags for a given control are defaulted in references.xml?
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


kraqh3d is offline   Reply With Quote
Old 2003-12-22, 16:38   #4
Frodo
Team MediaPortal
 
Join Date: Sep 2003
Posts: 509
Frodo is on a distinguished road
Default

Quote:
am i correct in assuming that all applicable tags for a given control are defaulted in references.xml?
yep
references.xml contains the default values for all tags/control
frodo
__________________
XBMC Project Founder (Retired), now head programmer of MediaPortal
Frodo is offline   Reply With Quote
Old 2003-12-22, 18:23   #5
kraqh3d
Crackhead Developer
 
kraqh3d's Avatar
 
Join Date: Dec 2003
Location: New York City, USA
Posts: 6,791
kraqh3d is on a distinguished road
Default

thanks. i found references.xml but there are multiple controls with the same id number. if these are default parameters for each control "type", why is there an id for each one? (and the id's are not unique.)
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


kraqh3d is offline   Reply With Quote
Old 2003-12-25, 00:36   #6
kraqh3d
Crackhead Developer
 
kraqh3d's Avatar
 
Join Date: Dec 2003
Location: New York City, USA
Posts: 6,791
kraqh3d is on a distinguished road
Default

adding a width tag sort of did what i was looking for. i was hoping to have the information scroll across the entire screen from right to left, but thats not the case.

at first my changed appeared to do nothing as theres not much difference with short names. i tagged some files with really long names as a test to be sure. the text is right justified and enough characters are filled in fit the given width. then it scrolls. the next piece of information comes up once the last character has scrolled off the left side of the screen.

any possibility of changing this or adding a new control type where label isnt filled in to the full width at the start but just scrolls across the width in either direction?
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


kraqh3d is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
musicOverlay missing in screen settings floink XBMC for Xbox Specific Support 0 2004-01-24 15:30


All times are GMT +2. The time now is 23:39.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project