Re: Multimedia widgets in GTK+?



On Fri, 9 Mar 2007, Stefan Kost wrote:

Hi Bastien,

I found the BaconVolume quite useful So +1 from myself too. Other things that I
miss:
* a volume-meter
 I use GtkVUMeter right now, I would like to see a input/output vu-meters in
 the mixer. this is a good indicator for people to trac down why the don't hear
 their music. is the mixer volume down or is it the amplifiers.
 problem with the GtkVUMeter widget is that it has no license and the guy who
 wrote it does not reply. So we would need a 'new' one.

beast has LGPL licensed scale/meter code
  http://svn.gnome.org/viewcvs/beast/trunk/beast-gtk/bstdbmeter.h?view=markup
  http://svn.gnome.org/viewcvs/beast/trunk/beast-gtk/bstdbmeter.c?view=markup

you can see that in action in this screenshot:

  http://beast.gtk.org/screenshots?image=screenshotdir/stwZ07-audio_mixer.png

* better ruler widgets
 yes, I reead the comments that rules wont be extended.

the gtk rulers have recently been extended to at least support fill-level.

 anyway, I miss there:
 * disabling the arrows that listen to the mouse moves,

you can use scales without arrows in gtk, take a look at the above screenshot.

 * logarithmic scales,

scale transformations can be implemented as adjustments, see for instance
the logarithmic adjustments used in beast:
  http://svn.gnome.org/viewcvs/beast/trunk/beast-gtk/gxk/gxklogadjustment.h?view=markup
http://svn.gnome.org/viewcvs/beast/trunk/beast-gtk/gxk/gxklogadjustment.c?view=markup that code also contains a more generic GxkAdapterAdjustment which allows
arbitrary adjustment value mappings - the beast implementation supports arbitrary
spline curves for the value mapping of it's mixer meters:
  http://svn.gnome.org/viewcvs/beast/trunk/beast-gtk/gxk/splinetest.c?view=markup


 * a unit label
 * numbers/labels on *some* ticks

Stefan


---
ciaoTJ



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]