public void AddScrollable(GUIElement element) { element.ApplyOffset(offset + innerOffset); scrollContainer.Add(element); element.SetParent(scrollContainer); }
public void Add(GUIElement element) { element.ApplyOffset(offset); contents.Add(element); }