Color Picker
#1
Brought to you by Frost from Passion-XBMC.org.

This addon allows the user to pick a color for your skin to use.
It can also be use to choose a transparency level.
Please note that it's still a WIP.


SVN : http://code.google.com/p/passion-xbmc/so...lor.picker


Screens :

Image
Image
Image
Image


How to :
FrostBox Wrote:Example :
RunScript(script.color.picker,Built-In[,extra])
- Built-In: Skin.SetString(MyPrettyColor[,default color])
note: default color is used only if user cancel choice

if you want pick color of current Screen, add extra option.
- Extra Option: Start=PickColorOnScreen

if you want ajust only transparency, add extra option.
- Extra Option: Transparency
trans params:
- Min: [Optional] minimal ajust, default 0
- Max: [Optional] maximal ajust, default 100
- SetStringInRealTime: [Optional] default false, if you want view ajusting in real time
trans example: Transparency&Min=20&Max=90&SetStringInRealTime=true

Colors:
PHP Code:
<onclick>RunScript(script.color.picker,Skin.SetString(MyPrettyColor,FFEB9E17))</onclick>
<
onclick>RunScript(script.color.picker,Skin.SetString(MyPrettyColor2),Start=PickColorOnScreen)</onclick
Transparency:
PHP Code:
<onclick>RunScript(script.color.picker,Skin.SetString(MyTransColor,$INFO[Skin.String(MyTransColor)]),Transparency&Min=20&Max=90&SetStringInRealTime=true)</onclick
Admin @ Passion-XBMC
(official french community)
Reply
#2
Example of use :
(from WIP skin Glass)

Image
Image
Image
Image
Admin @ Passion-XBMC
(official french community)
Reply
#3
I've been testing this and it's working great but one thing I would like to do is set the transparency myself and only let the user select the actual colour. Is this possible?

Thanks.

EDIT: It's OK I've sorted out thanks.
Reply
#4
nm lol.
Image
HTPC: Motherboard: Asus F2A85-V, CPU: AMD A10 6800K, RAM: Kingston XMP BEAST 16GB, Samsung 840 EVO 250GB, LG CH12NS30 Blu-Ray drive, Samsung, and WD various 2 and 3TB for storage, Windows 8.1, one for all remote/FLIRC, Logitech z906 surround system.
Reply

Logout Mark Read Team Forum Stats Members Help
Color Picker0