mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 05:35:34 +08:00
(FixedSetSetting): another application setting class.
This commit is contained in:
parent
0009e3fa15
commit
3dabada74e
@ -23,6 +23,7 @@
|
||||
// IN THE SOFTWARE.
|
||||
//
|
||||
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
|
||||
@ -109,6 +110,9 @@ namespace GameRes
|
||||
public LocalResourceSetting () : base (GameRes.Properties.Settings.Default) { }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application setting represented by integer range.
|
||||
/// </summary>
|
||||
public class FixedGaugeSetting : ApplicationSetting
|
||||
{
|
||||
public int Min { get; set; }
|
||||
@ -119,4 +123,16 @@ namespace GameRes
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application setting that has limited set of possible values.
|
||||
/// </summary>
|
||||
public class FixedSetSetting : ApplicationSetting
|
||||
{
|
||||
public IEnumerable ValuesSet { get; set; }
|
||||
|
||||
public FixedSetSetting (ApplicationSettingsBase settings) : base (settings)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user