예제 #1
0
        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;
        }
예제 #2
0
 public static void WidgetClickedHandler(
     NwazetGoImaging.VirtualCanvas canvas, 
     NwazetGoDisplayTouchScreen.Widget widget, 
     NwazetGoDisplayTouchScreen.TouchEvent touchEvent)
 {
 }
예제 #3
0
 public static void ColorButtonsClickedHandler(
     NwazetGoImaging.VirtualCanvas canvas,
     NwazetGoDisplayTouchScreen.Widget widget,
     NwazetGoDisplayTouchScreen.TouchEvent touchEvent)
 {
     widget.Dirty = true;
     canvas.DrawFill(((NwazetGoDisplayTouchScreen.ButtonWidget)widget).FillColor);
 }