-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFancyBackgroundFactory.cs
More file actions
34 lines (28 loc) · 1.04 KB
/
Copy pathFancyBackgroundFactory.cs
File metadata and controls
34 lines (28 loc) · 1.04 KB
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
using System;
using System.Reflection;
using LiveSplit.Model;
using LiveSplit.UI.Components;
[assembly: ComponentFactory(typeof(FancyBackgroundFactory))]
namespace LiveSplit.UI.Components
{
public class FancyBackgroundFactory : IComponentFactory
{
public string ComponentName { get { return "Fancy Background"; } }
public string Description
{
get
{
return "Draws a layout-wide background with outlines, rounded corners, and outward padding.";
}
}
public ComponentCategory Category { get { return ComponentCategory.Media; } }
public IComponent Create(LiveSplitState state)
{
return new FancyBackgroundComponent(state);
}
public string UpdateName { get { return ComponentName; } }
public string UpdateURL { get { return string.Empty; } }
public string XMLURL { get { return string.Empty; } }
public Version Version { get { return Assembly.GetExecutingAssembly().GetName().Version; } }
}
}