XBMC Community Forum  

Go Back   XBMC Community Forum > Development > Skin Development

Skin Development GUI and Web skins/themes, graphics development and suggestions.
No End-User Support Requests! Only skinners and graphic artists.

Reply
 
Thread Tools Search this Thread Display Modes
Old 2003-11-15, 01:50   #1
floink
Senior Member
 
floink's Avatar
 
Join Date: Oct 2003
Location: Sweden
Posts: 380
floink is on a distinguished road
Default

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
floink is offline   Reply With Quote
Old 2003-11-15, 15:11   #2
onkel bouncy
Senior Member
 
Join Date: Oct 2003
Posts: 159
onkel bouncy is on a distinguished road
Default

the first 2 are always ff, for the last 6 you can use your photoshop digits.
onkel bouncy is offline   Reply With Quote
Old 2003-11-15, 17:06   #3
Frodo
Team MediaPortal
 
Join Date: Sep 2003
Posts: 509
Frodo is on a distinguished road
Default

the first 2 define the alpha (transparency) of the color
so its aarrggbb

frodo
__________________
XBMC Project Founder (Retired), now head programmer of MediaPortal
Frodo is offline   Reply With Quote
Old 2003-11-15, 21:59   #4
floink
Senior Member
 
floink's Avatar
 
Join Date: Oct 2003
Location: Sweden
Posts: 380
floink is on a distinguished road
Default

Quote:
Originally Posted by (frodo @ nov. 15 2003,15:06)
the first 2 define the alpha (transparency) of the color
so its aarrggbb
ok 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
floink is offline   Reply With Quote
Old 2003-11-16, 05:34   #5
koldfuzion
Junior Member
 
Join Date: Nov 2003
Posts: 3
koldfuzion is on a distinguished road
Default

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.
koldfuzion is offline   Reply With Quote
Old 2003-11-16, 21:13   #6
onkel bouncy
Senior Member
 
Join Date: Oct 2003
Posts: 159
onkel bouncy is on a distinguished road
Default

cool.
makes changing colors faster.
onkel bouncy is offline   Reply With Quote
Old 2003-11-17, 00:28   #7
floink
Senior Member
 
floink's Avatar
 
Join Date: Oct 2003
Location: Sweden
Posts: 380
floink is on a distinguished road
Default

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?
floink is offline   Reply With Quote
Old 2003-11-17, 06:15   #8
koldfuzion
Junior Member
 
Join Date: Nov 2003
Posts: 3
koldfuzion is on a distinguished road
Default

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.
koldfuzion is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shoutcast Steams - User Defined icon jj5768(2) XBMC Feature Suggestions 2 2006-07-27 18:02
Disable text for Hearing Impaired in text-based subtitles Bad_Karma XBMC Feature Suggestions 2 2006-04-26 15:54
User defined icon sizes matt11601 XBMC Feature Suggestions 2 2005-01-14 02:24
User defined icon sizes matt11601 Skin Development 2 2005-01-14 02:24
Background colors for text? ktd Skin Development 0 2003-12-24 04:24


All times are GMT +2. The time now is 11:24.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project