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="mm1352000" data-source="post: 1205446" data-attributes="member: 82144"><p>Black, not white!</p><p></p><p>[code]return colCache.TryGetOrAdd(valueText, col => Color.FromName(valueText)).ToArgb();[/code]</p><p></p><p>Color.FromName("#[AARRGGBB]").ToArgb() == 0 == <strong>BLACK</strong></p><p></p><p></p><p>This code will never be reached in the case of #AARRGGBB. isNamedColor must be true because of the #. Try it and you will see.</p><p><strong></strong></p><p><strong></strong></p><p>It seems that you don't actually understand the code properly. No wonder you don't understand the damage your change can do!</p><p></p><p>I've spend enough time (hours!) understanding the code and explaining to you and CyberSimian. You have my advice. I'm not going to waste any more time. If you break things it will be your own fault. Don't say I didn't warn you!</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1205446, member: 82144"] Black, not white! [code]return colCache.TryGetOrAdd(valueText, col => Color.FromName(valueText)).ToArgb();[/code] Color.FromName("#[AARRGGBB]").ToArgb() == 0 == [B]BLACK[/B] This code will never be reached in the case of #AARRGGBB. isNamedColor must be true because of the #. Try it and you will see. [B] [/B] It seems that you don't actually understand the code properly. No wonder you don't understand the damage your change can do! I've spend enough time (hours!) understanding the code and explaining to you and CyberSimian. You have my advice. I'm not going to waste any more time. If you break things it will be your own fault. Don't say I didn't warn you! [/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