Add tooltip:GetOffsets

This commit is contained in:
Kenny Shields 2014-01-14 06:19:51 -05:00
parent bbfc10af5e
commit bc3b0427d0
2 changed files with 11 additions and 0 deletions

View File

@ -3,6 +3,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()
[CHANGED] Moved library files to /libraries

View File

@ -281,6 +281,16 @@ function newobject:SetOffsets(xoffset, yoffset)
end
--[[---------------------------------------------------------
- func: GetOffsets()
- desc: gets the tooltip's x and y offset
--]]---------------------------------------------------------
function newobject:GetOffsets()
return self.xoffset, self.yoffset
end
--[[---------------------------------------------------------
- func: SetPadding(padding)
- desc: sets the tooltip's padding