예제 #1
0
 public static void ColorButtonsClickedHandler(
     NwazetGoImaging.VirtualCanvas canvas,
     NwazetGoDisplayTouchScreen.Widget widget,
     NwazetGoDisplayTouchScreen.TouchEvent touchEvent)
 {
     widget.Dirty = true;
     canvas.DrawFill(((NwazetGoDisplayTouchScreen.ButtonWidget)widget).FillColor);
 }
예제 #2
0
 public static void ColorButtonsClickedHandler(VirtualCanvas canvas, Widget widget, TouchEvent touchEvent) {
     widget.Dirty = true;
     canvas.DrawFill(((ButtonWidget)widget).FillColor);
 }
예제 #3
0
 public static void WidgetClickedHandler(VirtualCanvas canvas, Widget widget, TouchEvent touchEvent) {
 }
예제 #4
0
 protected void OnWidgetClicked(Widget widget, TouchEvent touchEvent)
 {
     if (WidgetClicked != null) {
         WidgetClicked(this, widget, touchEvent);
     }
 }
예제 #5
0
 public void UnRegisterWidget(Widget widget)
 {
     if (!RegisteredWidgets.Contains(widget)) return;
     RegisteredWidgets.Remove(widget);
 }
예제 #6
0
 public void RegisterWidget(Widget widget)
 {
     if (RegisteredWidgets.Contains(widget)) return;
     RegisteredWidgets.Add(widget);
 }
예제 #7
0
 public static void WidgetClickedHandler(
     NwazetGoImaging.VirtualCanvas canvas,
     NwazetGoDisplayTouchScreen.Widget widget,
     NwazetGoDisplayTouchScreen.TouchEvent touchEvent)
 {
 }