summaryrefslogtreecommitdiff
path: root/src/yuzu/uisettings.h
AgeCommit message (Collapse)Author
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.
2021-05-25yuzu qt: Add an Apply button to configuration dialogslat9nq
Most of the code already exists to do this, but the Apply button itself was never added. This adds a button and boolean that tells yuzu to save the configuration after applying settings, even if close/Cancel is pressed on the dialog. Changes after applying will not be saved when Cancel is pressed, though.
2021-04-15game_list: Mark games as favorite to make them appear at the top.Kewlan
Icons are from Icons8.
2020-08-26Address feedbackMorph
2020-08-26Project Mjölnir: Part 1Morph
Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-08-16yuzu: Resolve -Wextra-semi warningsLioncash
While we're in the same area, we can ensure GameDir member variables are always initialized to consistent values.
2020-08-03Merge pull request #4263 from lat9nq/fix-screencaps-2David
screenshots: Option to save screenshots immediately in a specified directory + Linux workaround
2020-07-20configuration: Setup UI to config screenshot path and savinglat9nq
This adds two options to the General -> UI tab. The first disables picking a place to save the file. The second chooses a default directory for saving screenshots.
2020-07-20qt-themes: Add Midnight Blue qdarkstyle theme (2.8.1)James Rowe
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2020-07-18yuzu: Port translation support from CitraFearlessTobi
Co-Authored-By: Weiyi Wang <wwylele@gmail.com>
2020-04-20yuzu: Option to hide mouse on inactivityFearlessTobi
Co-Authored-By: Vitor K <vitor-k@users.noreply.github.com>
2020-02-09Remove option "Show files with type 'Unknown'"Morph
2019-10-09Merge pull request #2910 from FearlessTobi/port-4930bunnei
Port citra-emu/citra#4930: "Pause when in background"
2019-09-26yuzu: Pause when in backgroundFearlessTobi
Co-Authored-By: Vitor K <vitor-k@users.noreply.github.com>
2019-09-22qt_themes: add two colorful themesFearlessTobi
These two colorful themes are based on the Default and Dark themes, and contain icons that are colored rather than black and white. These icons come from icons8.com and they have been slightly revised by me. I'm pretty sure I was licensed to use them for Citra. Co-Authored-By: Pengfei Zhu <zhupengfei321@sina.cn>
2019-09-04Change QList to QVectorfearlessTobi
2019-09-04yuzu: Add support for multiple game directoriesfearlessTobi
Ported from https://github.com/citra-emu/citra/pull/3617.
2019-08-09yuzu/CMakeLists: Remove qt5_wrap_ui macro usageLioncash
We can simply enable CMAKE_AUTOUIC and let CMake take care of handling the UI code generation for targets. As part of letting CMake automatically handle the header file parsing, we must not name includes with "ui_*" unless they're related to the output of the Qt UIC compiler. Because of this, we need to rename ui_settings, given it would conflict with this restriction.