FYI, I have updated the class with some basic structure for adding
different cairo drawing functions. If anyone wants to take a look at the
code and make improvements feel free. I haven't added the fastmeter logic
You can call it like this:
GtkAdjustment *adjustment = (GtkAdjustment*) gtk_adjustment_new(0.0, -40,
6, 0.0, 0.0, 0.0);
meter = gtk_meter_net(adjustment, GTK_METER_UP, GTK_METERSCALE_TOP. -40, 6);
gtk_meter_set_adjustment(GTK_METER (meter), adjustment);
- I have added it to the gtk3 port of JAMin which you can download from
http://jamin.sf.net to see it in action. It's all in the git repo.
Check these files for more advanced examples:
I'll put together a README when I have some more time.
Boost Hardware Ltd
Linux-audio-dev mailing list