Exemplo n.º 1
0
        protected void OnWidgetSelected(HomeWidget widget)
        {
            newWidgetLocation       = new NewWidgetLocation(widget);
            newWidgetLocation.color = new TouchColor("grey2", 0.5);
            Put(newWidgetLocation, widget.x, widget.y);
            newWidgetLocation.Visible = false;

            Remove(trashButton);
            Put(trashButton, 755, 435);
            trashButton.Visible = true;
            hoveredOverTrash    = false;
        }
Exemplo n.º 2
0
 public void FreeTiles(NewWidgetLocation newWidgetLocation)
 {
     FreeTiles(newWidgetLocation.placement.ToRowColumnPairs());
 }
Exemplo n.º 3
0
 public void OccupyTiles(NewWidgetLocation newWidgetLocation)
 {
     OccupyTiles(newWidgetLocation.placement.ToRowColumnPairs());
 }