Added description and fixed typo

This commit is contained in:
lukeIam committed 2015-12-06 12:37:47 +01:00
1 parent a4f39e6145
commit c41e922ac6
3 files changed
+5 -3

No files matched your search

+3 -1
View File
@@ -89,7 +89,7 @@ namespace Vocaluxe.Base
[DefaultValue(60f)] public float MaxFPS; [DefaultValue(60f)] public float MaxFPS;
[DefaultValue(EOffOn.TR_CONFIG_ON)] public EOffOn VSync; [DefaultValue(EOffOn.TR_CONFIG_ON)] public EOffOn VSync;
[DefaultValue(EOffOn.TR_CONFIG_ON)] public EOffOn FullScreen; [DefaultValue(EOffOn.TR_CONFIG_ON)] public EOffOn FullScreen;
[DefaultValue(EOffOn.TR_CONFIG_OFF)] public EOffOn Strech; [DefaultValue(EOffOn.TR_CONFIG_OFF)] public EOffOn Stretch;
[DefaultValue(0.4f), XmlRanged(0, 3)] public float FadeTime; [DefaultValue(0.4f), XmlRanged(0, 3)] public float FadeTime;
} }
@@ -469,6 +469,8 @@ namespace Vocaluxe.Base
return "Server Encryption On/Off: " + CHelper.ListStrings(Enum.GetNames(typeof(EOffOn))); return "Server Encryption On/Off: " + CHelper.ListStrings(Enum.GetNames(typeof(EOffOn)));
case "ServerPort": case "ServerPort":
return "Server Port (default: 3000) [1..65535]"; return "Server Port (default: 3000) [1..65535]";
case "Stretch":
return "Stretch view to full window size: " + CHelper.ListStrings(Enum.GetNames(typeof(EOffOn)));
default: default:
return null; return null;
} }
+1 -1
View File
@@ -207,7 +207,7 @@ namespace Vocaluxe.Lib.Draw
_H = _Form.ClientSize.Height; _H = _Form.ClientSize.Height;
_W = _Form.ClientSize.Width; _W = _Form.ClientSize.Width;
if (CConfig.Config.Graphics.Strech != EOffOn.TR_CONFIG_ON) if (CConfig.Config.Graphics.Stretch != EOffOn.TR_CONFIG_ON)
{ {
_AdjustAspect(false); _AdjustAspect(false);
} }
+1 -1
View File
@@ -219,7 +219,7 @@ namespace Vocaluxe.Lib.Draw
_W = _Control.Width; _W = _Control.Width;
_CurrentAlignment = CConfig.Config.Graphics.ScreenAlignment; _CurrentAlignment = CConfig.Config.Graphics.ScreenAlignment;
if (CConfig.Config.Graphics.Strech != EOffOn.TR_CONFIG_ON) if (CConfig.Config.Graphics.Stretch != EOffOn.TR_CONFIG_ON)
{ {
_AdjustAspect(true); _AdjustAspect(true);
} }