Exemple #1
0
 private void menuSettingsFPSNTSC_Click(object sender, EventArgs e)
 {
     _isLimit      = true;
     _fpsLimit     = 29.97f;
     _fpsLimitMode = TFPSLimitMode.NTSC;
     _inputSource.setFps(_isLimit, _fpsLimit);
 }
Exemple #2
0
 private void menuSettingsFPSPal_Click(object sender, EventArgs e)
 {
     _isLimit      = true;
     _fpsLimit     = 25;
     _fpsLimitMode = TFPSLimitMode.PAL;
     _inputSource.setFps(_isLimit, _fpsLimit);
 }
Exemple #3
0
 private void menuSettingsFPSIVTCFilm_Click(object sender, EventArgs e)
 {
     _isLimit      = true;
     _fpsLimit     = 23.976f;
     _fpsLimitMode = TFPSLimitMode.IVTCFILM;
     _inputSource.setFps(_isLimit, _fpsLimit);
 }
Exemple #4
0
 private void menuSettingsFPSNoLimit_Click(object sender, EventArgs e)
 {
     _isLimit      = false;
     _fpsLimit     = 0;
     _fpsLimitMode = TFPSLimitMode.NOLIMIT;
     _inputSource.setFps(_isLimit, _fpsLimit);
 }
Exemple #5
0
 private void menuSettingsFPSDefault_Click(object sender, EventArgs e)
 {
     _isLimit      = true;
     _fpsLimit     = -1;
     _fpsLimitMode = TFPSLimitMode.DEFAULT;
     _inputSource.setFps(_isLimit, _fpsLimit);
 }
Exemple #6
0
 private void menuSettingsFPSCustom_Click(object sender, EventArgs e)
 {
     if (_fpsForm.ShowDialog() == DialogResult.OK)
     {
         _isLimit      = true;
         _fpsLimit     = int.Parse(_fpsForm.fpsLimit.Text);
         _fpsLimitMode = TFPSLimitMode.CUSTOM;
         _inputSource.setFps(_isLimit, _fpsLimit);
     }
 }