<br><br><div class="gmail_quote">On Sun, Feb 10, 2013 at 11:16 PM, Patrick Shirkey <span dir="ltr"><<a href="mailto:pshirkey@boosthardware.com" target="_blank">pshirkey@boosthardware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><br>
On Mon, February 11, 2013 9:47 am, Tristan Matthews wrote:<br>
> 2013/2/10 Patrick Shirkey <<a href="mailto:pshirkey@boosthardware.com">pshirkey@boosthardware.com</a>><br>
<br>
> Therč's this one:<br>
> <a href="https://github.com/sat-metalab/scenic/blob/master/src/vumeter/vumeter.cpp" target="_blank">https://github.com/sat-metalab/scenic/blob/master/src/vumeter/vumeter.cpp</a><br>
> <a href="https://github.com/sat-metalab/scenic/blob/master/src/include/vumeter.h" target="_blank">https://github.com/sat-metalab/scenic/blob/master/src/include/vumeter.h</a><br>
><br>
> It has only a few c++isms and could easily be purely in C.<br>
><br>
<br>
</div>Thanks. It does look useful. Seems to be written for gtk2 though. Have you<br>
compiled it with gtk3?<br></blockquote><div><br>at the very least, it would need a draw() method rather than an expose() method.<br><br>plus, if i read it correctly it also redraws its entire self (subject to cairo clipping) on every expose. <br>
<br>contrast with the the fastmeter in ardour3's libs/gtkmm2ext which draws only the changed pixels per expose. <br></div></div>