Example #1
0
 public WidgetImage AddWidgetImage(Texture2D texture, Vector2 position, Vector2 scale)
 {
     image = new WidgetImage(texture, position, scale);
     images.Add(image);
     return(image);
 }
Example #2
0
 public WidgetImage AddWidgetImage()
 {
     image = new WidgetImage();
     images.Add(image);
     return(image);
 }
Example #3
0
 public WidgetImage AddWidgetImage(Texture2D texture)
 {
     image = new WidgetImage(texture);
     images.Add(image);
     return(image);
 }