13 lines
515 B
Plaintext
13 lines
515 B
Plaintext
next_pane_button = function(r)
|
|
button(Global_state, 'right', {x=r-30, y=Menu_bottom, w=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', r-25, App.screen.height/2-10, r-25, App.screen.height/2+10, r-5, App.screen.height/2)
|
|
end,
|
|
onpress1 = press_next_pane_button,
|
|
tooltip = function(x,y)
|
|
local w = App.width('ctrl+right')
|
|
show_tooltip(x-w-10,y+20, not Is_mobile and Show_code and 'ctrl+right')
|
|
end,
|
|
})
|
|
end |