Notice in particular the little funky effect where neither tooltip is above the other.
That just means both frames (tooltips) are on the exact same frame strata so all you have to do it bump the game tooltip up temporarily or the Qtip one down (i recommend adjusting the Qtip instead of the GameTooltip)
frames hanging around is probably a good thing because how would you define a frame that can be GC'ed? for instance I could create a frame within a function to say display a texture on a permanent basis when the function closes the reference to that frame would technically be lost and the texture would disappear when the frame gets GC'ed. The only "Clean" way to get rid of frames would be to have DestroyFrame(frame) function but since wow can render thousands of frames (especially hidden ones) without much performance impact and blizzard itself doesn't need such a function i don't think we will ever see such a function.
and as Torhal demonstrated creating a simple frame recycler is quite easy to do (and should be more efficient since you don't have to create new frames but can reuse the old ones).
I'd say the Row and Column functions will probably stay unaltered because they'll help minimise frame usage. Even if we are recycling them automatically with LibQT, it's still probably a good idea to create as few as possible.
yea also it would break compatibility which at this point would be bad :P
I think if you had used topleftRow, topleftColumn, bottomrightRow, bottomrightColumn
instead of topleftX, topleftY, bottomrightX, bottomrightY
it would have been more clear ^^
Shouldn't be that hard, too. Instead of coloring the cell/column/row frames one would use an additional layer of frames that would be anchored to the columns/rows as needed.
Only problem would be that you'd have to know how many lines the tooltip has to reproduce the column function.
let simplify it even more SetAreaColor(topRow,bottomRow,leftColumn,rightColumn)
but keeping track of where to place them is usually not bad at all
i know i have 2rows on top and 2 rows on bottom and my info is in column 5
with the above api this would simply become
tooltip:SetAreaColor(3,tooltip:GetLineCount()-3,5,5) -- its -3 not 2 because if colors inclusively
its usefull if you have say a header that spans across multiple columns and subheadings under that in that case if you set the column color it paints that color across part of the header and looks really strange same if you have a footer that spans multiple columns.
also with a SetAreaColor function you would not need the line/column/cell functions at all since if your topleftX and bottomrightX is the same then you have your column function and if your topleftY and bottomrightX is the same you have your line function and if both Xes and both Yes equals then you have your cell function :)