14 lines
512 B
Plaintext
14 lines
512 B
Plaintext
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()
|
|
Current_pane.car = car
|
|
Current_pane_index = Current_pane_index+1
|
|
Current_pane = Panes[Current_pane_index]
|
|
car = Current_pane.car or {}
|
|
end,
|
|
})
|
|
end |