added loveframes.util.GetHoverObject

This commit is contained in:
Kenny Shields 2013-10-31 04:10:56 -04:00
parent 072918fbea
commit c9f3d785cb
3 changed files with 12 additions and 0 deletions

View File

@ -14,6 +14,7 @@ Version 0.9.6.4 - Alpha (Release Date TBD)
[ADDED] a new textinput method: SetMaskChar(char) [ADDED] a new textinput method: SetMaskChar(char)
[ADDED] a new textinput method: GetMaskChar() [ADDED] a new textinput method: GetMaskChar()
[ADDED] a new util library function: TableHasValue(table, value) [ADDED] a new util library function: TableHasValue(table, value)
[ADDED] a new util library function: GetHoverObject()
[ADDED] a new callback: textinput(text) [ADDED] a new callback: textinput(text)
[ADDED] basic clipboard support for the textinput object (0.9.0 only) [ADDED] basic clipboard support for the textinput object (0.9.0 only)
[ADDED] custom cursor support for the textinput object [ADDED] custom cursor support for the textinput object

View File

@ -715,6 +715,7 @@ function newobject:IsTopCollision()
local found = false local found = false
local top = true local top = true
for k, v in ipairs(cols) do for k, v in ipairs(cols) do
if v == self then if v == self then
found = true found = true

View File

@ -350,4 +350,14 @@ function loveframes.util.DeepCopy(orig)
copy = orig copy = orig
end end
return copy return copy
end
--[[---------------------------------------------------------
- func: loveframes.util.GetHoverObject()
- desc: returns loveframes.hoverobject
--]]---------------------------------------------------------
function loveframes.util.GetHoverObject()
return loveframes.hoverobject
end end