18 lines
445 B
C#
18 lines
445 B
C#
using Robust.Client.AutoGenerated;
|
|
using Robust.Client.Graphics;
|
|
using Robust.Client.UserInterface.Controls;
|
|
using Robust.Client.UserInterface.XAML;
|
|
|
|
namespace Content.Client._DV.UserInterfaces;
|
|
|
|
[GenerateTypedNameReferences]
|
|
public sealed partial class IconButton : Button
|
|
{
|
|
public Texture? Icon { get => TextureRect.Texture; set => TextureRect.Texture = value; }
|
|
|
|
public IconButton()
|
|
{
|
|
RobustXamlLoader.Load(this);
|
|
}
|
|
}
|