mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-26 05:14:21 +00:00
Add tooltip:GetObject
This commit is contained in:
parent
4caf207d62
commit
97e1877fc7
@ -5,6 +5,7 @@ Version 0.9.7.1 - Alpha (Release Date TBD)
|
||||
[ADDED] a new tooltip method: GetOffsetY()
|
||||
[ADDED] a new tooltip method: GetOffsets()
|
||||
[ADDED] a new tooltip method: GetFollowCursor()
|
||||
[ADDED] a new tooltip method: GetObject()
|
||||
|
||||
[CHANGED] Moved library files to /libraries
|
||||
[CHANGED] Upgraded to middleclass 3.0.1
|
||||
|
@ -201,6 +201,16 @@ function newobject:SetObject(object)
|
||||
|
||||
end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
- func: GetObject()
|
||||
- desc: gets the tooltip's object
|
||||
--]]---------------------------------------------------------
|
||||
function newobject:GetObject()
|
||||
|
||||
return self.object
|
||||
|
||||
end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
- func: SetText(text)
|
||||
- desc: sets the tooltip's text
|
||||
|
Loading…
Reference in New Issue
Block a user