Add tooltip:GetFollowCursor

This commit is contained in:
Kenny Shields 2014-01-15 10:21:25 -05:00
parent e21264d4d7
commit 4caf207d62
2 changed files with 12 additions and 0 deletions

View File

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

View File

@ -178,6 +178,17 @@ function newobject:SetFollowCursor(bool)
end
--[[---------------------------------------------------------
- func: GetFollowCursor()
- desc: gets whether or not the tooltip should follow the
cursor
--]]---------------------------------------------------------
function newobject:GetFollowCursor()
return self.followcursor
end
--[[---------------------------------------------------------
- func: SetObject(object)
- desc: sets the tooltip's object