Add tooltip:GetOffsetX and tooltip:GetOffsetY

This commit is contained in:
Kenny Shields 2014-01-14 06:17:23 -05:00
parent 8cd31304fb
commit bbfc10af5e
2 changed files with 23 additions and 0 deletions

View File

@ -1,6 +1,9 @@
================================================ ================================================
Version 0.9.7.1 - Alpha (Release Date TBD) Version 0.9.7.1 - Alpha (Release Date TBD)
================================================ ================================================
[ADDED] a new tooltip method: GetOffsetX()
[ADDED] a new tooltip method: GetOffsetY()
[CHANGED] Moved library files to /libraries [CHANGED] Moved library files to /libraries
================================================ ================================================

View File

@ -240,6 +240,16 @@ function newobject:SetOffsetX(xoffset)
end end
--[[---------------------------------------------------------
- func: GetOffsetX()
- desc: gets the tooltip's x offset
--]]---------------------------------------------------------
function newobject:GetOffsetX()
return self.xoffset
end
--[[--------------------------------------------------------- --[[---------------------------------------------------------
- func: SetOffsetY(yoffset) - func: SetOffsetY(yoffset)
- desc: sets the tooltip's y offset - desc: sets the tooltip's y offset
@ -250,6 +260,16 @@ function newobject:SetOffsetY(yoffset)
end end
--[[---------------------------------------------------------
- func: GetOffsetY()
- desc: gets the tooltip's y offset
--]]---------------------------------------------------------
function newobject:GetOffsetY()
return self.yoffset
end
--[[--------------------------------------------------------- --[[---------------------------------------------------------
- func: SetOffsets(xoffset, yoffset) - func: SetOffsets(xoffset, yoffset)
- desc: sets the tooltip's x and y offset - desc: sets the tooltip's x and y offset