Add tooltip:GetObject

This commit is contained in:
Kenny Shields 2014-01-15 10:27:33 -05:00
parent 4caf207d62
commit 97e1877fc7
2 changed files with 11 additions and 0 deletions

View File

@ -5,6 +5,7 @@ Version 0.9.7.1 - Alpha (Release Date TBD)
[ADDED] a new tooltip method: GetOffsetY() [ADDED] a new tooltip method: GetOffsetY()
[ADDED] a new tooltip method: GetOffsets() [ADDED] a new tooltip method: GetOffsets()
[ADDED] a new tooltip method: GetFollowCursor() [ADDED] a new tooltip method: GetFollowCursor()
[ADDED] a new tooltip method: GetObject()
[CHANGED] Moved library files to /libraries [CHANGED] Moved library files to /libraries
[CHANGED] Upgraded to middleclass 3.0.1 [CHANGED] Upgraded to middleclass 3.0.1

View File

@ -201,6 +201,16 @@ function newobject:SetObject(object)
end end
--[[---------------------------------------------------------
- func: GetObject()
- desc: gets the tooltip's object
--]]---------------------------------------------------------
function newobject:GetObject()
return self.object
end
--[[--------------------------------------------------------- --[[---------------------------------------------------------
- func: SetText(text) - func: SetText(text)
- desc: sets the tooltip's text - desc: sets the tooltip's text