public UILabel( Font font, Vector2 position, float scale = 1.0f ) : base(new Vector2(), position) { myFont = font; myText = new Text( font, scale ); Colour = Color4.Black; CanResize = false; IsEnabled = false; }
public Text( Font font, float scale = 1.0f ) : base(font.Texture, scale) { myText = ""; myFont = font; }
public UILabel( Font font, float scale = 1.0f ) : this(font, new Vector2(), scale) { }