From e194bc1fe3cdaca6ed6c7a0d151b77343453cbf3 Mon Sep 17 00:00:00 2001 From: ThereDrD <88589686+ThereDrD0@users.noreply.github.com> Date: Wed, 22 Jan 2025 00:57:20 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=BA=D0=BE=D0=BD=D0=BA=D0=B8=20=D0=B2?= =?UTF-8?q?=20=D1=87=D0=B0=D1=82=D0=B5=20(#1168)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * init * refactor: move scale to tag argument * fix: chatbox rebuild fix * tweak: add icons for non-humanoid roles like ai and borgs * add: switch option for radio icons * blyat commit * fix --- Content.Client/Options/UI/Tabs/ExtraTab.xaml | 1 + .../Options/UI/Tabs/ExtraTab.xaml.cs | 2 + .../Systems/Chat/Widgets/ChatBox.xaml.cs | 20 +++- .../_Sunrise/ChatIcons/RadioIconsSystem.cs | 31 ++++++ .../UserInterface/RichText/RadioIconTag.cs | 100 ++++++++++++++++++ .../UserInterface/RichText/TextureTag.cs | 42 ++++++++ .../Radio/EntitySystems/RadioSystem.cs | 46 +++++++- .../_Sunrise/SunriseCCVars/SunriseCCVars.cs | 7 ++ .../_sunrise/escape-menu/ui/options-menu.ftl | 2 + .../_strings/_sunrise/tags/radio_icon.ftl | 2 + .../ru-RU/_strings/_sunrise/tags/texture.ftl | 2 + 11 files changed, 251 insertions(+), 4 deletions(-) create mode 100644 Content.Client/_Sunrise/ChatIcons/RadioIconsSystem.cs create mode 100644 Content.Client/_Sunrise/UserInterface/RichText/RadioIconTag.cs create mode 100644 Content.Client/_Sunrise/UserInterface/RichText/TextureTag.cs create mode 100644 Resources/Locale/ru-RU/_strings/_sunrise/tags/radio_icon.ftl create mode 100644 Resources/Locale/ru-RU/_strings/_sunrise/tags/texture.ftl diff --git a/Content.Client/Options/UI/Tabs/ExtraTab.xaml b/Content.Client/Options/UI/Tabs/ExtraTab.xaml index 9bed634b1a1..a03abf8baa1 100644 --- a/Content.Client/Options/UI/Tabs/ExtraTab.xaml +++ b/Content.Client/Options/UI/Tabs/ExtraTab.xaml @@ -32,6 +32,7 @@