summaryrefslogtreecommitdiffhomepage
path: root/not
diff options
context:
space:
mode:
Diffstat (limited to 'not')
-rw-r--r--not/Button.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/not/Button.lua b/not/Button.lua
index a2f7a19..3c6042d 100644
--- a/not/Button.lua
+++ b/not/Button.lua
@@ -15,6 +15,9 @@ function Button:new (parent)
self.sprite, self.quads = parent:getSheet()
end
+function Button:getSize ()
+ return 58, 15
+
function Button:setText (text)
self.text = text or ""
return self