mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 21:48:58 +03:00
* it just works * why hasn't it catastrophically failed yet * not just gotta do the ui oh god the ui * that was easier than expected * a devious misdirection * touchups * svin * loc+fix * touchups * shitfix * touchups x3 * for further use * i hate this piece of shit engine * touchups x4 * ribbit also i'm retarded x2 * big tard energy * bb * rabbitson * ? * forgor * k * whoops * fug
21 lines
517 B
C#
21 lines
517 B
C#
using Content.Client._White.CustomGhosts.UI;
|
|
using Content.Client._White.UserInterface;
|
|
using Robust.Client.UserInterface.Controls;
|
|
|
|
namespace Content.Client._White.UserInterface.Buttons;
|
|
|
|
public sealed class CustomGhostsMenuOpenButton : Button
|
|
{
|
|
WindowTracker<CustomGhostsWindow> _customGhostWindow = new();
|
|
public CustomGhostsMenuOpenButton() : base()
|
|
{
|
|
OnPressed += Pressed;
|
|
}
|
|
|
|
private void Pressed(ButtonEventArgs args)
|
|
{
|
|
_customGhostWindow.TryOpenCenteredLeft();
|
|
}
|
|
}
|
|
|