mirror of https://github.com/koreader/koreader
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
213 B
Lua
8 lines
213 B
Lua
13 years ago
|
|
||
|
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
|