Add columnlistheader:SetName

This commit is contained in:
Kenny Shields 2014-08-23 15:06:35 -04:00
parent c95618354a
commit 4991ba1f32
2 changed files with 12 additions and 0 deletions

View File

@ -16,6 +16,7 @@ Version 0.9.9 - Alpha (Release Date TBD)
[ADDED] a new columnlist method: GetTotalColumnWidth()
[ADDED] a new columnlist method: SetColumnWidth(id, width)
[ADDED] a new columnlist method: GetColumnWidth(id)
[ADDED] a new columnlistheader method: SetName(name)
[FIXED] bug that would cause tabbuttons to be positioned incorrectly when scrolling with the mouse wheel
[FIXED] collision detection issue caused by list child objects not being updated when outside of their parent's bounding box

View File

@ -205,6 +205,17 @@ function newobject:mousereleased(x, y, button)
end
--[[---------------------------------------------------------
- func: SetName(name)
- desc: sets the object's name
--]]---------------------------------------------------------
function newobject:SetName(name)
self.name = name
return self
end
--[[---------------------------------------------------------
- func: GetName()
- desc: gets the object's name