--OSLabel--
	__index = OSControl
	
	type = "OSLabel"

	TextColour = colours.black
	DisabledTextColour = colours.grey
	BackgroundColour = colours.white

	new = function(self, _x, _y, _title)
		local new = {}    -- the new instance
		setmetatable( new, {__index = OSLabel} )
		new.width = string.len(_title)
		new.height = 1
		new.x = _x
		new.y = _y
		new.title = _title
		new.enabled = true
		return new
	end

	Draw = function(self)
		--if the self doesn't have an action grey out the text
		local textColour = self.TextColour
		--if the self is selected give it the background and text color 
		local bgColour = self.BackgroundColour
		if not self.enabled then
			textColour = self.DisabledTextColour
		end
		OSDrawing.DrawCharacters(self.x,self.y, self.title, textColour, bgColour)
	end

	action = function()end