public Button(RadioGroup group, LayoutSpec spec = null) : base(spec) { group.Add(this); _group = group; Color = Vector4.One; this.IsToggle = true; }
public View (LayoutSpec spec) { _spec = spec ?? LayoutSpec.Empty; _children = new List<View>(); this.Transform = Matrix4.Identity; this.Children = _children.AsReadOnly(); this.ZDepth = 0.1f; }
public View(LayoutSpec spec) { _spec = spec ?? LayoutSpec.Empty; _children = new List <View>(); this.Transform = Matrix4.Identity; this.Children = _children.AsReadOnly(); this.ZDepth = 0.1f; }
public Label(string text, BitmapFont font, LayoutSpec spec = null) : base(spec) { _text = new TextBlock(font, 0f, text); this.VerticalAlignment = VerticalAlignment.Middle; }
public Button(LayoutSpec spec = null) : base(spec) { Color = Vector4.One; }
public CanvasView(LayoutSpec spec) : base(spec) { }
public Button (RadioGroup group, LayoutSpec spec = null) : base(spec) { group.Add (this); _group = group; Color = Vector4.One; }
public Button (LayoutSpec spec = null) : base(spec) { Color = Vector4.One; }
public ImageView (Sprite sprite, LayoutSpec spec = null) : base(spec) { this.Sprite = sprite; this.Color = Vector4.One; }
public ImageView(Sprite sprite, LayoutSpec spec = null, bool fill = true) : base(spec) { this.Sprite = sprite; this.Color = Vector4.One; this.Fill = fill; }
public Label (string text, BitmapFont font, LayoutSpec spec = null) : base(spec) { _text = new TextBlock (font, 0f, text); this.VerticalAlignment = VerticalAlignment.Middle; }