template-carousel-mobile/0060-next_pane_button

16 lines
532 B
Plaintext
Raw Normal View History

2023-11-21 06:23:09 +00:00
next_pane_button = function(r)
button(Global_state, 'right', {x=r-30, y=Menu_bottom, w=100, h=App.screen.height, bg={r=0.5, g=0.5, b=0.5, a=0.2},
icon = function(p)
App.color{r=0.4,g=0.4,b=0.4}
love.graphics.polygon('fill', r-25, App.screen.height/2-10, r-25, App.screen.height/2+10, r-5, App.screen.height/2)
end,
onpress1 = function()
2023-12-05 06:09:47 +00:00
Show_menu = nil
Current_pane.car = car
2023-11-21 06:23:09 +00:00
Current_pane_index = Current_pane_index+1
Current_pane = Panes[Current_pane_index]
car = Current_pane.car or {}
2023-11-21 06:23:09 +00:00
end,
})
2023-12-05 06:09:47 +00:00
end