1
0
mirror of https://github.com/kepler155c/opus synced 2024-06-17 19:00:02 +00:00
opus/sys/modules/opus/ui/components/Tab.lua
kepler155c@gmail.com 5a874c1944 canvas overhaul
2020-03-31 09:57:23 -06:00

17 lines
350 B
Lua

local class = require('opus.class')
local UI = require('opus.ui')
UI.Tab = class(UI.Window)
UI.Tab.defaults = {
UIElement = 'Tab',
tabTitle = 'tab',
y = 2,
}
function UI.Tab:draw()
if not self.noFill then
self:fillArea(1, 1, self.width, self.height, string.rep('\127', self.width), colors.black, colors.gray)
end
self:drawChildren()
end