goo.colorpick.luadoc 367 B

123456789101112
  1. --[[ Draws a color picker box where the user can select a color. ]]
  2. module 'goo.colorpick'
  3. --[[ Gets the currently selected color.
  4. @return number: the Red value (0-255).
  5. @return number: the Green value (0-255).
  6. @return number: the Blue value (0-255).
  7. ]]
  8. function goo.colorpick:getColor()
  9. --[[ Clears the selected color. ]]
  10. function goo.colorpick:clearSelection()