aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs')
-rw-r--r--Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs
index db154f464..92c527134 100644
--- a/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs
+++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs
@@ -18,10 +18,12 @@ using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Tango.Core.DI;
+using Tango.PPC.Common;
using Tango.PPC.Common.Application;
using Tango.PPC.Common.Build;
using Tango.PPC.UI.Build;
using Tango.PPC.UI.Helpers;
+using Tango.Settings;
using Tango.Touch.Helpers;
namespace Tango.PPC.UI
@@ -61,7 +63,9 @@ namespace Tango.PPC.UI
private void InitEureka()
{
- Title = "Eureka";
+ Title = "Twine X4";
+
+ var settings = SettingsManager.Default.GetOrCreate<PPCSettings>();
Viewbox viewBox = new Viewbox();
viewBox.Stretch = Stretch.Uniform;
@@ -72,7 +76,7 @@ namespace Tango.PPC.UI
var touch_screen = screens.Last();
- bool hasTouch = TouchHelper.IsTouchEnabled();
+ bool hasTouch = TouchHelper.IsTouchEnabled() || settings.ForceTouchMode;
if (!hasTouch)
{