Esempio n. 1
0
 public override void EndScreenDeviceChange(
     string screenDeviceName,
     int clientWidth,
     int clientHeight
     )
 {
     FNAPlatform.ApplyWindowChanges(
         window,
         clientWidth,
         clientHeight,
         wantsFullscreen,
         screenDeviceName,
         ref deviceName
         );
 }
Esempio n. 2
0
        public override void EndScreenDeviceChange(
            string screenDeviceName,
            int clientWidth,
            int clientHeight
            )
        {
            string prevName = deviceName;

            FNAPlatform.ApplyWindowChanges(
                window,
                clientWidth,
                clientHeight,
                wantsFullscreen,
                screenDeviceName,
                ref deviceName
                );
            if (deviceName != prevName)
            {
                OnScreenDeviceNameChanged();
            }
        }