It looks like you're new here. If you want to get involved, click one of these buttons!
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) |
Comments
Likes: MoKaLux
Meet Kate. Grey is her favourite colour. Maths is her favourite subject. Decency is her favourite type of behaviour.
She definitely does not like jewellery or modelling, but loves aeroplanes and other machines made of aluminium.
Likes: MoKaLux
what you are doing there is looking nice.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Likes: fxone, talis, MoKaLux