summaryrefslogtreecommitdiff
path: root/grapher/Models/Serialized/SettingsManager.cs
diff options
context:
space:
mode:
authorJacobPalecki <[email protected]>2021-05-19 15:04:45 -0700
committerGitHub <[email protected]>2021-05-19 15:04:45 -0700
commitf88751f8653b4bce9d5e3ed3109da2f2427a6f99 (patch)
treec67a4e59da866c86cdfffb786a76090525637166 /grapher/Models/Serialized/SettingsManager.cs
parentMerge pull request #86 from a1xd/fix-input (diff)
parentremove unused variable, improve legend position (diff)
downloadrawaccel-f88751f8653b4bce9d5e3ed3109da2f2427a6f99.tar.xz
rawaccel-f88751f8653b4bce9d5e3ed3109da2f2427a6f99.zip
Merge pull request #87 from matthewstrasiotto/streamer_mode
Improve use of whitespace on charts, make elements bolder, add "streaming mode" toggle for overlaying charts using Chroma key in OBS
Diffstat (limited to 'grapher/Models/Serialized/SettingsManager.cs')
-rw-r--r--grapher/Models/Serialized/SettingsManager.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/grapher/Models/Serialized/SettingsManager.cs b/grapher/Models/Serialized/SettingsManager.cs
index 40652dd..c867c0a 100644
--- a/grapher/Models/Serialized/SettingsManager.cs
+++ b/grapher/Models/Serialized/SettingsManager.cs
@@ -19,6 +19,7 @@ namespace grapher.Models.Serialized
ToolStripMenuItem autoWrite,
ToolStripMenuItem showLastMouseMove,
ToolStripMenuItem showVelocityAndGain,
+ ToolStripMenuItem streamingMode,
DeviceIDManager deviceIDManager)
{
ActiveAccel = activeAccel;
@@ -27,6 +28,7 @@ namespace grapher.Models.Serialized
AutoWriteMenuItem = autoWrite;
ShowLastMouseMoveMenuItem = showLastMouseMove;
ShowVelocityAndGainMoveMenuItem = showVelocityAndGain;
+ StreamingModeMenuItem = streamingMode;
DeviceIDManager = deviceIDManager;
}
@@ -49,7 +51,7 @@ namespace grapher.Models.Serialized
private ToolStripMenuItem ShowLastMouseMoveMenuItem { get; set; }
private ToolStripMenuItem ShowVelocityAndGainMoveMenuItem { get; set; }
-
+ private ToolStripMenuItem StreamingModeMenuItem{ get; set; }
#endregion Properties
#region Methods
@@ -73,6 +75,7 @@ namespace grapher.Models.Serialized
PollRateField.SetToEntered(RawAccelSettings.GUISettings.PollRate);
ShowLastMouseMoveMenuItem.Checked = RawAccelSettings.GUISettings.ShowLastMouseMove;
ShowVelocityAndGainMoveMenuItem.Checked = RawAccelSettings.GUISettings.ShowVelocityAndGain;
+ StreamingModeMenuItem.Checked = RawAccelSettings.GUISettings.StreamingMode;
AutoWriteMenuItem.Checked = RawAccelSettings.GUISettings.AutoWriteToDriverOnStartup;
}
@@ -103,7 +106,8 @@ namespace grapher.Models.Serialized
PollRate = (int)PollRateField.Data,
ShowLastMouseMove = ShowLastMouseMoveMenuItem.Checked,
ShowVelocityAndGain = ShowVelocityAndGainMoveMenuItem.Checked,
- AutoWriteToDriverOnStartup = AutoWriteMenuItem.Checked
+ AutoWriteToDriverOnStartup = AutoWriteMenuItem.Checked,
+ StreamingMode = StreamingModeMenuItem.Checked
};
}