Or we define a default include file that skinners can use
ThemeDefault.xml
and override with:
Theme<name>.xml
That way all the default stuff is in ThemeDefault.xml, and anything in there is overridden by the new theme. XBMC therefore just checks for the other theme override whenever it sees ThemeDefault.xml
Cheers,
Jonathan
Couple of Color Themes for Project Mayhem III, Red & Blue
jmarshall
Team-XBMC Developer Posts: 24,564 Joined: Oct 2003 Reputation: 138 |
2007-05-15 06:49
Post: #11
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. ![]() |
| find quote |
lolol
Senior Member Posts: 109 Joined: Jan 2005 Reputation: 10 Location: - |
2007-05-15 08:24
Post: #12
hello,
the screenshots look really nice! going straight foward to do a test.... cu lolol |
| find quote |
Ph03n1x
Member Posts: 70 Joined: Apr 2004 Reputation: 13 |
2007-05-15 09:00
Post: #13
Cheers Jezz! Going to try that out now
@jm - Sounds great, I'm assuming that would mean we could override any xml files defined in a skin? |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,564 Joined: Oct 2003 Reputation: 138 |
2007-05-15 09:06
Post: #14
No. It would override the *single* xml file ThemeDefault.xml
This ofcourse could be included anywhere you like, so you technically could change practically anything. 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. ![]() |
| find quote |
Banned Posts: 839 Joined: Feb 2004 |
2007-05-15 09:07
Post: #15
Its not a new skin at all. The code would lookup /Red/Pal/Mypics.xml if it cant find it, it would then use /Pal/Mypics.xml (for every file it would first try the Red folder if the file doesnt exist it would drop back to default folders). So you just create a folder with the same name as the the xpr and use the same folder structure for every file you wish to replace all others would fall back to the default. This doesnt kill compatibility of any skin and makes it easy to patch in themes. It also means that if you select a theme called /NoGames.xpr you could add a folder NoGames and remove all the links to my games from any or all xmls. It allows for much larger themes than just colors and means you can totally rearrange the skin for an HD theme or an In car small LCD screen theme. If you wanted to change the colors under the old way you just make Red.xpr and a a folder caled Red, and in Red/Pal/include.xml change the colors
(This post was last modified: 2007-05-15 09:34 by BritneysPAIRS.)
|
| find quote |
HarshReality
Posting Freak Joined: Jan 2005 Reputation: 0 |
2007-05-15 10:57
Post: #16
Forgive me if I sound foolish... but can I get a list of the images that are contained in a theme currently? I'd like to produce a couple (or give the attempt) but I'd like to make certain I use all the images needed and only those needed.
![]() |
| find quote |
HarshReality
Posting Freak Joined: Jan 2005 Reputation: 0 |
2007-05-15 11:07
Post: #17
Never the mind.. I just extracted them all
![]() |
| find quote |
Asteron
"Skilled" Python Coder Joined: Feb 2004 Reputation: 0 |
2007-05-16 00:18
Post: #18
jmarshall Wrote:Or we define a default include file that skinners can use Yeah that has alot better performance. BritneysPAIRS Wrote:Its not a new skin at all. The code would lookup /Red/Pal/Mypics.xml if it cant find it, it would then use /Pal/Mypics.xml (for every file it would first try the Red folder if the file doesnt exist it would drop back to default folders). .... It allows for much larger themes than just colors and means you can totally rearrange the skin for an HD theme or an In car small LCD screen theme. If you wanted to change the colors under the old way you just make Red.xpr and a a folder caled Red, and in Red/Pal/include.xml change the colors Actually what you are suggesting I guess is like a 'diff' for a skin that will use either the theme version or the default version. The problem I see with this is that I am worried it would be annoying to maintain the themes as the main skin changes. Just changing an include seems more in line with what a "theme" should be. Add yourself to the xbmc forums frappr map! Collection of XBMC and Python resources - Screensaver Megapack
(This post was last modified: 2007-05-16 00:28 by Asteron.)
|
| find quote |
Ph03n1x
Member Posts: 70 Joined: Apr 2004 Reputation: 13 |
2007-05-16 01:27
Post: #19
jmarshall Wrote:No. It would override the *single* xml file ThemeDefault.xml Okay, I've just had a read through the wiki, sounds like a good idea
|
| find quote |
Banned Posts: 839 Joined: Feb 2004 |
2007-05-16 06:34
Post: #20
I disagree cause you can change the include if you want only anyway. But use it for nearly any purpose you can think of theme wise.
|
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
![[Image: x3.jpg]](http://harrea.100webspace.net/x3.jpg)
![[Image: asterwaverv9.png]](http://img504.imageshack.us/img504/6545/asterwaverv9.png)
Search
Help