diff options
author | Aki <nthirtyone@gmail.com> | 2017-09-04 18:47:24 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2017-09-04 18:47:24 +0200 |
commit | 2b15ac7c04211b319c247f7923fe4b5ebfed0516 (patch) | |
tree | 6a64eb93d7d9c2a5462f6bfe2fb9333965f66876 | |
parent | e287689c2a22d82522a5578205bf66f77c51a467 (diff) | |
download | roflnauts-2b15ac7c04211b319c247f7923fe4b5ebfed0516.zip roflnauts-2b15ac7c04211b319c247f7923fe4b5ebfed0516.tar.gz roflnauts-2b15ac7c04211b319c247f7923fe4b5ebfed0516.tar.bz2 |
Buttons' size just for sake
-rw-r--r-- | not/Button.lua | 3 |
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 |