0
0
Fork 0
This repository has been archived on 2024-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
ryujinx-final/Ryujinx/Ui/Windows
sharmander cb43cc7e32
UI - Add Volume Controls + Mute Toggle (F2) (#2871)
* Add the ability to toggle mute in the status bar.

* Add the ability to toggle mute in the status bar.

* Formatting fixes

* Add hotkey (F2) to mute

* Add default hotkey to config.json

* Add ability to change volume via slider.

* Fix Headless

* Fix SDL2 Problem : Credits to d3xMachina

* Remove unnecessary work

* Address gdk comments

* Toggling with Hotkey now properly restores volume to original level.

* Toggling with Hotkey now properly restores volume to original level.

* Update UI to show Volume % instead of Muted/Unmuted

* Clean up the volume ui a bit.

* Undo unintentionally committed code.

* Implement AudRen Support

* Restore intiial volume level in function definition.

* Finalize UI

* Finalize UI

* Use clamp for bounds check

* Use Math.Clamp for volume in soundio

* Address comments by gdkchan

* Address remaining comments

* Fix missing semicolon

* Address remaining gdkchan comment

* Fix comment

* Change /* to //

* Allow volume slider to change volume immediately.
Also force label text to cast to int to prevent decimals from showing in status bar

* Remove blank line

* Undo setting of volume level when "Cancel" is pressed.

* Fix allignment for settings window code
2021-12-23 13:33:56 -03:00
..
AboutWindow.cs misc: Add credit to AmiiboAPI properly and fix a wrong warning code (#2150) 2021-03-27 15:41:09 +01:00
AboutWindow.Designer.cs misc: Add credit to AmiiboAPI properly and fix a wrong warning code (#2150) 2021-03-27 15:41:09 +01:00
AmiiboWindow.cs infra: Migrate to .NET 6 (#2829) 2021-11-28 21:24:17 +01:00
AmiiboWindow.Designer.cs nfp: Amiibo scanning support (#2006) 2021-03-18 21:40:20 +01:00
AvatarWindow.cs account: add Custom User Profiles support (#2227) 2021-04-23 22:26:31 +02:00
ControllerWindow.cs Seeing if there are any other spelling errors to correct. (#2572) 2021-08-20 18:48:00 -03:00
ControllerWindow.glade Implement vibrations (#2468) 2021-08-05 00:39:40 +02:00
DlcWindow.cs Don't blow up everything if a DLC file is moved or renamed. (#2867) 2021-11-29 15:21:27 -03:00
DlcWindow.glade gui: Refactoring Part 1 (#1859) 2021-01-08 09:14:13 +01:00
SettingsWindow.cs UI - Add Volume Controls + Mute Toggle (F2) (#2871) 2021-12-23 13:33:56 -03:00
SettingsWindow.glade Fix direct mouse access checkbox label (#2827) 2021-11-10 15:21:51 -03:00
TitleUpdateWindow.cs gui: Replace FileChooserDialog by FileChooserNative (#2633) 2021-09-14 23:52:08 +02:00
TitleUpdateWindow.glade gui: Refactoring Part 1 (#1859) 2021-01-08 09:14:13 +01:00
UserProfilesManagerWindow.cs gui: Replace FileChooserDialog by FileChooserNative (#2633) 2021-09-14 23:52:08 +02:00
UserProfilesManagerWindow.Designer.cs account: add Custom User Profiles support (#2227) 2021-04-23 22:26:31 +02:00