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