-
Notifications
You must be signed in to change notification settings - Fork 0
/
xLayout.cs
43 lines (34 loc) · 942 Bytes
/
xLayout.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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XMLhelper;
namespace wLights
{
public class xLayout : xMember
// Not sure what these are, or LayoutGroups, my rgb_effects file doesn't have any
{
public xLayout(string xmlData, xMember parent)
{
myXMLdata = xmlData;
myName = XMLhelp.getKeyWord(xmlData, "name");
myParent = parent;
}
public override xMemberType MemberType
{ get { return xMemberType.Layout; } }
}
public class xLayoutGroup : xMember
// Not sure what these are, or Layouts, my rgb_effects file doesn't have any
{
public List<xLayout> Layouts = new List<xLayout>();
public xLayoutGroup(string xmlData, xMember parent)
{
myXMLdata = xmlData;
myName = XMLhelp.getKeyWord(xmlData, "name");
myParent = parent;
}
public override xMemberType MemberType
{ get { return xMemberType.LayoutGroup; } }
}
}