Files
RobustToolbox/SS14.Client/UserInterface/Controls/PanelContainer.cs
Pieter-Jan Briers dbc88e253b Allow client to run headlessly. (#727)
AKA Without Godot.

Still links against GodotSharp, but this does mean that you can run headless or not from the same binary.
2019-01-19 18:23:41 +01:00

34 lines
798 B
C#

using SS14.Client.Graphics.Drawing;
namespace SS14.Client.UserInterface.Controls
{
[ControlWrap(typeof(Godot.PanelContainer))]
public class PanelContainer : Control
{
public PanelContainer()
{
}
public PanelContainer(string name) : base(name)
{
}
internal PanelContainer(Godot.PanelContainer container) : base(container)
{
}
private protected override Godot.Control SpawnSceneControl()
{
return new Godot.PanelContainer();
}
private StyleBox _panelOverride;
public StyleBox PanelOverride
{
get => _panelOverride ?? GetStyleBoxOverride("panel");
set => SetStyleBoxOverride("panel", _panelOverride = value);
}
}
}