Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ButtonPress_processEffect = function(event)
- local id = event.id
- print ("id:".. id)
- -- print ("ActiveEffect:" .. ActiveEffect)
- -- shape1.fill.effect = "filter.".. ActiveEffect
- print ("well we are here...")
- end
- local function EffectMenu()
- --display.setDrawMode( "default" )
- print ("effect menu")
- ButtonGroup_Effects= display.newGroup()
- Btn_Effects_Pixel = widget.newButton
- {
- id = "pixelate",
- defaultFile = "images/Btn_Effect_Pixel_Up.png",
- overFile = "images/Btn_Effect_Pixel_Down.png",
- label = "PIXEL",
- settings =
- {
- min=2, max=20, startAt=20
- },
- labelColor =
- {
- default = { 1, 1, 1 },
- },
- fontSize = 12,
- emboss = true,
- onPress = ButtonPress_processEffect,
- labelYOffset = 40
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement