Made touchscreen a machine setting rather than a user setting
This commit is contained in:
parent
9e80776dfe
commit
27860fc9ea
7 changed files with 57 additions and 38 deletions
|
|
@ -1,22 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Numerics;
|
||||
using System.Reflection;
|
||||
using MatterHackers.Agg;
|
||||
using MatterHackers.Agg.UI;
|
||||
using MatterHackers.MatterControl.DataStorage;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace MatterHackers.MatterControl
|
||||
{
|
||||
public static class UserSettingsKey
|
||||
public static class UserSettingsKey
|
||||
{
|
||||
public const string ActiveThemeName = nameof(ActiveThemeName);
|
||||
public const string AfterPrintFinishedPlaySound = nameof(AfterPrintFinishedPlaySound);
|
||||
public const string AfterPrintFinishedSendEmail = nameof(AfterPrintFinishedSendEmail);
|
||||
public const string AfterPrintFinishedSendTextMessage = nameof(AfterPrintFinishedSendTextMessage);
|
||||
public const string ApplicationDisplayMode = nameof(ApplicationDisplayMode);
|
||||
public const string ApplicationUseHeigResDisplays = nameof(ApplicationUseHeigResDisplays);
|
||||
public const string ApplicationUseSocketeer = nameof(ApplicationUseSocketeer);
|
||||
public const string ApplicationTextSize = nameof(ApplicationTextSize);
|
||||
|
|
@ -239,14 +234,6 @@ namespace MatterHackers.MatterControl
|
|||
}
|
||||
}
|
||||
|
||||
public bool IsTouchScreen
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.get(UserSettingsKey.ApplicationDisplayMode) == "touchscreen";
|
||||
}
|
||||
}
|
||||
|
||||
public string ThumbnailRenderingMode
|
||||
{
|
||||
get
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue