mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-18 16:04:22 +00:00
Add tooltip:GetOffsetX and tooltip:GetOffsetY
This commit is contained in:
parent
8cd31304fb
commit
bbfc10af5e
@ -1,6 +1,9 @@
|
||||
================================================
|
||||
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
|
||||
|
||||
================================================
|
||||
|
@ -240,6 +240,16 @@ function newobject:SetOffsetX(xoffset)
|
||||
|
||||
end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
- func: GetOffsetX()
|
||||
- desc: gets the tooltip's x offset
|
||||
--]]---------------------------------------------------------
|
||||
function newobject:GetOffsetX()
|
||||
|
||||
return self.xoffset
|
||||
|
||||
end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
- func: SetOffsetY(yoffset)
|
||||
- desc: sets the tooltip's y offset
|
||||
@ -250,6 +260,16 @@ function newobject:SetOffsetY(yoffset)
|
||||
|
||||
end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
- func: GetOffsetY()
|
||||
- desc: gets the tooltip's y offset
|
||||
--]]---------------------------------------------------------
|
||||
function newobject:GetOffsetY()
|
||||
|
||||
return self.yoffset
|
||||
|
||||
end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
- func: SetOffsets(xoffset, yoffset)
|
||||
- desc: sets the tooltip's x and y offset
|
||||
|
Loading…
Reference in New Issue
Block a user