CrabUI
Loading...
Searching...
No Matches
Weak stuff.cs
1using System;
2using System.Reflection;
3using System.Runtime.CompilerServices;
4using System.Collections.Generic;
5using System.Collections.Immutable;
6using System.Linq;
7
8using Barotrauma;
9using HarmonyLib;
10using Microsoft.Xna.Framework;
11using Microsoft.Xna.Framework.Graphics;
12
13using CrabUI;
14
15namespace CrabUITest
16{
17 public partial class RandomTest : FillMethods
18 {
19 // public static void WeakStuff(CUIComponent Main)
20 // {
21 // CUIFrame frame = new CUIFrame(0.6f, 0.2f, 0.2f, 0.6f);
22
23
24 // foreach (Type key in CUIComponent.ComponentsByType.Keys)
25 // {
26 // CUI.Info($"{key}:");
27
28 // foreach (CUIComponent c in CUIComponent.ComponentsByType.GetPage(key))
29 // {
30 // CUI.Info($" {c}");
31 // }
32 // }
33
34 // Main.Append(frame);
35 // }
36
37
38
39
40
41 }
42}
This class contains filling methods An Action<CUIComponent> that creates some GUI and attaches it t...