public UIButtonDynamic(int x, int y, int width, int height, UIButtonDelegate onClick, UIDynamicSprite sprite, SpriteFont font, string label) : base(x, y, width, height, onClick) { Sprite = sprite; TextFont = font; TextColor = Color.Black; Label = label; CurrentColor = DarkerColor; }
public UIButtonSimple(int x, int y, int width, int height, UIButtonDelegate onClick, BasicSprite sprite) : base(x, y, width, height, onClick) { Sprite = sprite; }
public UIButton(int x, int y, int width, int height, UIButtonDelegate onClick) : base(x, y, width, height) { OnClick += onClick; }