예제 #1
0
        internal void DoResizeWindow(int WindowSizeCf)
        {
            WindowSizeCoef = WindowSizeCf;
            bool isActive = IsActive;

            if (isActive)
            {
                Deactivate();
            }
            InitWindow();
            InitTextures();
            if (isActive)
            {
                Activate();
            }

            WindowSettings.SaveSettings(WindowSizeCoef);
        }