public Button(Texture2D Texture, Texture2D HoverTexture) { this.Texture = Texture; this.HoverTexture = HoverTexture; RenderColor = Color.White; _textDisplay = new TextDisplay(""); }
public Button(Vector2 Position, Texture2D Texture, Texture2D HoverTexture) { this.Position = Position; this.Texture = Texture; this.HoverTexture = HoverTexture; RenderColor = Color.White; _textDisplay = new TextDisplay(""); }
public Button(Vector2 Position, Vector2 Size) { this.Position = Position; this.Size = Size; Texture = GameContent.GetTexture(DEF_NORMAL_TEXTURE); HoverTexture = GameContent.GetTexture(DEF_HOVER_TEXTURE); _textDisplay = new TextDisplay(""); }
public Button() { Texture = GameContent.GetTexture(DEF_NORMAL_TEXTURE); HoverTexture = GameContent.GetTexture(DEF_HOVER_TEXTURE); _textDisplay = new TextDisplay(""); }