2013-05-11 21:02:42 +02:00
|
|
|
local setmetatable = setmetatable
|
|
|
|
local base = require( "radical.base" )
|
|
|
|
|
|
|
|
local module = {
|
|
|
|
margins = {
|
|
|
|
TOP = 0 ,
|
|
|
|
BOTTOM = 0 ,
|
|
|
|
LEFT = 0 ,
|
|
|
|
BOTTOM = 0 ,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
local function draw(data)
|
|
|
|
data.arrow_type = base.arrow_type.NONE
|
2013-07-21 10:15:56 +02:00
|
|
|
if data.wibox then
|
|
|
|
data.wibox.border_width = 1
|
|
|
|
data.wibox.border_color = data.border_color
|
|
|
|
end
|
2013-05-11 21:02:42 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
return setmetatable(module, { __call = function(_, ...) return draw(...) end })
|
|
|
|
-- kate: space-indent on; indent-width 2; replace-tabs on;
|