MOD - Titan Color Themes (red, green, purple, gold) (2 Viewers)

red_zebra

Portal Pro
September 1, 2009
70
46
Leipzig
Home Country
Germany Germany
Yes, sorry for this, but I gave up theming after a) kiwi presented his fabulous golden theme, b) being disappointed again and again about Titan's update intervalls and the fact that every update destroys all customization. I think there are so many mods, customizations, etc. out there that it is nearly impossible to create a theme which can easily applied to the current settings (i.e. keeps every setting as it is and just applies another color). But anyway, for all tinkers out there who are already familiar with Titan's file/folder structure: attached you find the new/changed graphics in Titan (Extended) v1.4
 

Attachments

  • dullgold_new_graphics_v14.zip
    493.7 KB

kiwijunglist

Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    lol great minds think a like, I had already updated the missing graphics from my theme :) (maybe there are some i missed)
    Anyways you will find a better installer, this has the following advantages
    1. Works with MP1.4
    2. Only copies xml files that actually have colour codes inside them (as opposed to copying all files to theme's folder). This fixes a theme switching issue in MP1.4 and also it means that titan updates apply correctly to non colour coded xml files without needing to re-run the installer.[DOUBLEPOST=1372586649][/DOUBLEPOST]
    is nearly impossible to create a theme which can easily applied to the current settings (i.e. keeps every setting as it is and just applies another color).

    Not impossible :)
     

    Attachments

    • Dull Gold Installer v1.4.zip
      11.8 MB
    • install_dull_gold.bat.txt
      2.3 KB
    Last edited:

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Regarding

    Yes, sorry for this, but I gave up theming after ... being disappointed again and again about Titan's update intervalls and the fact that every update destroys all customization.

    Tag - @ncoH - is it worth changing the xmls that use hard coded colour codes (instead of using references.xml)? It would make theming easier, as well as make it easier if you ever decide to tweak the core skin colours.... I'm sure this is something that the community might do for you if you were to accept the changed xml files. There are 161 xml files with hard coded color tags.
     
    Last edited:

    drav666

    Portal Member
    December 28, 2010
    6
    1
    Home Country
    Excellent, thanks - all working nicely now :)

    Also, I haven't played around with titan extended yet - would the gold be translatable to this theme?

    Cheers,

    drav666
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Yes.just drop the modified xml files and graphics into the extended theme folder and merge without overwriting.
     
    Last edited:

    ncoH

    Retired Team Member
  • Premium Supporter
  • January 27, 2007
    925
    1,569
    Hannover
    Home Country
    Germany Germany
    Regarding



    Yes, sorry for this, but I gave up theming after ... being disappointed again and again about Titan's update intervalls and the fact that every update destroys all customization.



    Tag - @ncoH - is it worth changing the xmls that use hard coded colour codes (instead of using references.xml)? It would make theming easier, as well as make it easier if you ever decide to tweak the core skin colours.... I'm sure this is something that the community might do for you if you were to accept the changed xml files. There are 161 xml files with hard coded color tags.


    Sure, you or someone else can start to modify the files which have hardcoded colors.:)
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    Code:
    <control>
    <description>Technical Details</description>
    <type>button</type>
    <id>10002</id>
    <label>Technical Details</label>
    <onleft>10002</onleft>
    <onright>10002</onright>
    <onup>10001</onup>
    <ondown>10003</ondown>
      <textcolor>FF000000</textcolor>
    <textcolorNoFocus>ffffffff</textcolorNoFocus>
    </control>

    What are the possible ways to change this to use colour from references.xml ?
     

    ncoH

    Retired Team Member
  • Premium Supporter
  • January 27, 2007
    925
    1,569
    Hannover
    Home Country
    Germany Germany
    Code:
    <control>
    <description>Technical Details</description>
    <type>button</type>
    <id>10002</id>
    <label>Technical Details</label>
    <onleft>10002</onleft>
    <onright>10002</onright>
    <onup>10001</onup>
    <ondown>10003</ondown>
      <textcolor>FF000000</textcolor>
    <textcolorNoFocus>ffffffff</textcolorNoFocus>
    </control>

    What are the possible ways to change this to use colour from references.xml ?

    I think best is to make a new style definition in references for the details buttons.

    Code:
      <style Name="DetailsButton">
    	<width>385</width>
    	<height>58</height>
    	<textXOff>33</textXOff>
    	<textYOff>11</textYOff>
    	<textcolor>ff000000</textcolor>
      <textcolorNoFocus>ffffffff</textcolorNoFocus>
      </style>

    We can use <control Style="DetailsButton"> then.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    That might be too big a task, also I don't understand why we have width + height tags in the new code but not the old code. I think my understanding is not good enough to do that without making mistakes.

    Is it possible to use a define

    Code:
    [code]<control>
    <description>Technical Details</description>
    <type>button</type>
    <id>10002</id>
    <label>Technical Details</label>
    <onleft>10002</onleft>
    <onright>10002</onright>
    <onup>10001</onup>
    <ondown>10003</ondown>
      <textcolor>#color.mainlist</textcolor>
    <textcolorNoFocus>#color.mainlist.focus</textcolorNoFocus>
    </control>

    and then define the color codes in references.xml ?

    Actually I think what you describe might be possible for me to do, although I was hoping I'd get away with some sort of batch processing with indivudual check prior to replacing to do a lot of the work.
     
    Last edited:

    ncoH

    Retired Team Member
  • Premium Supporter
  • January 27, 2007
    925
    1,569
    Hannover
    Home Country
    Germany Germany
    That might be too big a task, also I don't understand why we have width + height tags in the new code but not the old code. I think my understanding is not good enough to do that without making mistakes.
    The 'old' code uses the the width/height from the default button definition in references.xml.
    Is it possible to use a define



    Code:
    [code]<control>
     
    <description>Technical Details</description>
     
    <type>button</type>
     
    <id>10002</id>
     
    <label>Technical Details</label>
     
    <onleft>10002</onleft>
     
    <onright>10002</onright>
     
    <onup>10001</onup>
     
    <ondown>10003</ondown>
     
      <textcolor>#color.mainlist</textcolor>
     
    <textcolorNoFocus>#color.mainlist.focus</textcolorNoFocus>
     
    </control>



    and then define the color codes in references.xml ?


    These are SkinSettings properties. That works if you set a <define> in the plugin xml.

    It`s better to use style definitions. The values can be changed in references.xml instead of the plugin xml`s files or SkinSettings.xml (which will be overwritten on each install/update). Also, a skinner could change the width/height of the button in the theme if necessary.
     

    Users who are viewing this thread

    Top Bottom