<br><br><div class="gmail_quote">On Sun, Feb 10, 2013 at 11:36 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="HOEnZb"><div class="h5"><br>
On Mon, February 11, 2013 3:21 pm, Paul Davis wrote:<br>
> On Sun, Feb 10, 2013 at 11:16 PM, Patrick Shirkey <<br>
> <a href="mailto:pshirkey@boosthardware.com">pshirkey@boosthardware.com</a>> wrote:<br>
><br>
>><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>
>> ><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>
>> Thanks. It does look useful. Seems to be written for gtk2 though. Have<br>
>> you<br>
>> compiled it with gtk3?<br>
>><br>
><br>
> at the very least, it would need a draw() method rather than an expose()<br>
> method.<br>
><br>
> plus, if i read it correctly it also redraws its entire self (subject to<br>
> cairo clipping) on every expose.<br>
><br>
> contrast with the the fastmeter in ardour3's libs/gtkmm2ext which draws<br>
> only the changed pixels per expose.<br>
><br>
<br>
</div></div>I would prefer to use that but it's in pure C++ as well as GTK2 so I have<br>
to convert it to c and gtk3 :-(<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br>well it depends on what you want. tristan's has level markings etc. as part of the meter widget, and is very close to a pure C widget. mine has a very efficient and C-ish drawing method that was created with gtk3 in mind.<br>
<br>its not exactly atypical to find that what you want doesn't exist and you have to blend bits and piece. <br><br></div></div>