mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
major overhaul of the code structure, more OO like
This commit is contained in:
7
graphics.lua
Normal file
7
graphics.lua
Normal 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
|
||||
Reference in New Issue
Block a user