/// <summary>Creates a new instance of Label.</summary> /// <param name="toClone">The Label to clone.</param> public Label(Label toClone) : base(toClone) { ForeColor = toClone.ForeColor; font = toClone.Font; text = toClone.Text; textAlign = toClone.TextAlign; textPos = toClone.textPos; autoSize = toClone.autoSize; }
/// <summary>Creates a new instance of Label.</summary> public Label() : base() { textPos = new Vector2(); ForeColor = Desktop.DefLabelForeColor; font = Desktop.DefLabelFont; text = string.Empty; textAlign = Desktop.DefLabelTextAlign; DrawBack = false; Ignore = true; autoSize = Desktop.DefLabelAutoSize; }
/// <summary>Creates a new instance of ButtonText.</summary> public ButtonText() : base() { TextPos = new Vector2(); ForeColor = Desktop.DefButtonTextForeColor; ForeColorHover = Desktop.DefButtonTextForeColorHover; ForeColorPressed = Desktop.DefButtonTextForeColorPressed; ForeColorP = Desktop.DefButtonTextForeColorP; ForeColorHoverP = Desktop.DefButtonTextForeColorHoverP; textAlign = Desktop.DefButtonTextTextAlign; sidePadding = Desktop.DefButtonTextSidePadding; font = Desktop.DefButtonTextFont; text = string.Empty; }
/// <summary>Creates a new instance of ButtonText.</summary> /// <param name="toClone">The ButtonText to clone.</param> public ButtonText(ButtonText toClone) : base(toClone) { TextPos = toClone.TextPos; ForeColor = toClone.ForeColor; ForeColorHover = toClone.ForeColorHover; ForeColorPressed = toClone.ForeColorPressed; ForeColorP = toClone.ForeColorP; ForeColorHoverP = toClone.ForeColorHoverP; font = toClone.Font; text = toClone.Text; textAlign = toClone.TextAlign; sidePadding = toClone.sidePadding; locSizeChgd(); }