public GuiTextBox AddTextBox(Vector2 position, float width, int maxChars) { GuiTextBox gtb = new GuiTextBox(position, width, maxChars); components.Add(gtb); return(gtb); }
public void Deselect(GuiTextBox other) { if (this != other) { selected = false; selectingBox = false; draggedFromPosition = markerPos; draggedFrom = cursorPosition; } }