mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-18 16:04:22 +00:00
Add tooltip:GetFont
This commit is contained in:
parent
97e1877fc7
commit
d7964547fb
@ -6,6 +6,7 @@ Version 0.9.7.1 - Alpha (Release Date TBD)
|
|||||||
[ADDED] a new tooltip method: GetOffsets()
|
[ADDED] a new tooltip method: GetOffsets()
|
||||||
[ADDED] a new tooltip method: GetFollowCursor()
|
[ADDED] a new tooltip method: GetFollowCursor()
|
||||||
[ADDED] a new tooltip method: GetObject()
|
[ADDED] a new tooltip method: GetObject()
|
||||||
|
[ADDED] a new tooltip method: GetFont()
|
||||||
|
|
||||||
[CHANGED] Moved library files to /libraries
|
[CHANGED] Moved library files to /libraries
|
||||||
[CHANGED] Upgraded to middleclass 3.0.1
|
[CHANGED] Upgraded to middleclass 3.0.1
|
||||||
|
@ -335,6 +335,19 @@ function newobject:SetFont(font)
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--[[---------------------------------------------------------
|
||||||
|
- func: GetFont()
|
||||||
|
- desc: gets the tooltip's font
|
||||||
|
--]]---------------------------------------------------------
|
||||||
|
function newobject:GetFont()
|
||||||
|
|
||||||
|
local internals = self.internals
|
||||||
|
local textobject = internals[1]
|
||||||
|
|
||||||
|
return textobject:GetFont()
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
--[[---------------------------------------------------------
|
--[[---------------------------------------------------------
|
||||||
- func: SetFollowObject(bool)
|
- func: SetFollowObject(bool)
|
||||||
- desc: sets whether or not the tooltip should follow
|
- desc: sets whether or not the tooltip should follow
|
||||||
|
Loading…
Reference in New Issue
Block a user