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