mirror of
https://github.com/linux-man/LoveFrames.git
synced 2024-11-18 16:04:22 +00:00
Add frame:SetResizable and frame:GetResizable
This commit is contained in:
parent
83e2dc1adb
commit
0960a2a08d
@ -945,4 +945,24 @@ function newobject:GetDockZoneSize()
|
||||
|
||||
return self.dockzonesize
|
||||
|
||||
end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
- func: SetResizable(bool)
|
||||
- desc: sets whether or not the object can be resized
|
||||
--]]---------------------------------------------------------
|
||||
function newobject:SetResizable(bool)
|
||||
|
||||
self.canresize = bool
|
||||
|
||||
end
|
||||
|
||||
--[[---------------------------------------------------------
|
||||
- func: GetResizable()
|
||||
- desc: gets whether or not the object can be resized
|
||||
--]]---------------------------------------------------------
|
||||
function newobject:GetResizable()
|
||||
|
||||
return self.canresize
|
||||
|
||||
end
|
Loading…
Reference in New Issue
Block a user