mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 19:01:13 +03:00
# Conflicts: # Content.Client/Administration/UI/AdminMenuWindow.xaml.cs # Content.Client/LateJoin/LateJoinGui.cs # Content.Client/Power/PowerMonitoringWindow.xaml.cs # Content.Client/VendingMachines/UI/VendingMachineMenu.xaml.cs # Content.Server/VoiceMask/VoiceMaskSystem.cs # Resources/Prototypes/Entities/Clothing/Head/hardsuit-helmets.yml # Resources/Prototypes/Entities/Objects/Misc/paper.yml # Resources/Prototypes/Roles/Jobs/Security/security_cadet.yml # Resources/Prototypes/Roles/Jobs/Security/security_officer.yml # Resources/Prototypes/secret_weights.yml # Resources/Textures/Clothing/Back/Backpacks/security.rsi/equipped-BACKPACK.png # Resources/Textures/Clothing/Back/Backpacks/security.rsi/meta.json # Resources/Textures/Clothing/OuterClothing/Vests/kevlar.rsi/equipped-OUTERCLOTHING.png # Resources/Textures/Clothing/OuterClothing/Vests/kevlar.rsi/icon.png # Resources/Textures/Clothing/OuterClothing/Vests/kevlar.rsi/inhand-left.png # Resources/Textures/Clothing/OuterClothing/Vests/kevlar.rsi/inhand-right.png # RobustToolbox
35 lines
1.3 KiB
C#
35 lines
1.3 KiB
C#
using System.Numerics;
|
|
using Robust.Client.AutoGenerated;
|
|
using Robust.Client.UserInterface.CustomControls;
|
|
using Robust.Client.UserInterface.XAML;
|
|
|
|
namespace Content.Client.Administration.UI
|
|
{
|
|
[GenerateTypedNameReferences]
|
|
public sealed partial class AdminMenuWindow : DefaultWindow
|
|
{
|
|
public event Action? OnDisposed;
|
|
|
|
public AdminMenuWindow()
|
|
{
|
|
MinSize = new Vector2(600, 250); // Corvax-Resize
|
|
Title = Loc.GetString("admin-menu-title");
|
|
RobustXamlLoader.Load(this);
|
|
MasterTabContainer.SetTabTitle(0, Loc.GetString("admin-menu-admin-tab"));
|
|
MasterTabContainer.SetTabTitle(1, Loc.GetString("admin-menu-adminbus-tab"));
|
|
MasterTabContainer.SetTabTitle(2, Loc.GetString("admin-menu-atmos-tab"));
|
|
MasterTabContainer.SetTabTitle(3, Loc.GetString("admin-menu-round-tab"));
|
|
MasterTabContainer.SetTabTitle(4, Loc.GetString("admin-menu-server-tab"));
|
|
MasterTabContainer.SetTabTitle(5, Loc.GetString("admin-menu-players-tab"));
|
|
MasterTabContainer.SetTabTitle(6, Loc.GetString("admin-menu-objects-tab"));
|
|
}
|
|
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
OnDisposed?.Invoke();
|
|
base.Dispose(disposing);
|
|
OnDisposed = null;
|
|
}
|
|
}
|
|
}
|
|
|