2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-07-01 16:33:43 -04:00

add scale and timeout notification settings

This commit is contained in:
Xjph
2021-09-13 10:16:18 -02:30
parent 2e235bc939
commit 840ccad5bf
5 changed files with 103 additions and 12 deletions

View File

@ -214,5 +214,29 @@ namespace Observatory.Properties {
this["MainWindowPosition"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("100")]
public int NativeNotifyScale {
get {
return ((int)(this["NativeNotifyScale"]));
}
set {
this["NativeNotifyScale"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("8000")]
public int NativeNotifyTimeout {
get {
return ((int)(this["NativeNotifyTimeout"]));
}
set {
this["NativeNotifyTimeout"] = value;
}
}
}
}

View File

@ -50,5 +50,11 @@
<Setting Name="MainWindowPosition" Type="System.Drawing.Point" Scope="User">
<Value Profile="(Default)">100, 100</Value>
</Setting>
<Setting Name="NativeNotifyScale" Type="System.Int32" Scope="User">
<Value Profile="(Default)">100</Value>
</Setting>
<Setting Name="NativeNotifyTimeout" Type="System.Int32" Scope="User">
<Value Profile="(Default)">8000</Value>
</Setting>
</Settings>
</SettingsFile>