* Add and rename files * CargoConsoleOrderMenu to XAML * Cleanup imports * Add and rename files * CargoConsoleMenu to XAML * Improve code * CargoOrderRow/CargoProductRow to seperate files * CargoOrderRow to XAML * CargoProductRow to XAML
24 lines
701 B
C#
24 lines
701 B
C#
using Content.Shared.Cargo;
|
|
using Robust.Client.AutoGenerated;
|
|
using Robust.Client.UserInterface.Controls;
|
|
using Robust.Client.UserInterface.XAML;
|
|
|
|
namespace Content.Client.Cargo.UI
|
|
{
|
|
[GenerateTypedNameReferences]
|
|
public partial class CargoOrderRow : PanelContainer
|
|
{
|
|
public CargoOrderData? Order { get; set; }
|
|
public TextureRect Icon => IconProtected;
|
|
public Label ProductName => ProductNameProtected;
|
|
public Label Description => DescriptionProtected;
|
|
public Button Approve => ApproveProtected;
|
|
public Button Cancel => CancelProtected;
|
|
|
|
public CargoOrderRow()
|
|
{
|
|
RobustXamlLoader.Load(this);
|
|
}
|
|
}
|
|
}
|