diff --git a/changelog.txt b/changelog.txt index d1c3578..d3993e8 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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 diff --git a/objects/internal/tooltip.lua b/objects/internal/tooltip.lua index a7bf067..361fb09 100644 --- a/objects/internal/tooltip.lua +++ b/objects/internal/tooltip.lua @@ -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