mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* 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 --------- Co-authored-by: pa.pecherskij <pa.pecherskij@interfax.ru> Co-authored-by: Eoin Mcloughlin <helloworld@eoinrul.es> |
||
|---|---|---|
| .. | ||
| FancyTree | ||
| ClipControl.cs | ||
| ConfirmButton.cs | ||
| DialogWindow.xaml | ||
| DialogWindow.xaml.cs | ||
| DirectionIcon.cs | ||
| FancyWindow.xaml | ||
| FancyWindow.xaml.cs | ||
| HighDivider.cs | ||
| HLine.cs | ||
| HSpacer.cs | ||
| ListContainer.cs | ||
| MainViewport.cs | ||
| MapGridControl.xaml | ||
| MapGridControl.xaml.cs | ||
| MenuButton.cs | ||
| NanoHeading.cs | ||
| Placeholder.cs | ||
| ProgressTextureRect.cs | ||
| RadialContainer.cs | ||
| RadialMenu.cs | ||
| SearchListContainer.cs | ||
| SlotButton.cs | ||
| SlotControl.cs | ||
| SplitBar.xaml | ||
| SplitBar.xaml.cs | ||
| StripeBack.cs | ||
| TableContainer.cs | ||
| VSpacer.cs | ||