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

@ -945,4 +945,24 @@ function newobject:GetDockZoneSize()
return self.dockzonesize 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 end