public JudgementWindowRenameDialog(JudgementWindows windows, JudgementWindowContainer windowContainer) : base(0.75f) { Windows = windows; WindowContainer = windowContainer; CreateContent(); }
private void CreateWindowContainer() { WindowContainer = new JudgementWindowContainer(JudgementWindowsDatabaseCache.Presets) { Parent = CustomizeContainer, Y = SubHeaderBackground.Y + SubHeaderBackground.Height, X = 2 }; // ReSharper disable once ObjectCreationAsStatement new Sprite() { Parent = WindowContainer, Alignment = Alignment.TopRight, Size = new ScalableVector2(1, WindowContainer.Height - 1) }; }