CrabUI
Loading...
Searching...
No Matches
Interfaces.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 /// Ignore this, i'm just thinking how to organize props, this is getting out of hand
21 /// </summary>
23 {
24
25 }
26
27 /// <summary>
28 /// Props used in simple layout
29 /// </summary>
30 public interface ISimpleProps
31 {
32 public CUINullRect Relative { get; set; }
33 public CUINullRect RelativeMin { get; set; }
34 public CUINullRect RelativeMax { get; set; }
35 public CUINullRect CrossRelative { get; set; }
36
37 public CUINullRect Absolute { get; set; }
38 public CUINullRect AbsoluteMin { get; set; }
39 public CUINullRect AbsoluteMax { get; set; }
40
41 public CUIBool2 FitContent { get; set; }
42 public CUIBool2 Ghost { get; set; }
43 }
44
45 /// <summary>
46 /// Props used in list layouts
47 /// </summary>
48 public interface IListProps
49 {
50 public CUIBool2 FillEmptySpace { get; set; }
51 }
52
53 /// <summary>
54 /// Props used in serialization
55 /// </summary>
56 public interface ISerializationProps
57 {
58 public bool Serializable { get; set; }
59 public bool SerializeChildren { get; set; }
60 public bool MergeSerialization { get; set; }
61 public bool ReplaceSerialization { get; set; }
62 public static bool ForceSaveAllProps { get; set; }
63 }
64}
Ignore this, i'm just thinking how to organize props, this is getting out of hand.
Definition Interfaces.cs:23
Props used in list layouts.
Definition Interfaces.cs:49
Props used in serialization.
Definition Interfaces.cs:57
Props used in simple layout.
Definition Interfaces.cs:31
Vector2 but with bools.
Definition CUIBool2.cs:17
Rectangle with float?
Definition CUIRect.cs:104