From: deltanedas <39013340+deltanedas@users.noreply.github.com> Date: Sun, 14 Jan 2024 03:20:35 +0000 (+0000) Subject: better deconversion (#23315) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=a558b112a1c4d71ffcd1b1b266d31ff45bd76460;p=space-station-14.git better deconversion (#23315) * add deconverted window * show deconverted window when deconverting + remove the role * webedit ops * antagonist -> revolutionary * evil * oh * eui ops --------- Co-authored-by: deltanedas <@deltanedas:kde.org> --- diff --git a/Content.Client/Revolutionary/UI/DeconvertedEui.cs b/Content.Client/Revolutionary/UI/DeconvertedEui.cs new file mode 100644 index 0000000000..33495f8a97 --- /dev/null +++ b/Content.Client/Revolutionary/UI/DeconvertedEui.cs @@ -0,0 +1,25 @@ +using Content.Client.Eui; + +namespace Content.Client.Revolutionary.UI; + +public sealed class DeconvertedEui : BaseEui +{ + private readonly DeconvertedMenu _menu; + + public DeconvertedEui() + { + _menu = new DeconvertedMenu(); + } + + public override void Opened() + { + _menu.OpenCentered(); + } + + public override void Closed() + { + base.Closed(); + + _menu.Close(); + } +} diff --git a/Content.Client/Revolutionary/UI/DeconvertedMenu.xaml b/Content.Client/Revolutionary/UI/DeconvertedMenu.xaml new file mode 100644 index 0000000000..14b31c1950 --- /dev/null +++ b/Content.Client/Revolutionary/UI/DeconvertedMenu.xaml @@ -0,0 +1,10 @@ + + +