From 2b15ac7c04211b319c247f7923fe4b5ebfed0516 Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 4 Sep 2017 18:47:24 +0200 Subject: Buttons' size just for sake --- not/Button.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'not/Button.lua') 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 -- cgit v1.1 From 5d141eae2bfb196597a8743bc2409ac20308e45e Mon Sep 17 00:00:00 2001 From: Aki Date: Mon, 4 Sep 2017 19:06:00 +0200 Subject: There was no end to it --- not/Button.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'not/Button.lua') diff --git a/not/Button.lua b/not/Button.lua index 3c6042d..3493a84 100644 --- a/not/Button.lua +++ b/not/Button.lua @@ -17,6 +17,7 @@ end function Button:getSize () return 58, 15 +end function Button:setText (text) self.text = text or "" -- cgit v1.1