Beispiel #1
0
        private Dialog_Config() : base(Lang.Get("Dialog_Config.Title").Bold(), new Vector2(800f, 650f))
        {
            onlyOneOfTypeAllowed    = true;
            absorbInputAroundWindow = false;
            preventCameraMotion     = false;
            doCloseButton           = false;

            if (Lang.HasKey("Language.TranslatedBy"))
            {
                Subtitle = Lang.Get("Language.TranslatedBy").Italic();
            }

            _tabs = Persistent.GetCredits() == null ? new TabManager(TabWidth, TabHeight, new Tab_ConfigDesign(), new Tab_ConfigColors(), new Tab_ConfigContent()) : new TabManager(TabWidth, TabHeight, new Tab_ConfigDesign(), new Tab_ConfigColors(), new Tab_ConfigContent(), new Tab_ConfigCredits());
        }