1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-15 07:47:40 +00:00

drop menus

This commit is contained in:
kepler155c@gmail.com
2017-10-06 13:39:47 -04:00
parent fc69d4be83
commit 91a05c07dd
3 changed files with 203 additions and 145 deletions

View File

@@ -44,6 +44,12 @@ function Canvas:init(args)
end
end
function Canvas:move(x, y)
self.x, self.y = x, y
self.ex = self.x + self.width - 1
self.ey = self.y + self.height - 1
end
function Canvas:resize(w, h)
for i = self.height, h do
self.lines[i] = { }