[Lumiera] [PATCH] Timeline Zoom Scale Control Widget

Michael Fisher mfisher31 at gmail.com
Fri Oct 7 16:58:46 CEST 2011

On Thu, Oct 6, 2011 at 9:44 PM, Ichthyostega <prg at ichthyostega.de> wrote:

> Hello Michael,
> just reviewed your contribution. Basically all fine -- I've added it to the
> current gui branch (which is quite close to master at the moment).


As you've probably noticed, GUI development is somewhat stalled, since our
> dedicated "master of the GUI", Joel Holdsworth left. Thus, the GUI, as it
> stands now, is in no way finished; rather it's stalled in a state where
> it was just about to be fleshed out in more detail.

Think Joel is ever coming back?  If not, he for sure left behind a very nice
and intelligent gui framework to work with.

> Maybe we should consider to introduce some central entity, which mediates
> any zoom / scroll changes? What do you think?

This idea is what I was thinking yes. Unless I'm wrong, in GTK+ and Gtkmm,
adjustments can be shared by multiple widgets.  Maybe the central entity is
nothing more than a simple adjustment object that gets referenced by the
zoom slider?   If my thinking is correct, then any other widget that
references a 'central' adjustment would get updated "on-the-fly" I guess.
Honestly, I'd have to try it out before really knowing if that would even
work or not.

If so, then we could have something like  TimlineZoomScale(Gtk::Adjustment
&adj) and also create some getters and setters for the adjustment (these
would just call the get_adjustment / set_adjustment methods already provided
by Gtk::Range (or is is Gtk::Slider)

Also, sorry if my C++ terminology is off a bit.  I'm not used to having to
deal with pointers, data typing, etc...

> Cheers,
> Hermann V.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lumiera.org/pipermail/lumiera/attachments/20111007/0ca5b189/attachment.html>

More information about the Lumiera mailing list