Ejemplo n.º 1
0
        public TextBox(Text text, TextureField backDrop)
        {
            _padding  = new Rectangle(5, 5, 5, 5);
            _text     = text;
            _backDrop = backDrop;


            MakeLines();
            Align();
        }
Ejemplo n.º 2
0
        //------------------------------------------------------------
        //------------------------Constructors------------------------
        //------------------------------------------------------------

        public MessagesBox(TextureField BackgroundTexture)
        {
            Bounds = BackgroundTexture.Bounds;
            Inputs = new InputContainer(BackgroundTexture.Bounds.Location);
            Inputs.Add(BackgroundTexture, true);
        }
Ejemplo n.º 3
0
 public LabelBox(Text text, TextureField backDrop)
 {
     Text     = text;
     BackDrop = backDrop;
 }
Ejemplo n.º 4
0
 public InputBox(Text text, TextureField textureField)
     : base(text, textureField)
 {
     Alignment = Alignment.Left;
 }