forked from IlliumIv/HeistIcons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HeistIconsSettings.cs
52 lines (40 loc) · 1.67 KB
/
HeistIconsSettings.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
using ExileCore.Shared.Attributes;
using ExileCore.Shared.Interfaces;
using ExileCore.Shared.Nodes;
using SharpDX;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HeistIcons
{
public class HeistIconsSettings : ISettings
{
public HeistIconsSettings ()
{
Enable = new ToggleNode(false);
}
[Menu("Map Icon Size")]
public RangeNode<int> MapIconSize { get; set; } = new RangeNode<int>(32, 10, 100);
[Menu("Draw icon to world")]
public ToggleNode WorldIcon { get; set; } = new ToggleNode(true);
[Menu("World Icon Size")]
public RangeNode<int> WorldIconSize { get; set; } = new RangeNode<int>(110, 10, 220);
[Menu("Text")]
public ToggleNode TextEnable { get; set; } = new ToggleNode(false);
[Menu("Use Default Text")]
public ToggleNode UseDefaultText { get; set; } = new ToggleNode(true);
[Menu("Text Background Width Multiplier")]
public RangeNode<float> BackgroundWidth { get; set; } = new RangeNode<float>(1.2f, 0, 2);
[Menu("Text Background Height Multiplier")]
public RangeNode<float> BackgroundHeight { get; set; } = new RangeNode<float>(1.4f, 0, 2);
[Menu("Text Color")]
public ColorNode TextColor { get; set; } = new ColorNode(Color.Black);
[Menu("Text Background Color")]
public ColorNode TextBackgroundColor { get; set; } = new ColorNode(Color.White);
[Menu("Text Border Color")]
public ColorNode TextBorderColor { get; set; } = new ColorNode(Color.Black);
public ToggleNode Enable { get; set; }
}
}