2JZZ7BDCWN37RJCEOJZQGCVNPWBS2IPQI5VEALMFLCMN4HLGC5DQC
WUAOFC5IXNHFPCVIY2SSQ7U5V3GUVNT5R43EDYOXYXLGZQQY2AEAC
LRDM35CEK3OHXOTB7TEFJRL7P6PQWO5ZG3F2BVA7DIDFHBPJQ7KAC
XBOQIWITIRSZWIS2UKUFR6L45GLKTIZAXY4SEBS2OWBF6Q5CHRBQC
2L5MEZV344TOZLVY3432RHJFIRVXFD6O3GWLL5O4CV66BGAFTURQC
TGAAKKGGQZ6V6V25DGVHDXUXR74OYGG7RGRXVWKASDCONXZ63LYAC
R5QXEHUIZLELJGGCZAE7ATNS3CLRJ7JFRENMGH4XXH24C5WABZDQC
on.draw = function()
love.graphics.setColor(1,0,0)
for _,obj in ipairs(Surface) do
love.graphics.setColor(obj.r or 0, obj.g or 0, obj.b or 0)
if obj.type == 'rectangle' then
love.graphics.rectangle(obj.drawmode or 'fill', vx(obj.x),vy(obj.y), scale(obj.w),scale(obj.h))
elseif obj.type == 'line' then
love.graphics.line(unpack(obj.zdata))
elseif obj.type == 'circle' then
love.graphics.circle(obj.drawmode or 'fill', vx(obj.x), vy(obj.y), scale(obj.radius))
elseif obj.type == 'arc' then
love.graphics.arc(obj.drawmode or 'line', obj.arctype or 'open', vx(obj.x), vy(obj.y), scale(obj.radius), obj.angle1, obj.angle2, obj.segments)
elseif obj.type == 'ellipse' then
love.graphics.ellipse(obj.drawmode or 'fill', vx(obj.x), vy(obj.y), scale(obj.radiusx), scale(obj.radiusy))
elseif obj.type == 'bezier' then
love.graphics.line(unpack(obj.zdata))
elseif obj.type == 'text' then
if obj.w == nil then
love.graphics.draw(obj.text, vx(obj.x), vy(obj.y))
else
love.graphics.setColor(0.5,0.5,0.5)
love.graphics.rectangle('fill', vx(obj.x),vy(obj.y-30), scale(obj.w/2-5), scale(20))
edit.draw(obj.editor, obj.fg, not obj.show_cursor)
if obj.editor.load_time_error then
love.graphics.setColor(0.8,0,0)
local error_y = math.min(vy(obj.y+obj.h), App.screen.height-20*5*Viewport.zoom)
error_y = math.max(error_y, vy(obj.y))
love.graphics.rectangle('fill', vx(obj.x), error_y, scale(obj.w), scale(5*20*Viewport.zoom))
love.graphics.setColor(0,0,0)
love.graphics.print(obj.editor.load_time_error, vx(obj.x), error_y)
end
end
end
end
draw_ticks()
draw_menu_bar()
end
{"approximate":579,"table_and_array_both_empty":689,"vy":546,"approximate_up":658,"Ticks_font":669,"fw_parent":794,"font":353,"fw_app":"driver","Cursor_node":172,"sy":469,"update_editor_box":711,"on.initialize":695,"scale":712,"Animating":770,"B":379,"schema1_of_y":667,"Menu_background_color":611,"Manifest_navigator":495,"initialize_manifest_navigator":773,"Definitions":503,"on.draw":795,"new_definition":767,"Menu_highlight_color":614,"get_multiple_definitions_from_app":783,"add_hotkey_to_menu":616,"wait_for_response":781,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"Manifest":769,"on.mouse_release":721,"load_manifest":694,"maybe_update_key_in_definitions":529,"get_manifest":768,"on.keychord_press":785,"get_definition_from_app":784,"on.text_input":521,"Page":475,"manifest_navigator_up":628,"manifest_navigator_down":635,"delete_definition":673,"line_height":365,"move_candidate_to_front_of_manifest":632,"on":1,"keychord_press_on_manifest_navigator":765,"add_thick_line":400,"text_input_on_manifest_navigator":634,"copy_shape":396,"manifest_coord":636,"on_text":539,"manifest_index":637,"on.mouse_press":722,"manifest_navigator_candidates":638,"add_def_to_menu":640,"sx":544,"vx":545,"box_height":680,"compute_layout":385,"on.code_change":734,"initialize_editor":678,"Menu_command_color":613,"Surface":422,"on.key_release":720,"draw_menu_bar":641,"mouse_cursor":558,"load_definition":716,"Mouse_cursor":559,"tick_spec":660,"load_from_iterator":670,"on.update":741,"set_mouse_cursor":562,"draw_cursor":639,"draw_ticks":663,"reset_manifest_navigator":772,"A":713,"Viewport":604,"y_of_schema1":364,"Menu_border_color":612,"on_handle":547,"on.code_submit":787,"on.save_settings":742,"order_of_magnitude":573,"on.load_settings":782}
on.draw = function()
love.graphics.setColor(1,0,0)
for _,obj in ipairs(Surface) do
love.graphics.setColor(obj.r or 0, obj.g or 0, obj.b or 0)
if obj.type == 'rectangle' then
love.graphics.rectangle(obj.drawmode or 'fill', vx(obj.x),vy(obj.y), scale(obj.w),scale(obj.h))
elseif obj.type == 'line' then
love.graphics.line(unpack(obj.zdata))
elseif obj.type == 'circle' then
love.graphics.circle(obj.drawmode or 'fill', vx(obj.x), vy(obj.y), scale(obj.radius))
elseif obj.type == 'arc' then
love.graphics.arc(obj.drawmode or 'line', obj.arctype or 'open', vx(obj.x), vy(obj.y), scale(obj.radius), obj.angle1, obj.angle2, obj.segments)
elseif obj.type == 'ellipse' then
love.graphics.ellipse(obj.drawmode or 'fill', vx(obj.x), vy(obj.y), scale(obj.radiusx), scale(obj.radiusy))
elseif obj.type == 'bezier' then
love.graphics.line(unpack(obj.zdata))
elseif obj.type == 'text' then
if obj.w == nil then
love.graphics.draw(obj.text, vx(obj.x), vy(obj.y))
else
love.graphics.setColor(0.5,0.5,0.5)
love.graphics.rectangle('fill', vx(obj.x),vy(obj.y-30), scale(obj.w/2-5), scale(20))
edit.draw(obj.editor, obj.fg, not obj.show_cursor)
if obj.editor.load_time_error then
print('load time error found')
love.graphics.setColor(0.8,0,0)
local error_y = math.min(vy(obj.y+obj.h), App.screen.height-20*5*Viewport.zoom)
error_y = math.max(error_y, vy(obj.y))
love.graphics.rectangle('fill', vx(obj.x), error_y, scale(obj.w), scale(5*20*Viewport.zoom))
love.graphics.setColor(0,0,0)
love.graphics.print(obj.editor.load_time_error, vx(obj.x), error_y)
end
end
end
end
draw_ticks()
draw_menu_bar()
end
{"approximate":579,"table_and_array_both_empty":689,"vy":546,"approximate_up":658,"Ticks_font":669,"fw_parent":793,"font":353,"fw_app":"driver","Cursor_node":172,"sy":469,"update_editor_box":711,"on.initialize":695,"scale":712,"Animating":770,"B":379,"schema1_of_y":667,"Menu_background_color":611,"Manifest_navigator":495,"initialize_manifest_navigator":773,"Definitions":503,"on.draw":794,"new_definition":767,"Menu_highlight_color":614,"get_multiple_definitions_from_app":783,"add_hotkey_to_menu":616,"wait_for_response":781,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"Manifest":769,"on.mouse_release":721,"load_manifest":694,"maybe_update_key_in_definitions":529,"get_manifest":768,"on.keychord_press":785,"get_definition_from_app":784,"on.text_input":521,"Page":475,"manifest_navigator_up":628,"manifest_navigator_down":635,"delete_definition":673,"line_height":365,"move_candidate_to_front_of_manifest":632,"on":1,"keychord_press_on_manifest_navigator":765,"add_thick_line":400,"text_input_on_manifest_navigator":634,"copy_shape":396,"manifest_coord":636,"on_text":539,"manifest_index":637,"on.mouse_press":722,"manifest_navigator_candidates":638,"add_def_to_menu":640,"sx":544,"vx":545,"box_height":680,"compute_layout":385,"on.code_change":734,"initialize_editor":678,"Menu_command_color":613,"Surface":422,"on.key_release":720,"draw_menu_bar":641,"mouse_cursor":558,"load_definition":716,"Mouse_cursor":559,"tick_spec":660,"load_from_iterator":670,"on.update":741,"set_mouse_cursor":562,"draw_cursor":639,"draw_ticks":663,"reset_manifest_navigator":772,"A":713,"Viewport":604,"y_of_schema1":364,"Menu_border_color":612,"on_handle":547,"on.code_submit":787,"on.save_settings":742,"order_of_magnitude":573,"on.load_settings":782}
on.draw = function()
love.graphics.setColor(1,0,0)
for _,obj in ipairs(Surface) do
love.graphics.setColor(obj.r or 0, obj.g or 0, obj.b or 0)
if obj.type == 'rectangle' then
love.graphics.rectangle(obj.drawmode or 'fill', vx(obj.x),vy(obj.y), scale(obj.w),scale(obj.h))
elseif obj.type == 'line' then
love.graphics.line(unpack(obj.zdata))
elseif obj.type == 'circle' then
love.graphics.circle(obj.drawmode or 'fill', vx(obj.x), vy(obj.y), scale(obj.radius))
elseif obj.type == 'arc' then
love.graphics.arc(obj.drawmode or 'line', obj.arctype or 'open', vx(obj.x), vy(obj.y), scale(obj.radius), obj.angle1, obj.angle2, obj.segments)
elseif obj.type == 'ellipse' then
love.graphics.ellipse(obj.drawmode or 'fill', vx(obj.x), vy(obj.y), scale(obj.radiusx), scale(obj.radiusy))
elseif obj.type == 'bezier' then
love.graphics.line(unpack(obj.zdata))
elseif obj.type == 'text' then
if obj.w == nil then
love.graphics.draw(obj.text, vx(obj.x), vy(obj.y))
else
love.graphics.setColor(0.5,0.5,0.5)
love.graphics.rectangle('fill', vx(obj.x),vy(obj.y-30), scale(obj.w/2-5), scale(20))
edit.draw(obj.editor, obj.fg, not obj.show_cursor)
if obj.editor.load_time_error then
print('load time error found')
love.graphics.setColor(0.8,0,0)
local error_y = math.min(vy(obj.y+obj.h), App.screen.height-20*5*Viewport.zoom)
error_y = math.max(error_y, vy(obj.y))
love.graphics.rectangle('fill', vx(obj.x), error_y, scale(obj.w), scale(5*20*Viewport.zoom))
love.graphics.setColor(0,0,0)
love.graphics.print(obj.editor.load_time_error, vx(obj.x), error_y)
end
end
end
end
draw_ticks()
draw_menu_bar()
end
{"approximate":579,"table_and_array_both_empty":689,"vy":546,"approximate_up":658,"Ticks_font":669,"fw_parent":792,"font":353,"fw_app":"driver","Cursor_node":172,"sy":469,"update_editor_box":711,"on.initialize":695,"scale":712,"Animating":770,"B":379,"schema1_of_y":667,"Menu_background_color":611,"Manifest_navigator":495,"initialize_manifest_navigator":773,"Definitions":503,"on.draw":793,"new_definition":767,"Menu_highlight_color":614,"get_multiple_definitions_from_app":783,"add_hotkey_to_menu":616,"wait_for_response":781,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"Manifest":769,"on.mouse_release":721,"load_manifest":694,"maybe_update_key_in_definitions":529,"get_manifest":768,"on.keychord_press":785,"get_definition_from_app":784,"on.text_input":521,"Page":475,"manifest_navigator_up":628,"manifest_navigator_down":635,"delete_definition":673,"line_height":365,"move_candidate_to_front_of_manifest":632,"on":1,"keychord_press_on_manifest_navigator":765,"add_thick_line":400,"text_input_on_manifest_navigator":634,"copy_shape":396,"manifest_coord":636,"on_text":539,"manifest_index":637,"on.mouse_press":722,"manifest_navigator_candidates":638,"add_def_to_menu":640,"sx":544,"vx":545,"box_height":680,"compute_layout":385,"on.code_change":734,"initialize_editor":678,"Menu_command_color":613,"Surface":422,"on.key_release":720,"draw_menu_bar":641,"mouse_cursor":558,"load_definition":716,"Mouse_cursor":559,"tick_spec":660,"load_from_iterator":670,"on.update":741,"set_mouse_cursor":562,"draw_cursor":639,"draw_ticks":663,"reset_manifest_navigator":772,"A":713,"Viewport":604,"y_of_schema1":364,"Menu_border_color":612,"on_handle":547,"on.code_submit":787,"on.save_settings":742,"order_of_magnitude":573,"on.load_settings":782}
on.draw = function()
love.graphics.setColor(1,0,0)
for _,obj in ipairs(Surface) do
love.graphics.setColor(obj.r or 0, obj.g or 0, obj.b or 0)
if obj.type == 'rectangle' then
love.graphics.rectangle(obj.drawmode or 'fill', vx(obj.x),vy(obj.y), scale(obj.w),scale(obj.h))
elseif obj.type == 'line' then
love.graphics.line(unpack(obj.zdata))
elseif obj.type == 'circle' then
love.graphics.circle(obj.drawmode or 'fill', vx(obj.x), vy(obj.y), scale(obj.radius))
elseif obj.type == 'arc' then
love.graphics.arc(obj.drawmode or 'line', obj.arctype or 'open', vx(obj.x), vy(obj.y), scale(obj.radius), obj.angle1, obj.angle2, obj.segments)
elseif obj.type == 'ellipse' then
love.graphics.ellipse(obj.drawmode or 'fill', vx(obj.x), vy(obj.y), scale(obj.radiusx), scale(obj.radiusy))
elseif obj.type == 'bezier' then
love.graphics.line(unpack(obj.zdata))
elseif obj.type == 'text' then
if obj.w == nil then
love.graphics.draw(obj.text, vx(obj.x), vy(obj.y))
else
love.graphics.setColor(0.5,0.5,0.5)
love.graphics.rectangle('fill', vx(obj.x),vy(obj.y-30), scale(obj.w/2-5), scale(20))
edit.draw(obj.editor, obj.fg, not obj.show_cursor)
if obj.editor.load_time_error then
print('load time error found')
love.graphics.setColor(0.8,0,0)
local error_y = math.min(vy(obj.y+obj.h), App.screen.height-20*5*Viewport.zoom)
error_y = math.max(error_y, 0)
love.graphics.rectangle('fill', vx(obj.x), error_y, scale(obj.w), scale(5*20*Viewport.zoom))
love.graphics.setColor(0,0,0)
love.graphics.print(obj.editor.load_time_error, vx(obj.x), error_y)
end
end
end
end
draw_ticks()
draw_menu_bar()
end
{"approximate":579,"table_and_array_both_empty":689,"vy":546,"approximate_up":658,"Ticks_font":669,"fw_parent":791,"font":353,"fw_app":"driver","Cursor_node":172,"sy":469,"update_editor_box":711,"on.initialize":695,"scale":712,"Animating":770,"B":379,"schema1_of_y":667,"Menu_background_color":611,"Manifest_navigator":495,"initialize_manifest_navigator":773,"Definitions":503,"on.draw":792,"new_definition":767,"Menu_highlight_color":614,"get_multiple_definitions_from_app":783,"add_hotkey_to_menu":616,"wait_for_response":781,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"Manifest":769,"on.mouse_release":721,"load_manifest":694,"maybe_update_key_in_definitions":529,"get_manifest":768,"on.keychord_press":785,"get_definition_from_app":784,"on.text_input":521,"Page":475,"manifest_navigator_up":628,"manifest_navigator_down":635,"delete_definition":673,"line_height":365,"move_candidate_to_front_of_manifest":632,"on":1,"keychord_press_on_manifest_navigator":765,"add_thick_line":400,"text_input_on_manifest_navigator":634,"copy_shape":396,"manifest_coord":636,"on_text":539,"manifest_index":637,"on.mouse_press":722,"manifest_navigator_candidates":638,"add_def_to_menu":640,"sx":544,"vx":545,"box_height":680,"compute_layout":385,"on.code_change":734,"initialize_editor":678,"Menu_command_color":613,"Surface":422,"on.key_release":720,"draw_menu_bar":641,"mouse_cursor":558,"load_definition":716,"Mouse_cursor":559,"tick_spec":660,"load_from_iterator":670,"on.update":741,"set_mouse_cursor":562,"draw_cursor":639,"draw_ticks":663,"reset_manifest_navigator":772,"A":713,"Viewport":604,"y_of_schema1":364,"Menu_border_color":612,"on_handle":547,"on.code_submit":787,"on.save_settings":742,"order_of_magnitude":573,"on.load_settings":782}
on.draw = function()
love.graphics.setColor(1,0,0)
for _,obj in ipairs(Surface) do
love.graphics.setColor(obj.r or 0, obj.g or 0, obj.b or 0)
if obj.type == 'rectangle' then
love.graphics.rectangle(obj.drawmode or 'fill', vx(obj.x),vy(obj.y), scale(obj.w),scale(obj.h))
elseif obj.type == 'line' then
love.graphics.line(unpack(obj.zdata))
elseif obj.type == 'circle' then
love.graphics.circle(obj.drawmode or 'fill', vx(obj.x), vy(obj.y), scale(obj.radius))
elseif obj.type == 'arc' then
love.graphics.arc(obj.drawmode or 'line', obj.arctype or 'open', vx(obj.x), vy(obj.y), scale(obj.radius), obj.angle1, obj.angle2, obj.segments)
elseif obj.type == 'ellipse' then
love.graphics.ellipse(obj.drawmode or 'fill', vx(obj.x), vy(obj.y), scale(obj.radiusx), scale(obj.radiusy))
elseif obj.type == 'bezier' then
love.graphics.line(unpack(obj.zdata))
elseif obj.type == 'text' then
if obj.w == nil then
love.graphics.draw(obj.text, vx(obj.x), vy(obj.y))
else
love.graphics.setColor(0.5,0.5,0.5)
love.graphics.rectangle('fill', vx(obj.x),vy(obj.y-30), scale(obj.w/2-5), scale(20))
edit.draw(obj.editor, obj.fg, not obj.show_cursor)
if obj.editor.load_time_error then
print('load time error found')
love.graphics.setColor(0.8,0,0)
local error_y = math.min(vy(obj.y+obj.h/2), App.screen.height-20*5*Viewport.zoom)
error_y = math.max(error_y, 0)
love.graphics.rectangle('fill', vx(obj.x), error_y, scale(obj.w), scale(obj.h/2))
end
end
end
end
draw_ticks()
draw_menu_bar()
end
{"approximate":579,"table_and_array_both_empty":689,"vy":546,"approximate_up":658,"Ticks_font":669,"fw_parent":790,"font":353,"fw_app":"driver","Cursor_node":172,"sy":469,"update_editor_box":711,"on.initialize":695,"scale":712,"Animating":770,"B":379,"schema1_of_y":667,"Menu_background_color":611,"Manifest_navigator":495,"initialize_manifest_navigator":773,"Definitions":503,"on.draw":791,"new_definition":767,"Menu_highlight_color":614,"get_multiple_definitions_from_app":783,"add_hotkey_to_menu":616,"wait_for_response":781,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"Manifest":769,"on.mouse_release":721,"load_manifest":694,"maybe_update_key_in_definitions":529,"get_manifest":768,"on.keychord_press":785,"get_definition_from_app":784,"on.text_input":521,"Page":475,"manifest_navigator_up":628,"manifest_navigator_down":635,"delete_definition":673,"line_height":365,"move_candidate_to_front_of_manifest":632,"on":1,"keychord_press_on_manifest_navigator":765,"add_thick_line":400,"text_input_on_manifest_navigator":634,"copy_shape":396,"manifest_coord":636,"on_text":539,"manifest_index":637,"on.mouse_press":722,"manifest_navigator_candidates":638,"add_def_to_menu":640,"sx":544,"vx":545,"box_height":680,"compute_layout":385,"on.code_change":734,"initialize_editor":678,"Menu_command_color":613,"Surface":422,"on.key_release":720,"draw_menu_bar":641,"mouse_cursor":558,"load_definition":716,"Mouse_cursor":559,"tick_spec":660,"load_from_iterator":670,"on.update":741,"set_mouse_cursor":562,"draw_cursor":639,"draw_ticks":663,"reset_manifest_navigator":772,"A":713,"Viewport":604,"y_of_schema1":364,"Menu_border_color":612,"on_handle":547,"on.code_submit":787,"on.save_settings":742,"order_of_magnitude":573,"on.load_settings":782}
on.draw = function()
love.graphics.setColor(1,0,0)
for _,obj in ipairs(Surface) do
love.graphics.setColor(obj.r or 0, obj.g or 0, obj.b or 0)
if obj.type == 'rectangle' then
love.graphics.rectangle(obj.drawmode or 'fill', vx(obj.x),vy(obj.y), scale(obj.w),scale(obj.h))
elseif obj.type == 'line' then
love.graphics.line(unpack(obj.zdata))
elseif obj.type == 'circle' then
love.graphics.circle(obj.drawmode or 'fill', vx(obj.x), vy(obj.y), scale(obj.radius))
elseif obj.type == 'arc' then
love.graphics.arc(obj.drawmode or 'line', obj.arctype or 'open', vx(obj.x), vy(obj.y), scale(obj.radius), obj.angle1, obj.angle2, obj.segments)
elseif obj.type == 'ellipse' then
love.graphics.ellipse(obj.drawmode or 'fill', vx(obj.x), vy(obj.y), scale(obj.radiusx), scale(obj.radiusy))
elseif obj.type == 'bezier' then
love.graphics.line(unpack(obj.zdata))
elseif obj.type == 'text' then
if obj.w == nil then
love.graphics.draw(obj.text, vx(obj.x), vy(obj.y))
else
love.graphics.setColor(0.5,0.5,0.5)
love.graphics.rectangle('fill', vx(obj.x),vy(obj.y-30), scale(obj.w/2-5), scale(20))
edit.draw(obj.editor, obj.fg, not obj.show_cursor)
if edit.load_time_error then
print('load time error found')
love.graphics.setColor(0.8,0,0)
local error_y = math.min(vy(obj.y+obj.h/2), App.screen.height-20*5*Viewport.zoom)
error_y = math.max(error_y, 0)
love.graphics.rectangle('fill', vx(obj.x), error_y, scale(obj.w), scale(obj.h/2))
end
end
end
end
draw_ticks()
draw_menu_bar()
end
{"set_mouse_cursor":562,"box_height":680,"Page":475,"font":353,"on.save_settings":742,"on":1,"scale":712,"fw_parent":789,"fw_app":"driver","Viewport":604,"load_manifest":694,"draw_ticks":663,"on.mouse_press":722,"on.initialize":695,"on.update":741,"Manifest":769,"on.keychord_press":785,"on.text_input":521,"Menu_background_color":611,"Manifest_navigator":495,"Menu_border_color":612,"A":713,"Menu_highlight_color":614,"y_of_schema1":364,"Animating":770,"draw_manifest_navigator":677,"num_lines_for_manifest_navigator":676,"draw_cursor":639,"reset_manifest_navigator":772,"load_from_iterator":670,"get_definition_from_app":784,"Definitions":503,"manifest_navigator_up":628,"order_of_magnitude":573,"manifest_navigator_down":635,"delete_definition":673,"approximate":579,"move_candidate_to_front_of_manifest":632,"Ticks_font":669,"keychord_press_on_manifest_navigator":765,"text_input_on_manifest_navigator":634,"add_thick_line":400,"maybe_update_key_in_definitions":529,"copy_shape":396,"update_editor_box":711,"manifest_index":637,"manifest_navigator_candidates":638,"get_manifest":768,"add_def_to_menu":640,"on.code_change":734,"new_definition":767,"on_handle":547,"add_hotkey_to_menu":616,"on.code_submit":787,"get_multiple_definitions_from_app":783,"on_text":539,"on.mouse_release":721,"wait_for_response":781,"Cursor_node":172,"approximate_up":658,"on.load_settings":782,"initialize_manifest_navigator":773,"tick_spec":660,"on.draw":790,"sy":469,"line_height":365,"initialize_editor":678,"Surface":422,"load_definition":716,"sx":544,"schema1_of_y":667,"vx":545,"B":379,"on.key_release":720,"draw_menu_bar":641,"vy":546,"mouse_cursor":558,"Menu_command_color":613,"Mouse_cursor":559,"compute_layout":385,"table_and_array_both_empty":689,"manifest_coord":636}
on.draw = function()
love.graphics.setColor(1,0,0)
for _,obj in ipairs(Surface) do
love.graphics.setColor(obj.r or 0, obj.g or 0, obj.b or 0)
if obj.type == 'rectangle' then
love.graphics.rectangle(obj.drawmode or 'fill', vx(obj.x),vy(obj.y), scale(obj.w),scale(obj.h))
elseif obj.type == 'line' then
love.graphics.line(unpack(obj.zdata))
elseif obj.type == 'circle' then
love.graphics.circle(obj.drawmode or 'fill', vx(obj.x), vy(obj.y), scale(obj.radius))
elseif obj.type == 'arc' then
love.graphics.arc(obj.drawmode or 'line', obj.arctype or 'open', vx(obj.x), vy(obj.y), scale(obj.radius), obj.angle1, obj.angle2, obj.segments)
elseif obj.type == 'ellipse' then
love.graphics.ellipse(obj.drawmode or 'fill', vx(obj.x), vy(obj.y), scale(obj.radiusx), scale(obj.radiusy))
elseif obj.type == 'bezier' then
love.graphics.line(unpack(obj.zdata))
elseif obj.type == 'text' then
if obj.w == nil then
love.graphics.draw(obj.text, vx(obj.x), vy(obj.y))
else
love.graphics.setColor(0.5,0.5,0.5)
love.graphics.rectangle('fill', vx(obj.x),vy(obj.y-30), scale(obj.w/2-5), scale(20))
edit.draw(obj.editor, obj.fg, not obj.show_cursor)
if edit.load_time_error then
love.graphics.setColor(0.8,0,0)
local error_y = math.min(vy(obj.y+obj.h/2), App.screen.height-20*5*Viewport.zoom)
error_y = math.max(error_y, 0)
love.graphics.rectangle('fill', vx(obj.x), error_y, scale(obj.w), scale(obj.h/2))
end
end
end
end
draw_ticks()
draw_menu_bar()
end
{"Manifest_navigator":495,"Animating":770,"on.initialize":695,"B":379,"Surface":422,"on.draw":789,"load_manifest":694,"Viewport":604,"get_manifest":768,"font":353,"approximate_up":658,"on":1,"new_definition":767,"on.update":741,"on.keychord_press":785,"Page":475,"draw_cursor":639,"maybe_update_key_in_definitions":529,"on.code_submit":787,"Menu_background_color":611,"update_editor_box":711,"Menu_border_color":612,"Menu_command_color":613,"Menu_highlight_color":614,"initialize_manifest_navigator":773,"draw_menu_bar":641,"add_hotkey_to_menu":616,"on_text":539,"on.mouse_press":722,"y_of_schema1":364,"wait_for_response":781,"reset_manifest_navigator":772,"sx":544,"load_from_iterator":670,"vx":545,"get_definition_from_app":784,"load_definition":716,"on.key_release":720,"manifest_navigator_down":635,"draw_manifest_navigator":677,"box_height":680,"delete_definition":673,"compute_layout":385,"move_candidate_to_front_of_manifest":632,"Mouse_cursor":559,"on.save_settings":742,"num_lines_for_manifest_navigator":676,"text_input_on_manifest_navigator":634,"vy":546,"draw_ticks":663,"manifest_coord":636,"set_mouse_cursor":562,"manifest_index":637,"table_and_array_both_empty":689,"manifest_navigator_candidates":638,"A":713,"fw_parent":787,"add_def_to_menu":640,"fw_app":"driver","copy_shape":396,"mouse_cursor":558,"on.text_input":521,"order_of_magnitude":573,"Definitions":503,"Manifest":769,"manifest_navigator_up":628,"line_height":365,"approximate":579,"add_thick_line":400,"keychord_press_on_manifest_navigator":765,"sy":469,"get_multiple_definitions_from_app":783,"on.load_settings":782,"Cursor_node":172,"on_handle":547,"schema1_of_y":667,"on.code_change":734,"on.mouse_release":721,"tick_spec":660,"scale":712,"Ticks_font":669,"initialize_editor":678}
on.draw = function()
love.graphics.setColor(1,0,0)
for _,obj in ipairs(Surface) do
love.graphics.setColor(obj.r or 0, obj.g or 0, obj.b or 0)
if obj.type == 'rectangle' then
love.graphics.rectangle(obj.drawmode or 'fill', vx(obj.x),vy(obj.y), scale(obj.w),scale(obj.h))
elseif obj.type == 'line' then
love.graphics.line(unpack(obj.zdata))
elseif obj.type == 'circle' then
love.graphics.circle(obj.drawmode or 'fill', vx(obj.x), vy(obj.y), scale(obj.radius))
elseif obj.type == 'arc' then
love.graphics.arc(obj.drawmode or 'line', obj.arctype or 'open', vx(obj.x), vy(obj.y), scale(obj.radius), obj.angle1, obj.angle2, obj.segments)
elseif obj.type == 'ellipse' then
love.graphics.ellipse(obj.drawmode or 'fill', vx(obj.x), vy(obj.y), scale(obj.radiusx), scale(obj.radiusy))
elseif obj.type == 'bezier' then
love.graphics.line(unpack(obj.zdata))
elseif obj.type == 'text' then
if obj.w == nil then
love.graphics.draw(obj.text, vx(obj.x), vy(obj.y))
else
love.graphics.setColor(0.5,0.5,0.5)
love.graphics.rectangle('fill', vx(obj.x),vy(obj.y-30), scale(obj.w/2-5), scale(20))
edit.draw(obj.editor, obj.fg, not obj.show_cursor)
if edit.load_time_error then
love.graphics.setColor(0.8,0,0)
local error_y = math.min(vy(obj.y+obj.h/2), App.screen.height-20*5*Viewport.zoom)
error_y = math.max(error_y, 0)
love.graphics.rectangle('fill', vx(obj.x), error_y, scale(obj.w), scale(obj.h/2))
end
end
end
draw_ticks()
draw_menu_bar()
end
{"Manifest_navigator":495,"Animating":770,"on.initialize":695,"B":379,"Surface":422,"on.draw":788,"load_manifest":694,"Viewport":604,"get_manifest":768,"font":353,"approximate_up":658,"on":1,"Ticks_font":669,"on.update":741,"on.keychord_press":785,"Page":475,"draw_cursor":639,"maybe_update_key_in_definitions":529,"on.code_submit":787,"Menu_background_color":611,"update_editor_box":711,"Menu_border_color":612,"Menu_command_color":613,"Menu_highlight_color":614,"initialize_manifest_navigator":773,"on_handle":547,"schema1_of_y":667,"on_text":539,"on.mouse_press":722,"y_of_schema1":364,"wait_for_response":781,"reset_manifest_navigator":772,"sx":544,"load_from_iterator":670,"vx":545,"get_definition_from_app":784,"load_definition":716,"on.key_release":720,"manifest_navigator_down":635,"on.code_change":734,"box_height":680,"delete_definition":673,"on.mouse_release":721,"move_candidate_to_front_of_manifest":632,"num_lines_for_manifest_navigator":676,"on.save_settings":742,"new_definition":767,"text_input_on_manifest_navigator":634,"vy":546,"draw_manifest_navigator":677,"manifest_coord":636,"set_mouse_cursor":562,"manifest_index":637,"table_and_array_both_empty":689,"manifest_navigator_candidates":638,"add_hotkey_to_menu":616,"fw_parent":787,"scale":712,"fw_app":"driver","copy_shape":396,"draw_menu_bar":641,"on.text_input":521,"order_of_magnitude":573,"add_def_to_menu":640,"Manifest":769,"on.load_settings":782,"get_multiple_definitions_from_app":783,"approximate":579,"add_thick_line":400,"keychord_press_on_manifest_navigator":765,"sy":469,"line_height":365,"manifest_navigator_up":628,"Cursor_node":172,"Definitions":503,"mouse_cursor":558,"A":713,"draw_ticks":663,"tick_spec":660,"Mouse_cursor":559,"compute_layout":385,"initialize_editor":678}
on.code_submit = function(editor)
if not editor.load_time_error then
Manifest_navigator.reload = true
end
end
{"Manifest_navigator":495,"Animating":770,"on.initialize":695,"B":379,"Surface":422,"on.draw":565,"load_manifest":694,"Viewport":604,"get_manifest":768,"font":353,"approximate_up":658,"on":1,"Ticks_font":669,"on.update":741,"on.keychord_press":785,"Page":475,"draw_cursor":639,"maybe_update_key_in_definitions":529,"on.code_submit":787,"Menu_background_color":611,"update_editor_box":711,"Menu_border_color":612,"Menu_command_color":613,"Menu_highlight_color":614,"initialize_manifest_navigator":773,"on_handle":547,"schema1_of_y":667,"on_text":539,"on.mouse_press":722,"y_of_schema1":364,"wait_for_response":781,"reset_manifest_navigator":772,"sx":544,"load_from_iterator":670,"vx":545,"get_definition_from_app":784,"load_definition":716,"on.key_release":720,"manifest_navigator_down":635,"on.code_change":734,"box_height":680,"delete_definition":673,"on.mouse_release":721,"move_candidate_to_front_of_manifest":632,"num_lines_for_manifest_navigator":676,"on.save_settings":742,"new_definition":767,"text_input_on_manifest_navigator":634,"vy":546,"draw_manifest_navigator":677,"manifest_coord":636,"set_mouse_cursor":562,"manifest_index":637,"table_and_array_both_empty":689,"manifest_navigator_candidates":638,"add_hotkey_to_menu":616,"fw_parent":786,"scale":712,"fw_app":"driver","copy_shape":396,"draw_menu_bar":641,"on.text_input":521,"order_of_magnitude":573,"add_def_to_menu":640,"Manifest":769,"on.load_settings":782,"get_multiple_definitions_from_app":783,"approximate":579,"add_thick_line":400,"keychord_press_on_manifest_navigator":765,"sy":469,"line_height":365,"manifest_navigator_up":628,"Cursor_node":172,"Definitions":503,"mouse_cursor":558,"A":713,"draw_ticks":663,"tick_spec":660,"Mouse_cursor":559,"compute_layout":385,"initialize_editor":678}
on.code_submit = function(State)
if not State.load_time_error then
Manifest_navigator.reload = true
end
end
{"Manifest_navigator":495,"Animating":770,"on.initialize":695,"B":379,"Surface":422,"on.draw":565,"load_manifest":694,"Viewport":604,"get_manifest":768,"font":353,"approximate_up":658,"on":1,"Ticks_font":669,"on.update":741,"on.keychord_press":785,"Page":475,"draw_cursor":639,"maybe_update_key_in_definitions":529,"on.code_submit":786,"Menu_background_color":611,"update_editor_box":711,"Menu_border_color":612,"Menu_command_color":613,"Menu_highlight_color":614,"initialize_manifest_navigator":773,"on_handle":547,"schema1_of_y":667,"on_text":539,"on.mouse_press":722,"y_of_schema1":364,"wait_for_response":781,"reset_manifest_navigator":772,"sx":544,"load_from_iterator":670,"vx":545,"get_definition_from_app":784,"load_definition":716,"on.key_release":720,"manifest_navigator_down":635,"on.code_change":734,"box_height":680,"delete_definition":673,"on.mouse_release":721,"move_candidate_to_front_of_manifest":632,"num_lines_for_manifest_navigator":676,"on.save_settings":742,"new_definition":767,"text_input_on_manifest_navigator":634,"vy":546,"draw_manifest_navigator":677,"manifest_coord":636,"set_mouse_cursor":562,"manifest_index":637,"table_and_array_both_empty":689,"manifest_navigator_candidates":638,"add_hotkey_to_menu":616,"fw_parent":785,"scale":712,"fw_app":"driver","copy_shape":396,"draw_menu_bar":641,"on.text_input":521,"order_of_magnitude":573,"add_def_to_menu":640,"Manifest":769,"on.load_settings":782,"get_multiple_definitions_from_app":783,"approximate":579,"add_thick_line":400,"keychord_press_on_manifest_navigator":765,"sy":469,"line_height":365,"manifest_navigator_up":628,"Cursor_node":172,"Definitions":503,"mouse_cursor":558,"A":713,"draw_ticks":663,"tick_spec":660,"Mouse_cursor":559,"compute_layout":385,"initialize_editor":678}