mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-12-11 07:24:24 +00:00
Add tooltip:GetOffsets
This commit is contained in:
parent
bbfc10af5e
commit
bc3b0427d0
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user