public ColoredButton(string text, Font font, Brush textColor, ButtonSkin skin, float width, float height) { label = new Label(text, font, textColor); Skin = skin.Clone(); Initialize(width, height); AddChild(label); Resize(); }
public Button(ButtonSkin skin, float width, float height) { Skin = skin.Clone(); Initialize(width, height); }