[LAD] C/gtk3/cairo meter widget

Paul Davis paul at linuxaudiosystems.com
Mon Feb 11 04:21:54 UTC 2013


On Sun, Feb 10, 2013 at 11:16 PM, Patrick Shirkey <
pshirkey at boosthardware.com> wrote:

>
> On Mon, February 11, 2013 9:47 am, Tristan Matthews wrote:
> > 2013/2/10 Patrick Shirkey <pshirkey at boosthardware.com>
>
> > Therè's this one:
> >
> https://github.com/sat-metalab/scenic/blob/master/src/vumeter/vumeter.cpp
> > https://github.com/sat-metalab/scenic/blob/master/src/include/vumeter.h
> >
> > It has only a few c++isms and could easily be purely in C.
> >
>
> Thanks. It does look useful. Seems to be written for gtk2 though. Have you
> compiled it with gtk3?
>

at the very least, it would need a draw() method rather than an expose()
method.

plus, if i read it correctly it also redraws its entire self (subject to
cairo clipping) on every expose.

contrast with the the fastmeter in ardour3's libs/gtkmm2ext which draws
only the changed pixels per expose.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20130210/25b6955d/attachment.html>


More information about the Linux-audio-dev mailing list