summaryrefslogtreecommitdiff
path: root/src/yuzu/uisettings.h
AgeCommit message (Collapse)Author
2024-12-31chore: update project branding to citronZephyron
2024-02-03Merge pull request #12851 from Calinou/multiplayer-persist-filtersliamwhite
Persist filters in multiplayer public lobby list
2024-01-30Persist filters in multiplayer public lobby listHugo Locurcio
After connecting to a room, the chosen filter text, "Games I Own", "Hide Empty Rooms" and "Hide Full Rooms" values are persisted to configuration so they are preserved across restarts. This makes it easier to rejoin a room if you regularly play the same game, or after a crash.
2024-01-30Add hotkeys for multiplayer actionsHugo Locurcio
Default shortcuts were chosen as to be intuitive (use the first letter of the action, or the second word's first letter) and work on all types of keyboards. The hotkeys can be used while playing a game too, as they are application-wide.
2023-12-18yuzu: Make language persistent and remove symbols_pathNarr the Reg
2023-11-21config: Unify config handling under frontend_commont895
Replaces every way of handling config for each frontend with SimpleIni. frontend_common's Config class is at the center where it saves and loads all of the cross-platform settings and provides a set of pure virtual functions for platform specific settings. As a result of making config handling platform specific, several parts had to be moved to each platform's own config class or to other parts. Default keys were put in platform specific config classes and translatable strings for Qt were moved to shared_translation. Default hotkeys, default_theme, window geometry, and qt metatypes were moved to uisettings. Additionally, to reduce dependence on Qt, QStrings were converted to std::strings where applicable.
2023-11-10yuzu: Save mute when in background settingNarr the Reg
2023-10-31qt: remove duplicate exit confirmation settingLiam
2023-10-12yuzu: Use new setting method for stop emulationFlorian
2023-10-12yuzu: Enable to use controller to close a gameflodavid
- Add General setting to choose if a confirm dialog is shown when stopping - Show the right confirm dialog if wanted - Reuse dialog window that ask to close the game - Add "L + Plus + Minus" default shortcut to Stop emulation - Create generic question dialog based on TAS dialog - It allows controller interaction on most dialogs
2023-10-08Merge pull request #10519 from mdmrk/masterliamwhite
yuzu-qt: Track play time
2023-10-03yuzu: Fix mute when in background settingNarr the Reg
2023-08-26yuzu-qt: Track play timeMario
2023-08-16yuzu-qt: Screenshots depend more on the graphics settingslat9nq
2023-08-15yuzu-qt: Enable specifying screenshot resolutionlat9nq
2023-07-25(ui)settings: Add more runtime_modifiable settingslat9nq
2023-07-21settings,uisettings: Remove leading underscorelat9nq
2023-07-21common,yuzu-qt: Avoid explicit instantiation on old clanglat9nq
Clang versions < 15 have compile issues with explicit instantiation. Disable it for these versions.
2023-07-21(ui,)settings: Use explicit instantiationlat9nq
Reduces compile times a tad on clang.
2023-07-21settings, uisettings: Initialize linkage counterlat9nq
2023-07-21settings: Add UiGeneral classlat9nq
2023-07-21settings: Add a registry of settingslat9nq
LoadString: Sanitize input settings: Handle empty string, remove redundant category settings: Rename Input to Controls, FS to DataStorage settings: Fix Controls groups information settings: Move use_docked_mode to System (again) settings: Document settings: Add type identification function settings: Move registry into values settings: Move global_reset_registry into values settings: Separate AdvGraphics from Renderer settings: More document squash settings: Use linkage object uisettings: Move registry into settings Probably wont build without uisettings: Use settings linkage object config: Load settings with a map Uses the new all_settings vector to load settings. qt-config: Rename settings category qt config: Rename to read category config: Read/write contols category with for_each This is extremely limited due to the complexity of the Controls group, but this handles the the settings that use the interface. qt-config: Use new settings registry qt-config: Read/write advgrphics qt-config: Use settings linkage object yuzu_cmd: Load setting off of vector cmd-config: Finish settings rename config: Read controls settings group with for_each cmd/config: Move registry into values cmd: Read adv graphics cmd-config: Use settings linkage object
2023-07-21uisettings: Fix typingslat9nq
2023-01-22qt: add option to disable controller appletEBADBEEF
- add checkbox to disable the controller applet UI - when controller applet is disabled, use the yuzu-cmd fallback controller applet that applies controller config based on rules - See https://github.com/yuzu-emu/yuzu/issues/8552 for some discussion
2023-01-18allow volume up/down hotkeys to be repeatedJonas Gutenschwager
2022-12-13yuzu qt: Create shortcuts on Linuxlat9nq
This creates a Desktop Entry file and a PNG icon for the entry when the user right-clicks a game and selects "Create Shortcut -> Create {Application,Desktop} Shortcut". This uses the current executable's path to create the shortcut. yuzu qt: Add more error checking and OS gating for shortcuts main: Remove FreeBSD gating for shortcuts I'm not going to test FreeBSD, so I don't know if they follow Freedesktop.org or not. I just have to let someone else verify that it works there and let them enable it. main: Move shortcut function to its own function This function should really be in a common library, at least among frontends. main: Remove image manip references main: Fix difference in MinGW and native GCC versions main: Fix negation in creat shortcut Addresses review comment Co-authored-by: Jan Beich <jbeich@FreeBSD.org> main: Re-enable freedesktop shorcuts for FreeBSD
2022-11-04UI: Add options to hide extra columns (#9093)Piplup
UI change that allows the user to hide the size and or file types columns
2022-10-19UI: Add option to hide the compatibility listKyle Kienapfel
Option is added directly below the option for the addons column Defaulting to hide compatibility list. Changing default works properly. Co-authored-by: Piplup <piplup55@users.noreply.github.com>
2022-09-10yuzu: Multiple room UI improvementsgerman77
2022-08-15core, yuzu: Address first part of review commentsFearlessTobi
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda
[REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
2022-07-25common: multiplayer: Use GameInfo typegerman77
2022-07-25Address first part of review commentsFearlessTobi
2022-07-25yuzu: Add ui files for multiplayer roomsFearlessTobi
2022-07-10yuzu: Simplify broken Vulkan handlinglat9nq
2022-06-30settings: Consolidate RangedSetting's with regular oneslat9nq
The latest git version of GCC has issues with my diamond inheritance shenanigans. Since that's now two compilers that don't like it I thought it'd be best to just axe all of it and just have the two templates like before. This rolls the features of BasicRangedSetting into BasicSetting, and likewise RangedSetting into Setting. It also renames them from BasicSetting and Setting to Setting and SwitchableSetting respectively. Now longer name corresponds to more complex thing.
2022-05-30yuzu-qt: Make has_broken_vulkan only for crasheslat9nq
Being able to catch and handle a Vulkan exception is not what this is for.
2022-05-30yuzu-qt: Attempt to workaround broken Vulkan installationslat9nq
This does a few things in order to make the default setting Vulkan workable. - When yuzu boots, it just opens the Vulkan library. - If it works, all good and we continue with Vulkan as the default. - If something breaks, a new file in the config directory will be left behind (this is deleted normally). - If Vulkan is not working, has_broken_vulkan is set to true. - The first time this happens, a warning is displayed to notify the user. - This forces use of OpenGL, and Vulkan cannot be selected. - The Shader Backend selector is made accessible for use in custom configurations. - To disable has_broken_vulkan, the user needs to press a button in Graphics Configuration to manually run the Vulkan device enumeration.
2022-04-11ui: Set Link Color when setting themeKyle K
Long story short, QT doesn't allow the link colors to be set via their stylesheets. There are two ways to work with this, specify the color manually for every link (See the About dialog) The other way is to change the default palette. IsDarkTheme is copy/pasted from src/yuzu/debugger/wait_tree.cpp
2022-03-17yuzu qt: Save disable_web_applet settinglat9nq
The web applet causes multiple issues with the rest of the application. Disable it by default and add a debug option to re-enable it until a proper solution can be found.
2022-03-17yuzu: Move disable_web_applet to UISettingslat9nq
2022-02-06yuzu: Mute audio when in backgroundgerman77
2022-01-17uisettings: Add enumeration type for themesMorph
Eliminates the usage of a magic number to indicate the default index of the themes array,
2022-01-06yuzu: Add controller hotkeysgerman77
2021-12-12game_list: Add persistent setting for the favorites row expanded stateameerj
Previously, the favorites row was always expanded on launch. This change introduces a persistent setting that allows the favorites row's expanded state to be remembered between launches.
2021-11-16bootmanager: Fix screenshot resolution factor usageameerj
Fixes screenshots at non integer scaling
2021-10-15Hide mouse cursor by defaultRomain Failliot
2021-08-01game_list: Make game list folder icons smaller (#6762)Malte Jürgens
Makes the default game list folder icons 48x48 by default instead of 64x64, and allows for selecting small (24x24) and large (72x72) icon sizes.
2021-06-28yuzu qt: Make most UISettings a BasicSettinglat9nq
For simple primitive settings, moves their defaults and labels to definition time. Also fixes typo and clang-format yuzu qt: config: Fix rng_seed
2021-06-01yuzu: Add settings reset button to general configurationlat9nq
Builds on german77's work to reset all settings back to their defaults. This include UISettings and Settings values structs, but does not affect save profiles, input profiles, and game directories. This works from a button input in configure_general. When activated, it calls a callback to close the whole configure dialog, then GMainWindow deletes the old configuration, both on disk and in memory, and reinitalizes a new one. It also resets a portion of the UI and calls the telemetry window prompt.