public static void TouchEventHandler( object sender, NwazetGoDisplayTouchScreen.TouchEvent touchEvent) { Debug.Print("------------TouchEventHandler------------"); Debug.Print("X: " + touchEvent.X); Debug.Print("Y: " + touchEvent.Y); Debug.Print("Pressure: " + touchEvent.Pressure); lastTouchX = touchEvent.X; lastTouchY = touchEvent.Y; }
public static void WidgetClickedHandler( NwazetGoImaging.VirtualCanvas canvas, NwazetGoDisplayTouchScreen.Widget widget, NwazetGoDisplayTouchScreen.TouchEvent touchEvent) { }
public static void ColorButtonsClickedHandler( NwazetGoImaging.VirtualCanvas canvas, NwazetGoDisplayTouchScreen.Widget widget, NwazetGoDisplayTouchScreen.TouchEvent touchEvent) { widget.Dirty = true; canvas.DrawFill(((NwazetGoDisplayTouchScreen.ButtonWidget)widget).FillColor); }