more window stuff

This commit is contained in:
nobody
2015-12-17 20:30:00 -05:00
parent e2602348df
commit 8dd46e2bbc
6 changed files with 68 additions and 25 deletions

View File

@@ -634,6 +634,13 @@ function Widget:getContentHeight ()
return height
end
function Widget:getFont ()
if not self.fontData then
self.fontData = Font(self.font, self.size)
end
return self.fontData
end
--[[--
Get x/y/width/height values describing a rectangle within the widget.