public Button(string text, Util.Rect rect, Font font, VisualRectangle vsSelected, VisualRectangle vsUnselected) { this.font = font; this.vsSelected = vsSelected; this.vsUnselected = vsUnselected; this.rect = rect; this.text = text; }
public Button(string text, Util.Rect rect) { this.font = GUIManager.mainFont; this.vsSelected = GUIManager.buttonRectSelected; this.vsUnselected = GUIManager.buttonRectUnselected; this.rect = rect; this.text = text; }