start imposing some organization

[?]
May 17, 2022, 7:58 PM
XJ5J7LDI4AI5J3S67AN5GV6VUIAUCADL2YPGV753ENTW5QUYH5BAC

Dependencies

  • [2] CXCAERTB icons for current_mode
  • [3] 6F6DF5T3 .
  • [4] IFGAJAF7 add a level of indirection to vertices of shapes
  • [5] 4NDYV4WD fix 2 bugs in line selection
  • [6] R3WSFYGY spacing
  • [7] JVRL5TWL store device-independent coordinates inside drawings
  • [8] XX7G2FFJ intermingle freehand line drawings with text
  • [9] VVXVV2D2 change data model; text can now have metadata
  • [*] OTIBCAUJ love2d scaffold

Change contents

  • replacement in main.lua at line 97
    [3.155][3.3:32](),[3.32][3.185:470](),[3.185][3.185:470]()
    icon = function(x,y)
    love.graphics.setColor(0.7,0.7,0.7)
    love.graphics.rectangle('line', x,y, 12,12)
    love.graphics.line(4,y+6, 16,y+6)
    love.graphics.line(10,y, 10,y+12)
    love.graphics.setColor(0, 0, 0)
    end,
    [3.155]
    [3.470]
    icon = icon.insert_drawing,
  • edit in main.lua at line 1029
    [2.71]
    [2.71]
    function icon.insert_drawing(x, y)
    love.graphics.setColor(0.7,0.7,0.7)
    love.graphics.rectangle('line', x,y, 12,12)
    love.graphics.line(4,y+6, 16,y+6)
    love.graphics.line(10,y, 10,y+12)
    love.graphics.setColor(0, 0, 0)
    end