draw_editor_panel = function(panel) App.color{r=0.5,g=0.5,b=0.5} love.graphics.rectangle('line', panel.left, panel.top, panel.width, panel.height, 5,5) draw_title(panel.title_text, panel.left, panel.top, panel.width) edit.draw(panel.editor, Text_color, Cursor ~= panel) end