• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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

  • ColorChooser v0.3.SC2Lib
    41 KB · Views: 284
  • ColorChooser v0.3.SC2Map
    29.9 KB · Views: 171
Last edited:
Level 16
Joined
Feb 22, 2006
Messages
960
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.
Top