fish-station/Content.IntegrationTests
Fildrance 19f3497b35
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-03-31 12:57:47 +03:00
..
Pair Remove unnecessary prototype reloading in integration tests (#35199) 2025-02-18 23:48:41 +11:00
Tests refactor: simple radial menu for easier creation (#34639) 2025-03-31 12:57:47 +03:00
AssemblyInfo.cs Test parallelization stuff. (#31650) 2024-09-01 03:28:30 +02:00
Content.IntegrationTests.csproj Switch project files to C# 12. (#25487) 2024-02-23 15:02:59 +11:00
DummyParallaxManager.cs Update content vectors to numerics (#17759) 2023-07-08 14:08:32 +10:00
GlobalUsings.cs Fix content.integration tests warnings (#17817) 2023-07-06 14:54:25 +10:00
PoolManager.cs Test parallelization stuff. (#31650) 2024-09-01 03:28:30 +02:00
PoolManager.Cvars.cs Add interaction rate limits (#32527) 2024-09-29 22:19:00 +10:00
PoolManager.Prototypes.cs Update component query benchmarks (#27967) 2024-05-19 11:55:10 +10:00
PoolManagerTestEventHandler.cs Test parallelization stuff. (#31650) 2024-09-01 03:28:30 +02:00
PoolSettings.cs Add random seed options to tests (#30735) 2024-08-09 15:25:43 +10:00
PoolTestLogHandler.cs Add some tests and fix some miscellaneous bugs (#22836) 2023-12-28 10:05:20 +11:00
TestPrototypesAttribute.cs Fix test prototypes fields being marked as unused (#20853) 2023-10-09 00:19:32 -07:00