mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-20 23:17:43 +03:00
# 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>
19 lines
509 B
C#
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);
|
|
}
|
|
}
|
|
}
|