CrabUI
Loading...
Searching...
No Matches
ICUIVitalizable.cs
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Reflection;
5using System.Diagnostics;
6using System.Runtime.CompilerServices;
7using System.IO;
8
9using Barotrauma;
10using Microsoft.Xna.Framework;
11using Microsoft.Xna.Framework.Input;
12using Microsoft.Xna.Framework.Graphics;
13
14using System.Xml;
15using System.Xml.Linq;
16
17namespace CrabUI
18{
19 /// <summary>
20 /// Props implementing this will be bound to their host
21 /// with reflection after creation of the host
22 /// </summary>
23 public interface ICUIVitalizable
24 {
25 public void SetHost(CUIComponent host);
26 }
27
28 public interface ICUIProp : ICUIVitalizable
29 {
30 public void SetName(string name);
31 }
32}
Base class for all components.
Props implementing this will be bound to their host with reflection after creation of the host.