• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Library] ColorChooser by xD.Schurke

Status
Not open for further replies.
Level 16
Joined
Feb 22, 2006
Messages
960
Hey guys, here I wanna present a new small library I've created.

Like one can gues it features a simple color chooser, which might could be usefull to someone.

The library features some functions which can be also used in GUI.


Any feedback or tips are welcome. May you wanna see some other stuff and I might add it.

------------------------------------------------------------
10/17/2010
v0.3
- Added new info-areas to the ColorChooser (RGB-%,RGB-Int,Hex)
- One can now set the color value via chatcommand (!CC_rgb 255,255,255 / !CC_per 100,100,100 / !CC_hex ff0000)
- Added new function(Also GUI)
  • colorChooserTintDialogItem(int player, int dialogItem)
- In addition I've added some functions for working with hexadecimal numbers, they are just available in raw galaxyscript
  • string decToHex(int num,bool fillUp)
  • int hexToDec(string hex)
  • bool isHex(string hex)

10/16/2010
v0.2
- Added new functions:
- colorChooserTintUnit(int player,unit u)
- colorChooserSetBackground(int player, string path)

10/15/2010
- Release of v0.1
 

Attachments

Last edited:
I've released v0.3

Changelog:
- Added new info-areas to the ColorChooser (RGB-%,RGB-Int,Hex)
- One can now set the color value via chatcommand (!CC_rgb 255,255,255 / !CC_per 100,100,100 / !CC_hex ff0000)
- Added new function(Also GUI)
  • colorChooserTintDialogItem(int player, int dialogItem)
- In addition I've added some functions for working with hexadecimal numbers, they are just available in raw galaxyscript
  • string decToHex(int num,bool fillUp)
  • int hexToDec(string hex)
  • bool isHex(string hex)
 
Status
Not open for further replies.
Back
Top