'zoom' acts like such but doesn't give any information on what are you really 
setting. Is it a factor? Naming it timeSpan or something similar would give 
the idea that the number you send is the visualized time range.

About 'center' is a bool so 'centered' is more suited for the property 
and 'beCentered' and 'isCentered' for the accessors.

Nice idea the triangle. I will test it the sooner i can.

David.


El Monday 11 August 2008 17:38:27 Pawel Bartkiewicz va escriure:
> Hi,
>
> I have added two new properties to SegmentationView: "centre" and
> "zoom". The first one controls whether the widget should centre the
> view on current frame (obtained with
> SegmentationDataSource::currentTime()), the second one sets the amount
> of time in seconds which should be visible. By default "centre" is set
> to false and "zoom" is set to 20, so SegmentationView default
> behaviour hasn't changed. However, after calling
> SegmentationView::setCentre(true) the widget displays segmentation in
> a way better suited for using in Turnaround. Additionally, there's a
> small triangle marker in the centre of the widget when in the second
> mode.
>
> I haven't tested it in NetworkEditor because I can't compile newest
> NE, so if anyone can test it for me it'd be great.
>
> Thanks,
> Pawel



_______________________________________________
Clam-devel mailing list
[email protected]
https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel

Reply via email to