public TextBox(Text text, TextureField backDrop) { _padding = new Rectangle(5, 5, 5, 5); _text = text; _backDrop = backDrop; MakeLines(); Align(); }
//------------------------------------------------------------ //------------------------Constructors------------------------ //------------------------------------------------------------ public MessagesBox(TextureField BackgroundTexture) { Bounds = BackgroundTexture.Bounds; Inputs = new InputContainer(BackgroundTexture.Bounds.Location); Inputs.Add(BackgroundTexture, true); }
public LabelBox(Text text, TextureField backDrop) { Text = text; BackDrop = backDrop; }
public InputBox(Text text, TextureField textureField) : base(text, textureField) { Alignment = Alignment.Left; }