]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Remove some BUI boilerplate (#28399)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Sat, 20 Jul 2024 05:40:16 +0000 (15:40 +1000)
committerGitHub <noreply@github.com>
Sat, 20 Jul 2024 05:40:16 +0000 (15:40 +1000)
commitcbf329a82d77eed2bb5e51666dab5d8a21fd3fff
tree24633ec2845986851e1d269c383ef46d4d87d3fa
parent4aba9ec131a0fc716f985cff6476b6755df49e8c
Remove some BUI boilerplate (#28399)

* Remove some BUI boilerplate

- The disposals overrides got removed due to the helper method handling it.
- Replace window creation with CreateWindow helper.
- Fixed some stinky code which would cause exceptions.

* More

* moar

* weh

* done

* More BUIs

* More updates

* weh

* moar

* look who it is

* weh

* merge

* weh

* fixes
137 files changed:
Content.Client/Access/UI/AccessOverriderBoundUserInterface.cs
Content.Client/Access/UI/AccessOverriderWindow.xaml.cs
Content.Client/Access/UI/AgentIDCardBoundUserInterface.cs
Content.Client/Access/UI/AgentIDCardWindow.xaml.cs
Content.Client/Ame/UI/AmeControllerBoundUserInterface.cs
Content.Client/Ame/UI/AmeWindow.xaml.cs
Content.Client/Anomaly/Ui/AnomalyGeneratorBoundUserInterface.cs
Content.Client/Anomaly/Ui/AnomalyGeneratorWindow.xaml.cs
Content.Client/Arcade/BlockGameMenu.cs
Content.Client/Arcade/SpaceVillainArcadeMenu.cs
Content.Client/Arcade/UI/BlockGameBoundUserInterface.cs
Content.Client/Arcade/UI/SpaceVillainArcadeBoundUserInterface.cs
Content.Client/Atmos/Monitor/UI/AirAlarmBoundUserInterface.cs
Content.Client/Atmos/Monitor/UI/AirAlarmWindow.xaml.cs
Content.Client/Atmos/UI/GasCanisterBoundUserInterface.cs
Content.Client/Atmos/UI/GasFilterBoundUserInterface.cs
Content.Client/Atmos/UI/GasFilterWindow.xaml.cs
Content.Client/Atmos/UI/GasMixerBoundUserInteface.cs
Content.Client/Atmos/UI/GasPressurePumpBoundUserInterface.cs
Content.Client/Atmos/UI/GasThermomachineBoundUserInterface.cs
Content.Client/Atmos/UI/GasVolumePumpBoundUserInterface.cs
Content.Client/Atmos/UI/SpaceHeaterBoundUserInterface.cs
Content.Client/Audio/Jukebox/JukeboxBoundUserInterface.cs
Content.Client/Bed/Cryostorage/CryostorageBoundUserInterface.cs
Content.Client/Cargo/BUI/CargoBountyConsoleBoundUserInterface.cs
Content.Client/Cargo/BUI/CargoPalletConsoleBoundUserInterface.cs
Content.Client/Cargo/BUI/CargoShuttleConsoleBoundUserInterface.cs
Content.Client/Cargo/UI/CargoShuttleMenu.xaml.cs
Content.Client/Chemistry/UI/ChemMasterBoundUserInterface.cs
Content.Client/Chemistry/UI/ReagentDispenserBoundUserInterface.cs
Content.Client/Chemistry/UI/TransferAmountBoundUserInterface.cs
Content.Client/CloningConsole/UI/CloningConsoleBoundUserInterface.cs
Content.Client/Clothing/UI/ChameleonBoundUserInterface.cs
Content.Client/Communications/UI/CommunicationsConsoleBoundUserInterface.cs
Content.Client/Communications/UI/CommunicationsConsoleMenu.xaml.cs
Content.Client/Computer/ComputerBoundUserInterface.cs
Content.Client/Configurable/UI/ConfigurationBoundUserInterface.cs
Content.Client/Configurable/UI/ConfigurationMenu.cs
Content.Client/Construction/UI/FlatpackCreatorBoundUserInterface.cs
Content.Client/Construction/UI/FlatpackCreatorMenu.xaml.cs
Content.Client/Crayon/UI/CrayonBoundUserInterface.cs
Content.Client/Crayon/UI/CrayonWindow.xaml.cs
Content.Client/Disposal/UI/DisposalRouterBoundUserInterface.cs
Content.Client/Disposal/UI/DisposalTaggerBoundUserInterface.cs
Content.Client/Doors/Electronics/DoorElectronicsBoundUserInterface.cs
Content.Client/Doors/Electronics/DoorElectronicsConfigurationMenu.xaml.cs
Content.Client/Fax/UI/FaxBoundUi.cs
Content.Client/Forensics/ForensicScannerBoundUserInterface.cs
Content.Client/Gateway/UI/GatewayBoundUserInterface.cs
Content.Client/Gateway/UI/GatewayWindow.xaml.cs
Content.Client/Gravity/UI/GravityGeneratorBoundUserInterface.cs
Content.Client/Gravity/UI/GravityGeneratorWindow.xaml.cs
Content.Client/HealthAnalyzer/UI/HealthAnalyzerBoundUserInterface.cs
Content.Client/Humanoid/HumanoidMarkingModifierBoundUserInterface.cs
Content.Client/Instruments/UI/BandMenu.xaml.cs
Content.Client/Instruments/UI/ChannelsMenu.xaml.cs
Content.Client/Instruments/UI/InstrumentBoundUserInterface.cs
Content.Client/Instruments/UI/InstrumentMenu.xaml.cs
Content.Client/Inventory/StrippableBoundUserInterface.cs
Content.Client/Kitchen/UI/GrinderMenu.xaml.cs
Content.Client/Kitchen/UI/MicrowaveBoundUserInterface.cs
Content.Client/Kitchen/UI/MicrowaveMenu.xaml.cs
Content.Client/Kitchen/UI/ReagentGrinderBoundUserInterface.cs
Content.Client/Labels/UI/HandLabelerBoundUserInterface.cs
Content.Client/Lathe/UI/LatheBoundUserInterface.cs
Content.Client/Lathe/UI/LatheMenu.xaml.cs
Content.Client/MachineLinking/UI/SignalTimerBoundUserInterface.cs
Content.Client/MachineLinking/UI/SignalTimerWindow.xaml.cs
Content.Client/MagicMirror/MagicMirrorBoundUserInterface.cs
Content.Client/MassMedia/Ui/NewsWriterBoundUserInterface.cs
Content.Client/MassMedia/Ui/NewsWriterMenu.xaml.cs
Content.Client/Mech/Ui/MechBoundUserInterface.cs
Content.Client/Mech/Ui/MechMenu.xaml.cs
Content.Client/Medical/CrewMonitoring/CrewMonitoringBoundUserInterface.cs
Content.Client/Medical/CrewMonitoring/CrewMonitoringWindow.xaml.cs
Content.Client/NetworkConfigurator/NetworkConfiguratorBoundUserInterface.cs
Content.Client/NetworkConfigurator/NetworkConfiguratorConfigurationMenu.xaml.cs
Content.Client/NetworkConfigurator/NetworkConfiguratorDeviceList.xaml.cs
Content.Client/NetworkConfigurator/NetworkConfiguratorLinkMenu.xaml.cs
Content.Client/NetworkConfigurator/NetworkConfiguratorListMenu.xaml.cs
Content.Client/Nuke/NukeBoundUserInterface.cs
Content.Client/NukeOps/WarDeclaratorBoundUserInterface.cs
Content.Client/NukeOps/WarDeclaratorWindow.xaml.cs
Content.Client/PDA/PdaBoundUserInterface.cs
Content.Client/PDA/Ringer/RingerBoundUserInterface.cs
Content.Client/Paper/UI/PaperBoundUserInterface.cs
Content.Client/Paper/UI/PaperWindow.xaml.cs
Content.Client/ParticleAccelerator/UI/ParticleAcceleratorBoundUserInterface.cs
Content.Client/ParticleAccelerator/UI/ParticleAcceleratorControlMenu.cs
Content.Client/Pinpointer/UI/NavMapBeaconBoundUserInterface.cs
Content.Client/Pinpointer/UI/NavMapBeaconWindow.xaml.cs
Content.Client/Pinpointer/UI/StationMapBoundUserInterface.cs
Content.Client/Pinpointer/UI/StationMapWindow.xaml.cs
Content.Client/Pinpointer/UI/UntrackedMapBoundUserInterface.cs
Content.Client/Power/APC/ApcBoundUserInterface.cs
Content.Client/Power/APC/UI/ApcMenu.xaml.cs
Content.Client/Power/Generator/GeneratorWindow.xaml.cs
Content.Client/Power/Generator/PortableGeneratorBoundUserInterface.cs
Content.Client/Power/PowerMonitoringConsoleBoundUserInterface.cs
Content.Client/Power/PowerMonitoringWindow.xaml.Widgets.cs
Content.Client/Power/PowerMonitoringWindow.xaml.cs
Content.Client/RCD/RCDMenu.xaml.cs
Content.Client/RCD/RCDMenuBoundUserInterface.cs
Content.Client/Radio/Ui/IntercomBoundUserInterface.cs
Content.Client/Radio/Ui/IntercomMenu.xaml.cs
Content.Client/Research/UI/DiskConsoleBoundUserInterface.cs
Content.Client/Research/UI/ResearchClientBoundUserInterface.cs
Content.Client/Research/UI/ResearchClientServerSelectionMenu.xaml.cs
Content.Client/Research/UI/ResearchConsoleBoundUserInterface.cs
Content.Client/Research/UI/ResearchConsoleMenu.xaml.cs
Content.Client/Robotics/UI/RoboticsConsoleBoundUserInterface.cs
Content.Client/Robotics/UI/RoboticsConsoleWindow.xaml.cs
Content.Client/Salvage/UI/SalvageExpeditionConsoleBoundUserInterface.cs
Content.Client/Salvage/UI/SalvageMagnetBoundUserInterface.cs
Content.Client/Shuttles/BUI/IFFConsoleBoundUserInterface.cs
Content.Client/Shuttles/BUI/RadarConsoleBoundUserInterface.cs
Content.Client/Shuttles/BUI/ShuttleConsoleBoundUserInterface.cs
Content.Client/Silicons/Borgs/BorgBoundUserInterface.cs
Content.Client/Silicons/Borgs/BorgMenu.xaml
Content.Client/Silicons/Borgs/BorgMenu.xaml.cs
Content.Client/Silicons/Laws/Ui/SiliconLawBoundUserInterface.cs
Content.Client/SprayPainter/UI/SprayPainterBoundUserInterface.cs
Content.Client/StationRecords/GeneralStationRecordConsoleBoundUserInterface.cs
Content.Client/Store/Ui/StoreBoundUserInterface.cs
Content.Client/Strip/StrippingMenu.cs
Content.Client/SurveillanceCamera/UI/SurveillanceCameraMonitorBoundUi.cs
Content.Client/Thief/ThiefBackpackBoundUserInterface.cs
Content.Client/Thief/ThiefBackpackMenu.xaml.cs
Content.Client/UserInterface/Systems/Atmos/GasTank/GasTankBoundUserInterface.cs
Content.Client/UserInterface/Systems/Atmos/GasTank/GasTankWindow.cs
Content.Client/VendingMachines/VendingMachineBoundUserInterface.cs
Content.Client/VoiceMask/VoiceMaskBoundUserInterface.cs
Content.Client/VoiceMask/VoiceMaskNameChangeWindow.xaml.cs
Content.Client/Weapons/Melee/UI/MeleeSpeechBoundUserInterface.cs
Content.Client/Wires/UI/WiresBoundUserInterface.cs
Content.Client/Wires/UI/WiresMenu.cs
Content.Client/Xenoarchaeology/Ui/AnalysisConsoleBoundUserInterface.cs