PA ui cleanup + bugfixes (#28750)

* ui and visual aspect + radio

* finish jank ui shit and finish radio

* remove radio

* send it

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Nemanja
2024-07-21 01:27:18 -04:00
committed by GitHub
parent edb05e36bb
commit 0b5fe2a9ac
15 changed files with 462 additions and 566 deletions

View File

@@ -1,5 +1,4 @@
using Content.Shared.Singularity.Components;
using Robust.Client.GameObjects;
using Robust.Client.UserInterface;
namespace Content.Client.ParticleAccelerator.UI
@@ -18,9 +17,11 @@ namespace Content.Client.ParticleAccelerator.UI
base.Open();
_menu = this.CreateWindow<ParticleAcceleratorControlMenu>();
_menu.SetEntity(Owner);
_menu.OnOverallState += SendEnableMessage;
_menu.OnPowerState += SendPowerStateMessage;
_menu.OnScanPartsRequested += SendScanPartsMessage;
_menu.OnScan += SendScanPartsMessage;
}
public void SendEnableMessage(bool enable)