diff options
author | Aki <nthirtyone@gmail.com> | 2016-08-24 00:10:33 +0200 |
---|---|---|
committer | Aki <nthirtyone@gmail.com> | 2016-08-24 00:10:33 +0200 |
commit | cd72b080bd949d9ec0b42c29e0ea31e300464dad (patch) | |
tree | 3e1e7a0314ad43dfa96868c04060df82997bed74 /header.lua | |
parent | 9b8f5e3d356be281d8ef25227b087bb99b07b58d (diff) | |
download | roflnauts-cd72b080bd949d9ec0b42c29e0ea31e300464dad.zip roflnauts-cd72b080bd949d9ec0b42c29e0ea31e300464dad.tar.gz roflnauts-cd72b080bd949d9ec0b42c29e0ea31e300464dad.tar.bz2 |
Focus() return bool
Diffstat (limited to 'header.lua')
-rw-r--r-- | header.lua | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -29,12 +29,8 @@ function Header:getBounce(f) return math.sin(self.bounce*f*math.pi) end function Header:getPosition() return self.x,self.y end -- gives x,y of Element -function Header:focus(next) - if next and self.parent then - self.parent:next() - else - self.parent:previous() - end +function Header:focus() + return false end function Header:blur() end -- Called when Element loses focus |