Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Simple Color Picker — Gideros Forum

Simple Color Picker

sslivkasslivka Member
edited June 2013 in Code snippets
Simple Color Picker
image
using:
local slideColorPicker = SlideColorPicker.new()
stage:addChild(slideColorPicker)
slideColorPicker:setPosition(application:getDeviceWidth()/2 - slideColorPicker:getWidth()/2, 5)
function onColorChanged(e)
	application:setBackgroundColor(e.color)
end
slideColorPicker:addEventListener("COLOR_CHANGED", onColorChanged)
src in attach
copi2.png
800 x 429 - 47K
zip
zip
SlideColorPicker-master.zip
3K
+1 -1 (+9 / -0 )Share on Facebook

Comments

Sign In or Register to comment.