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