Delta-v/Content.Client/UserInterface/Controls
Fildrance 0e022994cb refactor: simple radial menu for easier creation (#34639)
* it works! kinda

* so it works now

* minor cleanup

* central button now is useful too

* more cleanup

* minor cleanup

* more cleanup

* refactor: migrated code from toolbox (as it was rejected as too specific)

* feat: moved border drawing for radial menu into RadialMenuTextureButton. Radial menu position setting into was moved to OverrideArrange to not being called on every frame

* refactor: major reworks!

* renamed DrawBagleSector to DrawAnnulusSector

* Remove strange indexing

* Regularize math

* refactor: re-orienting segment elements to be Y-mirrored

* refactor: extracted radial menu radius multiplier property, changed color pallet for radial menu button

* refactor: removed icon backgrounds on textures used in current radial menu buttons with sectors, RadialContainer Radius renamed and now actually changed control radius.

* refactor: in RadialMenuTextureButtonWithSector all sector colors are converted to and from sRGB in property getter-setters

* refactor: renamed srgb to include Srgb suffix so devs gonna see that its srgb clearly

* fix: enabled any functional keys pressed when pushing radial menu buttons

* fix: radial menu sector now scales with UIScale

* fix: accept only one event when clicking on radial menu ContextualButton

* fix: now radial menu buttons accepts only click/alt-click, now clicks outside menu closes menu always

* feat: simple radial menu prototype for easier creation

* refactor: cleanup, restored emote filtering, button models now have class hierarchy

* refactor: remove usage of closure from 'outside code'

* refactor: remove non existing type from UiControlTest

* refactor: remove unused using

* refactor: revert ability to declare radial menu layers in xaml, scale 32px sprites using scale in radial menu

* refactor: whitespaces

* refactor: subscribe for dispose on existing radial menus

* feat: now simple radial menu button models can have custom color for each sector background (and hover background color). Also added OpenOverMouseScreenPosition inside SimpleRadialMenu

* fix: AI door menu now can be closed by verb if it gets unpowered

* refactor: simplify hiding border, extended xml-doc for simple radial menu settings

* refactor: remove linq

* fix: fix AI radial action serialization using invalid type

* refactor: fix duplicate ShowDeviceNotRespondingPopup for AI by properly checking if it can interact

* refactor: whitespaces, changed list to array in simple radial button preparing methods

---------

Co-authored-by: pa.pecherskij <pa.pecherskij@interfax.ru>
Co-authored-by: Eoin Mcloughlin <helloworld@eoinrul.es>
2025-04-06 20:52:12 +01:00
..
FancyTree Fix 38 non-obsolete warnings (#33794) 2025-03-01 12:44:03 +00:00
ClipControl.cs Various item status fixes/tweaks (#27267) 2024-05-03 00:01:56 +02:00
ConfirmButton.cs News UI overhaul and PDA notifications (#19610) 2024-03-07 01:02:24 +01:00
DialogWindow.xaml make dialog window not evil (#24677) 2024-02-08 12:21:02 +01:00
DialogWindow.xaml.cs HOTFIX: Fix lineedit focus (#34621) 2025-02-14 16:09:56 +00:00
DirectionIcon.cs Replace Matrix3 with System.Numerics.Matrix3x2 (#27443) 2024-06-06 21:44:48 +02:00
FancyWindow.xaml Adds Support for Guidebook Buttons in UIs (#27891) 2024-05-18 13:52:13 +02:00
FancyWindow.xaml.cs Give jobs & antags prototypes a guide field (#28614) 2024-07-13 04:20:47 +02:00
HLine.cs Lobby Refactor (#7077) 2022-03-13 19:33:19 -07:00
HSpacer.cs Remove accidental using directives on transient dependencies. (#18999) 2023-08-11 16:56:40 -05:00
HighDivider.cs Move/Rename stuff (#11209) 2022-09-11 18:56:21 -07:00
ListContainer.cs Predict vending machine UI (#33412) 2025-03-09 19:35:09 +00:00
MainViewport.cs Adds the option to fit the viewport to vertical screenspace (#27061) 2024-04-21 23:32:41 +02:00
MapGridControl.xaml Shuttle console + FTL rework (#24430) 2024-03-08 12:54:53 +01:00
MapGridControl.xaml.cs Replace Matrix3 with System.Numerics.Matrix3x2 (#27443) 2024-06-06 21:44:48 +02:00
MenuButton.cs Make it grey again! (#149) 2023-10-13 15:06:21 +00:00
NanoHeading.cs Minor UI refactor (#11212) 2022-09-11 20:42:12 -07:00
Placeholder.cs More minor UI refactor stuff (#11287) 2022-09-14 20:42:35 -07:00
ProgressTextureRect.cs Add BUI ctor tests (#31463) 2025-04-06 20:52:00 +01:00
RadialContainer.cs Feature/make radial menu great again (#32653) 2025-01-28 04:33:54 +00:00
RadialMenu.cs refactor: simple radial menu for easier creation (#34639) 2025-04-06 20:52:12 +01:00
SearchListContainer.cs Add search filter to the admin menu player tab (#28030) 2024-06-01 17:56:42 +02:00
SimpleRadialMenu.xaml refactor: simple radial menu for easier creation (#34639) 2025-04-06 20:52:12 +01:00
SimpleRadialMenu.xaml.cs refactor: simple radial menu for easier creation (#34639) 2025-04-06 20:52:12 +01:00
SlotButton.cs make filled inventory slots blank (#27150) 2024-04-21 23:21:54 +02:00
SlotControl.cs make filled inventory slots blank (#27150) 2024-04-21 23:21:54 +02:00
SplitBar.xaml Puddles & spreader refactor (#15191) 2023-04-10 15:37:03 +10:00
SplitBar.xaml.cs Random spontaneous cleanup PR (#25131) 2024-02-18 23:02:29 +01:00
StripeBack.cs Minor visual fixups from StyleboxTexture scaling (#17763) 2023-07-09 04:57:47 +10:00
TableContainer.cs Guidebook Tables (#28484) 2024-06-06 21:44:44 +02:00
VSpacer.cs Lobby Refactor (#7077) 2022-03-13 19:33:19 -07:00