Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local faceLeftButton = widget.newButton(
- {
- left = 0,
- top = 0,
- id = "faceLeft",
- label = "<",
- radius = 30,
- shape = "circle",
- fillColor = { default={255,255,255,1}, over={0,1,0,0.8} },
- onRelease = handleButtonEvent
- })
- faceLeftButton.y = 25
- faceLeftButton.x = 100
- group:insert(faceLeftButton)
- local faceRightButton = widget.newButton(
- {
- left = 0,
- top = 0,
- id = "faceRight",
- label = ">",
- radius = 30,
- shape = "circle",
- fillColor = { default={255,255,255,1}, over={0,1,0,0.8} },
- onRelease = handleButtonEvent
- })
- faceRightButton.y = 25
- faceRightButton.x = fullw - 100
- group:insert(faceRightButton)
- local hairLeftButton = widget.newButton(
- {
- left = 0,
- top = 0,
- id = "hairLeft",
- label = "<",
- radius = 30,
- shape = "circle",
- fillColor = { default={255,255,255,1}, over={0,1,0,0.8} },
- onRelease = handleButtonEvent
- })
- hairLeftButton.y = 100
- hairLeftButton.x = 100
- group:insert(hairLeftButton)
- local hairRightButton = widget.newButton(
- {
- left = 0,
- top = 0,
- id = "hairRight",
- label = ">",
- radius = 30,
- shape = "circle",
- fillColor = { default={255,255,255,1}, over={0,1,0,0.8} },
- onRelease = handleButtonEvent
- })
- hairRightButton.y = 100
- hairRightButton.x = fullw - 100
- group:insert(hairRightButton)
- local pantsLeftButton = widget.newButton(
- {
- left = 0,
- top = 0,
- id = "pantsLeft",
- label = "<",
- radius = 30,
- shape = "circle",
- fillColor = { default={255,255,255,1}, over={0,1,0,0.8} },
- onRelease = handleButtonEvent
- })
- pantsLeftButton.y = 175
- pantsLeftButton.x = 100
- group:insert(pantsLeftButton)
- local pantsRightButton = widget.newButton(
- {
- left = 0,
- top = 0,
- id = "pantsRight",
- label = ">",
- radius = 30,
- shape = "circle",
- fillColor = { default={255,255,255,1}, over={0,1,0,0.8} },
- onRelease = handleButtonEvent
- })
- pantsRightButton.y = 175
- pantsRightButton.x = fullw - 100
- group:insert(pantsRightButton)
- local shirtLeftButton = widget.newButton(
- {
- left = 0,
- top = 0,
- id = "shirtLeft",
- label = "<",
- radius = 30,
- shape = "circle",
- fillColor = { default={255,255,255,1}, over={0,1,0,0.8} },
- onRelease = handleButtonEvent
- })
- shirtLeftButton.y = 250
- shirtLeftButton.x = 100
- group:insert(shirtLeftButton)
- local shirtRightButton = widget.newButton(
- {
- left = 0,
- top = 0,
- id = "shirtRight",
- label = ">",
- radius = 30,
- shape = "circle",
- fillColor = { default={255,255,255,1}, over={0,1,0,0.8} },
- onRelease = handleButtonEvent
- })
- shirtRightButton.y = 250
- shirtRightButton.x = fullw - 100
- group:insert(shirtRightButton)
- local shoeLeftButton = widget.newButton(
- {
- left = 0,
- top = 0,
- id = "shoeLeft",
- label = "<",
- radius = 30,
- shape = "circle",
- fillColor = { default={255,255,255,1}, over={0,1,0,0.8} },
- onRelease = handleButtonEvent
- })
- shoeLeftButton.y = 325
- shoeLeftButton.x = 100
- group:insert(shoeLeftButton)
- local shoeRightButton = widget.newButton(
- {
- left = 0,
- top = 0,
- id = "shoeRight",
- label = ">",
- radius = 30,
- shape = "circle",
- fillColor = { default={255,255,255,1}, over={0,1,0,0.8} },
- onRelease = handleButtonEvent
- })
- shoeRightButton.y = 325
- shoeRightButton.x = fullw - 100
- group:insert(shoeRightButton)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement