12 lines
517 B
Plaintext
12 lines
517 B
Plaintext
previous_pane_button = function()
|
|
button(Global_state, 'previous_pane', {x=0, y=Menu_bottom, w=Menu_left+30, 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', Menu_left+5, App.screen.height/2, Menu_left+25, App.screen.height/2-10, Menu_left+25, App.screen.height/2+10)
|
|
end,
|
|
onpress1 = press_previous_pane_button,
|
|
tooltip = function(x,y)
|
|
show_tooltip(x,y+20, not Is_mobile and Show_code and 'ctrl+left')
|
|
end,
|
|
})
|
|
end |