- add: More controls
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Robust.Client.AutoGenerated;
|
||||
using Robust.Client.UserInterface;
|
||||
using Robust.Client.UserInterface.Controls;
|
||||
using Robust.Client.UserInterface.XAML;
|
||||
|
||||
namespace Content.Client._Amour.HumanoidProfileEditorExt;
|
||||
@@ -10,6 +11,7 @@ public sealed partial class GenitalBoxView : Control
|
||||
public GenitalBoxView()
|
||||
{
|
||||
RobustXamlLoader.Load(this);
|
||||
|
||||
}
|
||||
|
||||
public void AddChild(Control control)
|
||||
@@ -21,5 +23,10 @@ public sealed partial class GenitalBoxView : Control
|
||||
{
|
||||
Container.RemoveAllChildren();
|
||||
}
|
||||
|
||||
public void OnExide(Action<BaseButton.ButtonEventArgs> action)
|
||||
{
|
||||
Exide.OnPressed += action;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user