CatStation/Content.Client/Instruments/UI
Absotively 6ee812cfe5
SwitchButton (#39161)
* Initial toggle switch styling

* tweak toggle switch textures

* Simplify toggle SVG images a bit

* Better name for switch button

* Update CheckButtons that were already just regular buttons

* Match checkbox/text field outline colour instead of slider outline colour

* Use switch button for APC power

* Update switch button styling; add separate style for power buttons

* Use new switch button in midi channels menu

* Add spacer

* adjust switch button icon proportions, position

* Add disabled toggle switch styles, use improved pressed style setup, make APC breaker state visible to all

* Use Janet Blackquill's icon design; remove StyleClassPowerSwitchButton. Co-authored-by: Janet Blackquill <uhhadd@gmail.com>

* Style switch children directly instead of with propagated styles

* Add attributions file

* Turns out source is a required field

* Move SwitchButton out of engine

* Move styles to sheetlet

* Make workaround for child controls not updating work in content

* Icon layers

* Set up ISwitchButtonConfig

* Fix disabled switch label font color

* Don't redefine base pseudostyles

* Use pseudoclass helpers for better readability

* Use margin instead of padding element

* Remove unused using statements

* Remove extra image file

* Update attributions for changed files
2026-01-22 17:31:56 +00:00
..
BandMenu.xaml Instrument band support, submodule update to 138.0.0 (#17995) 2023-07-16 21:12:53 +02:00
BandMenu.xaml.cs Reapply "Remove some BUI boilerplate" (#30214) (#30219) 2024-07-21 14:48:13 +10:00
ChannelsMenu.xaml SwitchButton (#39161) 2026-01-22 17:31:56 +00:00
ChannelsMenu.xaml.cs SwitchButton (#39161) 2026-01-22 17:31:56 +00:00
InstrumentBoundUserInterface.cs Add the instrument names to the MIDI channel selector (#38083) 2025-06-11 20:32:48 +02:00
InstrumentMenu.xaml Instrument band support, submodule update to 138.0.0 (#17995) 2023-07-16 21:12:53 +02:00
InstrumentMenu.xaml.cs Make file dialog API usages read-only (#37779) 2025-09-29 15:51:09 +00:00