home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Skins
How Do I Get The Colours That I Want?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="CyberSimian" data-source="post: 1205476" data-attributes="member: 141969"><p>Yes, I will do this (or, at least, I will attempt it!). But not today.</p><p></p><p></p><p>I thought this because that was what the Wiki indicated in its examples. The solution is to correct the Wiki.</p><p></p><p>Having thought about this, I find it hard to believe that any skin designer would want to specify colours in decimal. The hardware implementation is in the form of the colour mixing of three colour planes, A designer wanting to select a colour would pick the strength of each colour component. So he might specify a hexadecimal value such as 0x808080, or specify a decimal triplet (128,128,128), but he would not want to specify the single composite decimal value 8421504.</p><p></p><p>I am not in favour of [USER=68833]@ajs[/USER] proposal to modify the code to accept colour values beginning with "#". There are unlikely to be many existing occurrences (I found none when I scanned "Ares", and only one when I scanned "DefaultWideHD" -- in "splashscreen.xml"). Also, what would this mean:</p><p></p><p>[code]<colordiffuse>#ff404040</colordiffuse>[/code]</p><p></p><p>You might think that it is obvious, but it is not so obvious if the designer has also coded:</p><p></p><p>[code]<define>#ff404040:Please choose the option you that want</define>[/code]</p><p></p><p>i.e. the designer has defined a variable with a name that <em>looks like</em> a valid colour value. So I think that the only change that should be implemented is to update the Wiki.</p><p></p><p>-- from CyberSimian in the UK</p></blockquote><p></p>
[QUOTE="CyberSimian, post: 1205476, member: 141969"] Yes, I will do this (or, at least, I will attempt it!). But not today. I thought this because that was what the Wiki indicated in its examples. The solution is to correct the Wiki. Having thought about this, I find it hard to believe that any skin designer would want to specify colours in decimal. The hardware implementation is in the form of the colour mixing of three colour planes, A designer wanting to select a colour would pick the strength of each colour component. So he might specify a hexadecimal value such as 0x808080, or specify a decimal triplet (128,128,128), but he would not want to specify the single composite decimal value 8421504. I am not in favour of [USER=68833]@ajs[/USER] proposal to modify the code to accept colour values beginning with "#". There are unlikely to be many existing occurrences (I found none when I scanned "Ares", and only one when I scanned "DefaultWideHD" -- in "splashscreen.xml"). Also, what would this mean: [code]<colordiffuse>#ff404040</colordiffuse>[/code] You might think that it is obvious, but it is not so obvious if the designer has also coded: [code]<define>#ff404040:Please choose the option you that want</define>[/code] i.e. the designer has defined a variable with a name that [i]looks like[/i] a valid colour value. So I think that the only change that should be implemented is to update the Wiki. -- from CyberSimian in the UK [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
How Do I Get The Colours That I Want?
Contact us
RSS
Top
Bottom