Add frame:SetResizable and frame:GetResizable

This commit is contained in:
Kenny Shields 2014-01-07 19:33:30 -05:00
parent 83e2dc1adb
commit 0960a2a08d

View File

@ -946,3 +946,23 @@ 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