public BackgroundConfigWindow(BackgroundCreationConfig config)
        {
            Title = "Config";
            BackgroundColor = Color.White;
            Opacity = 255;
            borderPadding = new Vector2(15, 15);
            this.config = config;

            var btnChangeTitle = new Button("Title");
            btnChangeTitle.Clicked += btnChangeTitle_Clicked;

            Components = new List<UIComponent>();

            Components.Add(btnChangeTitle);

            var stacked = 0;

            foreach (var item in Components)
            {
                if (item is Button)
                {
                    var btn = item as Button;

                    btn.Position = new Vector2(stacked + btn.Width + 15, 15);
                    stacked += btn.Width + 15;
                }
            }
        }
 public BackgroundCreation()
 {
     CurrentStep = 1;
     StepTitleFont = Fonts.Verdana18;
     StepOptionFont = Fonts.Verdana18;
     Steps = new List<BackgroundCreationStep>();
     config = BackgroundCreationConfig.Load();
     configWindow = new BackgroundConfigWindow(config);
 }
 public void LoadSceneConfig()
 {
     config = BackgroundCreationConfig.Load();
 }