From c4246b80f84c0bd979e4506c17b1c9a34ac77ae8 Mon Sep 17 00:00:00 2001 From: lat9nq Date: Mon, 13 Jul 2020 21:32:10 -0400 Subject: configure_graphics: Implement highlighted overrides --- src/yuzu/configuration/configure_graphics.ui | 289 ++++++++++++++++----------- 1 file changed, 170 insertions(+), 119 deletions(-) (limited to 'src/yuzu/configuration/configure_graphics.ui') diff --git a/src/yuzu/configuration/configure_graphics.ui b/src/yuzu/configuration/configure_graphics.ui index 62418fc14..6164569fe 100644 --- a/src/yuzu/configuration/configure_graphics.ui +++ b/src/yuzu/configuration/configure_graphics.ui @@ -23,43 +23,57 @@ - - - - - API: - - - - - - - - OpenGL - - - - - Vulkan - - - - - - - - - - - - Device: - - - - - - - + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + + OpenGL + + + + + Vulkan + + + + + + + + API: + + + + + + + + + + Device: + + + + + + + @@ -85,96 +99,133 @@ - - - - - Aspect Ratio: - - - - - - - - Default (16:9) - - - - - Force 4:3 - - - + + + + 0 + + + 0 + + + 0 + + + 0 + + + - Force 21:9 + Aspect Ratio: - - - - Stretch to Window - - - - - + + + + + + + Default (16:9) + + + + + Force 4:3 + + + + + Force 21:9 + + + + + Stretch to Window + + + + + + - - - - - Use global background color - - - 0 - - - 10 - - - + + + + 0 + 0 + + + + + 6 + + + 0 + + + 0 + + + 0 + + + 0 + + + + Use global background color - - + + 0 + + + 10 + + + + Use global background color + + + + + Set background color: + + + + + + - Set background color: + Background Color: + + + + + + + Qt::Horizontal + + + + 40 + 20 + - - - - - - - Background Color: - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - - 40 - 16777215 - - - - - + + + + + + + 40 + 16777215 + + + + + + -- cgit v1.2.3 From c94a8a3a439bd28c64e51753a5171fc4c3dc5903 Mon Sep 17 00:00:00 2001 From: lat9nq Date: Mon, 13 Jul 2020 23:25:14 -0400 Subject: configure_per_game: Improve style consistency The way the configurations are set up, it is not trivial to do this. I'll leave it as is, but the API selection, and the background color and volume slider selectors are kind of not following the style. --- src/yuzu/configuration/configure_graphics.ui | 67 ++++++++++++++-------------- 1 file changed, 33 insertions(+), 34 deletions(-) (limited to 'src/yuzu/configuration/configure_graphics.ui') diff --git a/src/yuzu/configuration/configure_graphics.ui b/src/yuzu/configuration/configure_graphics.ui index 6164569fe..e3bbf2f59 100644 --- a/src/yuzu/configuration/configure_graphics.ui +++ b/src/yuzu/configuration/configure_graphics.ui @@ -6,7 +6,7 @@ 0 0 - 400 + 437 321 @@ -24,7 +24,7 @@ - + 0 @@ -37,40 +37,39 @@ 0 - - - - - - - OpenGL - - - - - Vulkan - - - - - - - - API: - - - - - + + 6 + + + + + API: + + + + + + + + OpenGL + - - - - Device: - - + + + Vulkan + - + + + + + + Device: + + + + + -- cgit v1.2.3 From 90a0fb1e0e3297f6a4a5a2ebf5144589b75addcd Mon Sep 17 00:00:00 2001 From: lat9nq Date: Mon, 13 Jul 2020 23:38:29 -0400 Subject: configure_graphics: Fix layout in global config Fixes a regression where the global config takes up a lot of extra space. --- src/yuzu/configuration/configure_graphics.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/yuzu/configuration/configure_graphics.ui') diff --git a/src/yuzu/configuration/configure_graphics.ui b/src/yuzu/configuration/configure_graphics.ui index e3bbf2f59..62aa337e7 100644 --- a/src/yuzu/configuration/configure_graphics.ui +++ b/src/yuzu/configuration/configure_graphics.ui @@ -149,7 +149,7 @@ - + 0 0 -- cgit v1.2.3