I'm starting to realize there's a decent amount of complexity here.
UB3O7QODEK7BMKXQOPPMFNPIA6DSVJXAJESZUPZ6CXDYQOP3Y3CAC
App.color(Fold_color)
--? love.graphics.circle('fill', App.screen.width, y+State.line_height/2, State.line_height/2)
--? love.graphics.circle('fill', x+State.line_height, y+State.line_height/2, State.line_height/3)
love.graphics.rectangle('fill', x+5, y+2, App.width(State.em), State.line_height-4, 2,2)
--? love.graphics.circle('fill', x, y+State.line_height, 2)
if not line_cache.expanded then
button('expand', {x=x+5, y=y+2, w=App.width(State.em), h=State.line_height-4, color={1,1,1},
icon = function(x,y)
App.color(Fold_color)
love.graphics.rectangle('fill', x, y, App.width(State.em), State.line_height-4, 2,2)
end,
onpress1 = function()
line_cache.expanded = true
end,
})
else
App.color(Fold_color)
local text = App.newText(love.graphics.getFont(), line.data2)
love.graphics.rectangle('fill', x+5, y, 5+App.width(text)+5, State.line_height, 2,2)
App.color(Text_color)
App.screen.draw(text, x+5+5,y)
end