--OSHSplitter-- __index = OSControl type = "OSHSplitter" character = "-" TextColour = colours.grey BackgroundColour = colours.white new = function(self, _x, _y, _length) local new = {} -- the new instance setmetatable( new, {__index = OSHSplitter} ) new.width = _length new.height = 1 new.x = _x new.y = _y new.enabled = true return new end Draw = function(self) OSDrawing.DrawArea(self.x, self.y, self.width, self.height, self.character, self.BackgroundColour, self.TextColour) end