diff options
Diffstat (limited to 'help.lua')
-rw-r--r-- | help.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/help.lua b/help.lua index 0feaba1..f979b2f 100644 --- a/help.lua +++ b/help.lua @@ -32,6 +32,14 @@ function draw_help_without_mouse_pressed(drawing) love.graphics.print("* Press 'ctrl+g' to switch to drawing polygons", 16+30,y, 0, Zoom) y = y+15*Zoom end + if Current_drawing_mode ~= 'rectangle' then + love.graphics.print("* Press 'ctrl+r' to switch to drawing rectangles", 16+30,y, 0, Zoom) + y = y+15*Zoom + end + if Current_drawing_mode ~= 'square' then + love.graphics.print("* Press 'ctrl+s' to switch to drawing squares", 16+30,y, 0, Zoom) + y = y+15*Zoom + end love.graphics.print("* Press 'ctrl+=' or 'ctrl+-' to Zoom in or out", 16+30,y, 0, Zoom) y = y+15*Zoom love.graphics.print("* Press 'ctrl+0' to reset Zoom", 16+30,y, 0, Zoom) @@ -90,6 +98,14 @@ function draw_help_with_mouse_pressed(drawing) love.graphics.print("* Press 'g' to switch to drawing polygons", 16+30,y, 0, Zoom) y = y+15*Zoom end + if Current_drawing_mode ~= 'rectangle' then + love.graphics.print("* Press 'g' to switch to drawing rectangles", 16+30,y, 0, Zoom) + y = y+15*Zoom + end + if Current_drawing_mode ~= 'square' then + love.graphics.print("* Press 'g' to switch to drawing squares", 16+30,y, 0, Zoom) + y = y+15*Zoom + end love.graphics.setColor(0,0.5,0, 0.1) love.graphics.rectangle('fill', 16,drawing.y, Drawing_width, math.max(Drawing.pixels(drawing.h),y-drawing.y)) end |