public void Render() { setPosition(MouseInput.WindowPosition + new CPos(256, 0, 0)); var bottomLeft = position - new CPos(margin, margin, 0); var topRight = position + new CPos(bounds.X + 2 * margin, bounds.Y + 2 * margin, 0); ColorManager.DrawRect(bottomLeft, topRight, new Color(0, 0, 0, 0.8f)); ColorManager.DrawFilledLineRect(bottomLeft, topRight, lineWidth, Color.White); title.Render(); text.Render(); }