diff --git a/objects/frame.lua b/objects/frame.lua index 9eab5b7..f14f160 100644 --- a/objects/frame.lua +++ b/objects/frame.lua @@ -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 \ No newline at end of file