Exemple #1
0
        public GuiTextBox AddTextBox(Vector2 position, float width, int maxChars)
        {
            GuiTextBox gtb = new GuiTextBox(position, width, maxChars);

            components.Add(gtb);

            return(gtb);
        }
Exemple #2
0
 public void Deselect(GuiTextBox other)
 {
     if (this != other)
     {
         selected            = false;
         selectingBox        = false;
         draggedFromPosition = markerPos;
         draggedFrom         = cursorPosition;
     }
 }