diff options
| author | Matthew Strasiotto <[email protected]> | 2021-04-28 13:33:00 +1000 |
|---|---|---|
| committer | Matthew Strasiotto <[email protected]> | 2021-04-28 13:33:00 +1000 |
| commit | 0512086b0ee586276a3ee7f82bcd705220626463 (patch) | |
| tree | 4b6c97415a636489243e6804b868fcacef7b9201 | |
| parent | refactor chart styling a bit (diff) | |
| download | rawaccel-0512086b0ee586276a3ee7f82bcd705220626463.tar.xz rawaccel-0512086b0ee586276a3ee7f82bcd705220626463.zip | |
update default settings for grapher colours
| -rw-r--r-- | grapher/App.config | 8 | ||||
| -rw-r--r-- | grapher/Properties/Settings.Designer.cs | 26 | ||||
| -rw-r--r-- | grapher/Properties/Settings.settings | 8 |
3 files changed, 21 insertions, 21 deletions
diff --git a/grapher/App.config b/grapher/App.config index 62b54de..8afc72c 100644 --- a/grapher/App.config +++ b/grapher/App.config @@ -10,9 +10,6 @@ </startup> <userSettings> <grapher.Properties.Settings> - <setting name="Chart_BG_Colour" serializeAs="String"> - <value>Window</value> - </setting> <setting name="Chart_Font_Size" serializeAs="String"> <value>15</value> </setting> @@ -22,8 +19,11 @@ <setting name="Chart_Series_Line_Width" serializeAs="String"> <value>3</value> </setting> + <setting name="Chart_BG_Colour" serializeAs="String"> + <value>Green</value> + </setting> <setting name="Chart_FG_Colour" serializeAs="String"> - <value>Desktop</value> + <value>White</value> </setting> </grapher.Properties.Settings> </userSettings> diff --git a/grapher/Properties/Settings.Designer.cs b/grapher/Properties/Settings.Designer.cs index 51f559a..076bd06 100644 --- a/grapher/Properties/Settings.Designer.cs +++ b/grapher/Properties/Settings.Designer.cs @@ -25,18 +25,6 @@ namespace grapher.Properties { [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("Window")] - public global::System.Drawing.Color Chart_BG_Colour { - get { - return ((global::System.Drawing.Color)(this["Chart_BG_Colour"])); - } - set { - this["Chart_BG_Colour"] = value; - } - } - - [global::System.Configuration.UserScopedSettingAttribute()] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Configuration.DefaultSettingValueAttribute("15")] public float Chart_Font_Size { get { @@ -73,7 +61,19 @@ namespace grapher.Properties { [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("Desktop")] + [global::System.Configuration.DefaultSettingValueAttribute("Green")] + public global::System.Drawing.Color Chart_BG_Colour { + get { + return ((global::System.Drawing.Color)(this["Chart_BG_Colour"])); + } + set { + this["Chart_BG_Colour"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("White")] public global::System.Drawing.Color Chart_FG_Colour { get { return ((global::System.Drawing.Color)(this["Chart_FG_Colour"])); diff --git a/grapher/Properties/Settings.settings b/grapher/Properties/Settings.settings index 74b2acf..6fe821b 100644 --- a/grapher/Properties/Settings.settings +++ b/grapher/Properties/Settings.settings @@ -2,9 +2,6 @@ <SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="grapher.Properties" GeneratedClassName="Settings"> <Profiles /> <Settings> - <Setting Name="Chart_BG_Colour" Type="System.Drawing.Color" Scope="User"> - <Value Profile="(Default)">Window</Value> - </Setting> <Setting Name="Chart_Font_Size" Type="System.Single" Scope="User"> <Value Profile="(Default)">15</Value> </Setting> @@ -14,8 +11,11 @@ <Setting Name="Chart_Series_Line_Width" Type="System.Int32" Scope="User"> <Value Profile="(Default)">3</Value> </Setting> + <Setting Name="Chart_BG_Colour" Type="System.Drawing.Color" Scope="User"> + <Value Profile="(Default)">Green</Value> + </Setting> <Setting Name="Chart_FG_Colour" Type="System.Drawing.Color" Scope="User"> - <Value Profile="(Default)">Desktop</Value> + <Value Profile="(Default)">White</Value> </Setting> </Settings> </SettingsFile>
\ No newline at end of file |