New Gestures Feature

Apr 28, 2014 at 5:37 PM
Just updated our system to the latest version, and the new gesture framework is great! Much better than the hack I was using before :)

Now that this is in place, it was trivially easy to let the user toggle between different manipulation modes without needing the keyboard.

Also set up something like the commonly-used DelegateCommand, to bind a delegate instead of a standard plot command:
Controller.BindKeyDown(OxyKey.Left, new OxyDelegateCommand<OxyKeyEventArgs>(a=>MoveTrackedItem(-1)));
Controller.BindKeyDown(OxyKey.Right, new OxyDelegateCommand<OxyKeyEventArgs>(a => MoveTrackedItem(+1)));
(Keeps the tracker visible, and moves it to the previous/next point in the current series)

No bug report here... Just paying my compliments to objo and Garreye. Looking great, guys.
Apr 29, 2014 at 8:07 AM
Thanks for the feedback, it is great to hear that this refactorization was helpful!