On Friday 30 November 2001 10:15 am, Juergen Vigna wrote: > On 30-Nov-2001 Jean-Marc Lasgouttes wrote: > > > Yes, but when the warning appears, it means that one has to scan all > > the tabular. > > Ok then tell me how you would draw the tabular by NOT scanning all of it! > Or better just implement it I'm surely curious how that painted table my > look!
Well I can picture a solution of storing the pixmaps for each cell in a cache. Changing a cell would then result in you only needing to recreate the pixmaps for that column (if the width of the cell changed) and that row (if the height of the cell changed). The whole table could then be re-created by pasting together individual pixmaps using XCopyArea. This is effectively what the painter does anyway, but you'd only recreate the bare minimum. Angus