Blockland Forums > Modification Help
Color Picker
(1/2) > >>
Greek2me:
I need to make a color picker like the one in the event dialog. Anyone know how this is done or where to look for more info?
lilboarder32:
What exactly do you mean? Like for a gui?
Human Reaper:
Lilboarder I am suprised you dont remember,

http://forum.blockland.us/index.php?topic=73846.0

After all you posted in that topic about it.
Greek2me:

--- Quote from: lilboarder32 on March 25, 2011, 01:15:20 AM ---What exactly do you mean? Like for a gui?

--- End quote ---
Yes. In the events window, when you do brick -> setColor. It gives you a little popup with a list of colors.
lilboarder32:

--- Quote from: Human Reaper on March 25, 2011, 01:17:51 AM ---Lilboarder I am suprised you dont remember,

http://forum.blockland.us/index.php?topic=73846.0

After all you posted in that topic about it.

--- End quote ---
I just wasn't sure what he wanted, it doesn't mean I'm clueless.


--- Quote from: Greek2me on March 25, 2011, 01:52:24 AM ---Yes. In the events window, when you do brick -> setColor. It gives you a little popup with a list of colors.

--- End quote ---
Alright, then in the registerOutputEvent, put "paintColor 0" as one of the arguments for the parameters of the event.

Such as: registerOutputEvent(fxDTSBrick, eventName, "paintColor 0");
Navigation
Message Index
Next page

Go to full version