Code

gitk: Store ids in rowrangelist and idrowranges rather than row numbers
authorPaul Mackerras <paulus@samba.org>
Sat, 14 Oct 2006 09:21:02 +0000 (19:21 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 23 Jun 2007 10:55:52 +0000 (20:55 +1000)
commit66e46f37de3ed3211a8ae0e8fc09c063bc3a1e08
tree99c9d46ed3bfe5a98deb8eabcf023eaeb3d9318b
parent00609463979c3a2549c0c917a206345f51975b5d
gitk: Store ids in rowrangelist and idrowranges rather than row numbers

This removes the need for insertrow to go through rowrangelist and
idrowranges and adjust a lot of entries.  The first entry for a given
id is now the row number of the first child, not that row number + 1,
and rowranges compensates for that so its callers didn't have to
change.  This adds a ranges argument to drawlineseg so that we can
avoid calling rowranges a second time inside drawlineseg (all its
callers already called rowranges).

Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk