always a perennial favorite.
here is the way i did it way back when.
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/eponymous/gtkwv/
and the requisite screenshot 
http://www.arcsin.org/editor.jpg
        have fun,
        rob
On Mon, Oct 14, 2002 at 10:45:20AM +0200, Thomas Grill wrote:
  Hi all,
 can anyone give me pointers on how the overview cache for a zoomable
 waveform display is organized?
 One can see accurate and fast displays in a lot of applications but i guess
 the rendering of this is not straightforward.
 best greetings,
 Thomas 
----
Robert Melby
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp:     ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt4255a
Internet: async(a)cc.gatech.edu