bugfix: alignment of help screen
[?]
Jun 15, 2022, 8:28 PM
SGMDI4TCL375Y5ADXK6KDMWADDRXHZMCJ42PBMMW3RLMNDABEPUQCDependencies
- [2]
NQH7DEEWbugfix: missed rename in one file - [3]
F3OOGMMEswitch freehand hotkey to eliminate conflict with search - [4]
WSXSEZQ2switch circles to 'o' to avoid conflicting with copy - [5]
GSV7DABCmake online help fit within a drawing - [6]
OLZRJ4AXexperiment: use digits to draw regular polygons - [7]
6UZ2JNZEyet another key conflict - [8]
BU3LUPY3bugfix in help - [9]
WTDKUACNrectangle and square shapes - [10]
DXT4QTAHa few more integer coordinates - [11]
VHQCNMARseveral more modules - [12]
HOSPP2ANcrisp font rendering
Change contents
- replacement in help.lua at line 4
love.graphics.print("Things you can do:", 16+30,y)love.graphics.print("Things you can do:", Margin_left+30,y) - replacement in help.lua at line 6
love.graphics.print("* Press the mouse button to start drawing a "..current_shape(), 16+30,y)love.graphics.print("* Press the mouse button to start drawing a "..current_shape(), Margin_left+30,y) - replacement in help.lua at line 8
love.graphics.print("* Hover on a point and press 'ctrl+u' to pick it up and start moving it,", 16+30,y)love.graphics.print("* Hover on a point and press 'ctrl+u' to pick it up and start moving it,", Margin_left+30,y) - replacement in help.lua at line 10
love.graphics.print("then press the mouse button to drop it", 16+30+bullet_indent(),y)love.graphics.print("then press the mouse button to drop it", Margin_left+30+bullet_indent(),y) - replacement in help.lua at line 12
love.graphics.print("* Hover on a point and press 'ctrl+n', type a name, then press 'enter'", 16+30,y)love.graphics.print("* Hover on a point and press 'ctrl+n', type a name, then press 'enter'", Margin_left+30,y) - replacement in help.lua at line 14
love.graphics.print("* Hover on a point or shape and press 'ctrl+d' to delete it", 16+30,y)love.graphics.print("* Hover on a point or shape and press 'ctrl+d' to delete it", Margin_left+30,y) - replacement in help.lua at line 17
love.graphics.print("* Press 'ctrl+p' to switch to drawing freehand strokes", 16+30,y)love.graphics.print("* Press 'ctrl+p' to switch to drawing freehand strokes", Margin_left+30,y) - replacement in help.lua at line 21
love.graphics.print("* Press 'ctrl+l' to switch to drawing lines", 16+30,y)love.graphics.print("* Press 'ctrl+l' to switch to drawing lines", Margin_left+30,y) - replacement in help.lua at line 25
love.graphics.print("* Press 'ctrl+m' to switch to drawing horizontal/vertical lines", 16+30,y)love.graphics.print("* Press 'ctrl+m' to switch to drawing horizontal/vertical lines", Margin_left+30,y) - replacement in help.lua at line 29
love.graphics.print("* Press 'ctrl+o' to switch to drawing circles/arcs", 16+30,y)love.graphics.print("* Press 'ctrl+o' to switch to drawing circles/arcs", Margin_left+30,y) - replacement in help.lua at line 33
love.graphics.print("* Press 'ctrl+<digit>' to switch to drawing regular polygons", 16+30,y)love.graphics.print("* Press 'ctrl+<digit>' to switch to drawing regular polygons", Margin_left+30,y) - replacement in help.lua at line 37
love.graphics.print("* Press 'ctrl+r' to switch to drawing rectangles", 16+30,y)love.graphics.print("* Press 'ctrl+r' to switch to drawing rectangles", Margin_left+30,y) - replacement in help.lua at line 40
love.graphics.print("* Press 'ctrl+=' or 'ctrl+-' to zoom in or out, ctrl+0 to reset zoom", 16+30,y)love.graphics.print("* Press 'ctrl+=' or 'ctrl+-' to zoom in or out, ctrl+0 to reset zoom", Margin_left+30,y) - replacement in help.lua at line 42
love.graphics.print("Press 'esc' now to hide this message", 16+30,y)love.graphics.print("Press 'esc' now to hide this message", Margin_left+30,y) - replacement in help.lua at line 45
love.graphics.rectangle('fill', 16,drawing.y, Line_width, math.max(Drawing.pixels(drawing.h),y-drawing.y))love.graphics.rectangle('fill', Margin_left,drawing.y, Line_width, math.max(Drawing.pixels(drawing.h),y-drawing.y)) - replacement in help.lua at line 51
love.graphics.print("You're currently drawing a "..current_shape(drawing.pending), 16+30,y)love.graphics.print("You're currently drawing a "..current_shape(drawing.pending), Margin_left+30,y) - replacement in help.lua at line 53
love.graphics.print('Things you can do now:', 16+30,y)love.graphics.print('Things you can do now:', Margin_left+30,y) - replacement in help.lua at line 56
love.graphics.print('* Release the mouse button to finish drawing the stroke', 16+30,y)love.graphics.print('* Release the mouse button to finish drawing the stroke', Margin_left+30,y) - replacement in help.lua at line 59
love.graphics.print('* Release the mouse button to finish drawing the line', 16+30,y)love.graphics.print('* Release the mouse button to finish drawing the line', Margin_left+30,y) - replacement in help.lua at line 63
love.graphics.print('* Release the mouse button to finish drawing the circle', 16+30,y)love.graphics.print('* Release the mouse button to finish drawing the circle', Margin_left+30,y) - replacement in help.lua at line 65
love.graphics.print("* Press 'a' to draw just an arc of a circle", 16+30,y)love.graphics.print("* Press 'a' to draw just an arc of a circle", Margin_left+30,y) - replacement in help.lua at line 67
love.graphics.print('* Release the mouse button to finish drawing the arc', 16+30,y)love.graphics.print('* Release the mouse button to finish drawing the arc', Margin_left+30,y) - replacement in help.lua at line 71
love.graphics.print('* Release the mouse button to finish drawing the regular polygon', 16+30,y)love.graphics.print('* Release the mouse button to finish drawing the regular polygon', Margin_left+30,y) - replacement in help.lua at line 74
love.graphics.print("* Press 'esc' then release the mouse button to cancel the current shape", 16+30,y)love.graphics.print("* Press 'esc' then release the mouse button to cancel the current shape", Margin_left+30,y) - replacement in help.lua at line 78
love.graphics.print("* Press 'l' to switch to drawing lines", 16+30,y)love.graphics.print("* Press 'l' to switch to drawing lines", Margin_left+30,y) - replacement in help.lua at line 82
love.graphics.print("* Press 'm' to switch to drawing horizontal/vertical lines", 16+30,y)love.graphics.print("* Press 'm' to switch to drawing horizontal/vertical lines", Margin_left+30,y) - replacement in help.lua at line 86
love.graphics.print("* Press 'o' to switch to drawing circles/arcs", 16+30,y)love.graphics.print("* Press 'o' to switch to drawing circles/arcs", Margin_left+30,y) - replacement in help.lua at line 90
love.graphics.print("* Press 'r' to switch to drawing rectangles", 16+30,y)love.graphics.print("* Press 'r' to switch to drawing rectangles", Margin_left+30,y) - replacement in help.lua at line 94
love.graphics.rectangle('fill', 16,drawing.y, Line_width, math.max(Drawing.pixels(drawing.h),y-drawing.y))love.graphics.rectangle('fill', Margin_left,drawing.y, Line_width, math.max(Drawing.pixels(drawing.h),y-drawing.y))