major overhaul of the code structure, more OO like

This commit is contained in:
HW
2011-12-08 00:45:39 +01:00
parent f93538256a
commit affc3b231a
8 changed files with 387 additions and 320 deletions

7
graphics.lua Normal file
View File

@@ -0,0 +1,7 @@
blitbuffer.paintBorder = function (bb, x, y, w, h, bw, c)
bb:paintRect(x, y, w, bw, c)
bb:paintRect(x, y+h-bw, w, bw, c)
bb:paintRect(x, y+bw, bw, h - 2*bw, c)
bb:paintRect(x+w-bw, y+bw, bw, h - 2*bw, c)
end