In ResizeColspans(): Removed line which only allowed the function to run if the tooltip was shown. Fixes ticket #4.
In InitializeTooltip(): Removed line which set ResizeColspans() to the tooltip's OnShow(), as this only worked after the tooltip was shown - making it rather useless.

Added lineHeap[key] and columnHeap[key] to make each heap unique to the specified tooltip. This fixes the issue of setting a column/line's background to a different color which would propagate to another tooltip upon re-use.
------------------------------------------------------------------------
r53 | adirelle | 2009-01-11 09:17:28 +0000 (Sun, 11 Jan 2009) | 1 line
Changed paths:
A /trunk/.docmeta
M /trunk/LibQTip-1.0/LibQTip-1.0.lua

:SetCell, :AddLine and :AddHeader returns line and column number of the next empty cell unless the line is full, in which case they return only the line number.
Null and negative colspan number extends the cell so to keep -colspan free columns at its right.
Got rid of the .states table, now store the state directly in cells (faster and avoid table leaks).
------------------------------------------------------------------------
r36 | adirelle | 2008-10-26 09:46:20 +0000 (Sun, 26 Oct 2008) | 1 line
Changed paths:
M /trunk/LibTooltip-1.0/LibTooltip-1.0.lua

Moved cell visibilty, parent and framelevel management from CellProvider to tooltip (so CellProviders do not have to care).
cell:InitializeCell() is optional.
cell:ReleaseCell() is not an alias of self.cellProvider:ReleaseCell(self) anymore. It is now a optional methods like InitializeCell.
Removed cell:GetCellProvider() and cell.cellProvider as the tooltip now remember which provider provided which cell.

lib:Acquire(): assert that the name is a string.
lib:Release(): ignore invalid tooltip silently.
CreateCell(): use tooltip.regularFont instead of GameTooltipText.
tooltip:SetCell():
- grouped the font check together with other assertions,
- do no create cell frames for empty strings but on first column,
Added tooltip:GetLineCount() and tooltip:GetColumnCount().

Bah. Same as previous revision without the bullshit - one line in CreateCell() rather than five in tipProto:SetCell()
------------------------------------------------------------------------
r12 | torhal | 2008-10-20 04:59:19 +0000 (Mon, 20 Oct 2008) | 1 line
Changed paths:
M /trunk/LibTooltip-1.0/LibTooltip-1.0.lua