Files
wwdpublic/Content.Client/UserInterface/Systems/Ghost/Controls/Roles/GhostRoleInfoBox.xaml.cs
astriloqua f133ae7740 QoL for Ghost Role UI (#2284)
# Description

Ports over collapsible ghost role user interface, alongside making the
ghost roles button red only when count increases from last view.
Video under media.

---

<details><summary><h1>Media</h1></summary>
<p>


https://github.com/user-attachments/assets/c23ca06d-a4ef-413d-be3a-6980b456e5f3

</p>
</details>

---

# Changelog

🆑
- tweak: Ported over ghost role UI QoL

---------

Co-authored-by: MilenVolf <63782763+MilenVolf@users.noreply.github.com>
Co-authored-by: Intoxicating-Innocence <188202277+Intoxicating-Innocence@users.noreply.github.com>
Co-authored-by: Dakota <72140289+1337Dakota@users.noreply.github.com>
Co-authored-by: Timfa <timfalken@hotmail.com>
2025-07-20 13:10:18 +10:00

19 lines
509 B
C#

using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML;
namespace Content.Client.UserInterface.Systems.Ghost.Controls.Roles
{
[GenerateTypedNameReferences]
public sealed partial class GhostRoleInfoBox : BoxContainer
{
public GhostRoleInfoBox(string name, string description)
{
RobustXamlLoader.Load(this);
Title.Text = name;
Description.SetMessage(description);
}
}
}