how do i define colors for fex text in the xml files for a skin?
i'm used to the 6-digit syntax used in html-design but what is the 8-digit syntax used in xbmc skins?
i use photoshop to preview 6-digit colors and i'm wondering where i could preview the 8-digit colors?
/floink
how are colors defined for text?
floink
Senior Member Joined: Oct 2003 Reputation: 0 Location: Sweden |
2003-11-15 01:50
Post: #1
|
| find quote |
onkel bouncy
Senior Member Posts: 157 Joined: Oct 2003 Reputation: 0 |
2003-11-15 15:11
Post: #2
the first 2 are always ff, for the last 6 you can use your photoshop digits.
|
| find quote |
Frodo
Team MediaPortal Posts: 509 Joined: Sep 2003 |
2003-11-15 17:06
Post: #3
the first 2 define the alpha (transparency) of the color
so its aarrggbb frodo |
| find quote |
floink
Senior Member Joined: Oct 2003 Reputation: 0 Location: Sweden |
2003-11-15 21:59
Post: #4
(frodo @ nov. 15 2003,15:06 Wrote:the first 2 define the alpha (transparency) of the colorok thats really cool =) would that then easily translate to; ff as in white being 100% opaque and 00 as in black being 100% transparent? is this technique borrowed from somewhere else or is it a xbmc-coders invention? it is pretty obvious when u know it. /floink |
| find quote |
koldfuzion
Junior Member Posts: 3 Joined: Nov 2003 Reputation: 0 |
2003-11-16 05:34
Post: #5
i made this cause i dont have the time to make a full-fledge skinner for anything nowadays. i still skin, but time is limited.
so i took a shortcut for the hardest thing to get any other way... aarrggbb colors. *requires .net framework... sorry, im not c/c++ coder. click the image to get it. ![]() might make color picking a little easer ![]() Quote:is this technique borrowed from somewhere else or is it a xbmc-coders invention? it is pretty obvious when u know it. i havent messed with nexgen, but seeing its an xbox app.. it probably uses the same format... evox, mxm, xbmp.. all use it. |
| find quote |
onkel bouncy
Senior Member Posts: 157 Joined: Oct 2003 Reputation: 0 |
2003-11-16 21:13
Post: #6
cool.
makes changing colors faster. |
| find quote |
floink
Senior Member Joined: Oct 2003 Reputation: 0 Location: Sweden |
2003-11-17 00:28
Post: #7
thanx for sharing koldfuzion
question: the 0x in the beginning of the color definition in your app are not to be included in the xml-files right? |
| find quote |
koldfuzion
Junior Member Posts: 3 Joined: Nov 2003 Reputation: 0 |
2003-11-17 06:15
Post: #8
no its not.
i updated the file to provide two textboxes, 1 for the original way and 1 for the xbmc way. clicking in either box will automatically copy the text to the clipboard for pasting. |
| find quote |

![[Image: colorpicker.jpg]](http://home.neb.rr.com/koldfuzion/colorpicker.jpg)

Search
Help