mirror of
https://github.com/airstruck/luigi.git
synced 2025-12-19 02:16:43 +00:00
more window stuff
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user