Commit Graph

27448 Commits (textureimage-void)
 

Author SHA1 Message Date
flodavid b28acaf7c9
Fix qdarkstyle and midnight blue sliders being cropped
- Allow Threshold sliders in control configuration to be up to 40px tall, instead of 15
1 year ago
flodavid c00c425b48
Add dark mode configuration setting in UI tab
- Allows to choose "Auto", "Always On" or "Always Off"
  - Dark mode options are only shown if the style does not support theme
- If Auto is chosen, value is retrieved from OS
  - On Windows, the application needs a restart to apply the settings
- Use the default dark palette for Windows, like on Linux
1 year ago
flodavid 104e6c3ff7
Rework themes to easily use light/dark palette, using only different icons
- Renamed themes:
  - "colorful" to "default" and "colorful_dark" to "default_dark"
  - "default" to "monochrome" and "default_dark" to "monochrome_dark"
  - "colorful_midnight_blue" to "qdarkstyle_midnight_blue"
  - "qdarkstyle_midnight_blue" to "qdarkstyle_midnight_blue_monochrome"
  - qdarkstyle is renamed from "Dark" to "Mine Shaft" in the UI
- default and monochrome themes all use the same qss stylesheet
- Remove the ability to select "default_dark" directly
    - Default has better support for light and dark
    - Controller and Keyboard applets icons and style adapt to dark mode
- Add "qdarkstyle_monochrome" theme
- Remove duplicated icon files
1 year ago
flodavid f01d7305c0
Automatic dark theme switching for Windows and Linux
- Windows dark theme uses "fusion" style, which is better suited, but has minor differences
- Improve OS theme detection
  - Linux:
    - Listen for OS color schemes changes on D-Bus
    - Read OS scheme for D-Bus. Fallback with gsettings, reading org.gnome.desktop.interface.
      First "color-scheme" key, then "gtk-theme". Finally, fallback to checking window palette
  - Windows (dark mode detection was not implemented before):
    - Force dark palette when OS uses dark mode by setting QT_QPA_PLATFORM to "windows:darkmode=2"
    - This enables to detect dark mode by checking the window palette
- Improve theming capabilites:
  - Linux uses custom palette when dark mode is detected.
    By using palette(xxx) in .qss files, there is no need to create a dark stylesheet
  - Allow themes to have stylesheet variants, dark.qss and light.qss
  - If current mode is dark, use dark icons for controller and keyboard applets
  - Add "dark" property to RendererStatusBarButton and GPUStatusBarButton, set to true when dark mode is used.
    Allows to have distinct colors for GPU API and accuracy buttons depending on dark mode or not
  - Enable all themes to have dark icon alternatives, not just "default" and "colorful"
    - If dark mode, icons are loaded from the directory "THEME-NAME_dark/icons"
  - If current mode is dark, use dark icons for controller and keyboard applets
  - Only qdarkstyle, qdarkstyle_midnight_blue, colorful_dark and
    colorful_midnight_blue used elements specific to dark themes
1 year ago
flodavid 97814d3e59
Load custom Qt themes from yuzu data directory
- Directory is qt_themes, each theme must be in one folder
    - It should contain a file "style.qss"
    - It may contain an "icons" sub-directory, to override included icons
      (with files like mytheme/icons/colorful/48x48/star.png for example)
    - Directories ending by "_dark" are reserved for dark variant icons.
      They are not listed as themes in the UI.
- If theme directory contains "dark" or "midnight", theme will be considered dark
1 year ago
Crimson Hawk 2083820fda
Undo some changes to readme 1 year ago
chaphidoesstuff 3f76206e9b Update README.md 1 year ago
chaphidoesstuff 15e49ee463 Added Ios release 1 year ago
chaphidoesstuff 6f57078cd9 Update README.md 1 year ago
chaphidoesstuff d1d0fdd12b Update README.md 1 year ago
chaphidoesstuff 3ad4fb760a Added info 1 year ago
chaphidoesstuff cb2c4446b7 Update README.md 1 year ago
administrator f2bf013781 Replace Discord with suyu chat in issue template 1 year ago
administrator 0db28c44c0 Replace Discord with suyu chat in issue template
Fixes https://git.suyu.dev/suyu/suyu/issues/139
1 year ago
Crimson Hawk 88ac3ad344
Push Request 54 Merge branch 'flodavid-improved-theming' into dev 1 year ago
Crimson-Hawk 6a16550e94 Merge branch 'dev' into improved-theming 1 year ago
administrator 526e1d7a76 Change Matrix to chat 1 year ago
flodavid fb7802aaf4 WIP: fix macOS style when OS dark mode is active 1 year ago
zqpvr01 2b16baf506 Remove discord (3) 1 year ago
zqpvr01 73e135bf4a Remove discord (2) 1 year ago
zqpvr01 96f822d13f Remove discord 1 year ago
TheDoctor 0de49070e4 Merge
Reviewed-on: https://git.suyu.dev/suyu/suyu/pulls/65
1 year ago
lol 70c52a1914 fix qlaunch on firmware 18 1 year ago
Exverge 2caadffe4d
Refactor android to dev.suyu.suyu_emu 1 year ago
Exverge 4a15db8f08
Map methods in firmware 18.0.0 1 year ago
Exverge 641ef1b887
Map methods in firmware 18.0.0 1 year ago
Crimson Hawk 77205848af
Add requested changes
Commited by Exverge <exverge@exverge.xyz>
1 year ago
Fijxu be31d5f56c
Enable Windows MinGW artifacts. 1 year ago
flodavid 3cdd76b23d Fix qdarkstyle and midnight blue sliders being cropped
- Allow Threshold sliders in control configuration to be up to 40px tall, instead of 15
1 year ago
flodavid 7c9545c82a Add dark mode configuration setting in UI tab
- Allows to choose "Auto", "Always On" or "Always Off"
  - Dark mode options are only shown if the style does not support theme
- If Auto is chosen, value is retrieved from OS
  - On Windows, the application needs a restart to apply the settings
- Use the default dark palette for Windows, like on Linux
1 year ago
flodavid 9bba778d15 Rework themes to easily use light/dark palette, using only different icons
- Renamed themes:
  - "colorful" to "default" and "colorful_dark" to "default_dark"
  - "default" to "monochrome" and "default_dark" to "monochrome_dark"
  - "colorful_midnight_blue" to "qdarkstyle_midnight_blue"
  - "qdarkstyle_midnight_blue" to "qdarkstyle_midnight_blue_monochrome"
  - qdarkstyle is renamed from "Dark" to "Mine Shaft" in the UI
- default and monochrome themes all use the same qss stylesheet
- Remove the ability to select "default_dark" directly
    - Default has better support for light and dark
    - Controller and Keyboard applets icons and style adapt to dark mode
- Add "qdarkstyle_monochrome" theme
- Remove duplicated icon files
1 year ago
flodavid 0b2409d1bd Automatic dark theme switching for Windows and Linux
- Windows dark theme uses "fusion" style, which is better suited, but has minor differences
- Improve OS theme detection
  - Linux:
    - Listen for OS color schemes changes on D-Bus
    - Read OS scheme for D-Bus. Fallback with gsettings, reading org.gnome.desktop.interface.
      First "color-scheme" key, then "gtk-theme". Finally, fallback to checking window palette
  - Windows (dark mode detection was not implemented before):
    - Force dark palette when OS uses dark mode by setting QT_QPA_PLATFORM to "windows:darkmode=2"
    - This enables to detect dark mode by checking the window palette
- Improve theming capabilites:
  - Linux uses custom palette when dark mode is detected.
    By using palette(xxx) in .qss files, there is no need to create a dark stylesheet
  - Allow themes to have stylesheet variants, dark.qss and light.qss
  - If current mode is dark, use dark icons for controller and keyboard applets
  - Add "dark" property to RendererStatusBarButton and GPUStatusBarButton, set to true when dark mode is used.
    Allows to have distinct colors for GPU API and accuracy buttons depending on dark mode or not
  - Enable all themes to have dark icon alternatives, not just "default" and "colorful"
    - If dark mode, icons are loaded from the directory "THEME-NAME_dark/icons"
  - If current mode is dark, use dark icons for controller and keyboard applets
  - Only qdarkstyle, qdarkstyle_midnight_blue, colorful_dark and
    colorful_midnight_blue used elements specific to dark themes
1 year ago
flodavid c889f1bd36 Load custom Qt themes from yuzu data directory
- Directory is qt_themes, each theme must be in one folder
    - It should contain a file "style.qss"
    - It may contain an "icons" sub-directory, to override included icons
      (with files like mytheme/icons/colorful/48x48/star.png for example)
    - Directories ending by "_dark" are reserved for dark variant icons.
      They are not listed as themes in the UI.
- If theme directory contains "dark" or "midnight", theme will be considered dark
1 year ago
zqpvr01 b911ac8516 Update README.md 1 year ago
zqpvr01 715a3fc83b Update README.md 1 year ago
zqpvr01 8032d67619 Upload files to "img" 1 year ago
zqpvr01 1d4f0a78f6 revert 242114d862
revert Upload files to "/"
1 year ago
zqpvr01 242114d862 Upload files to "/" 1 year ago
Exverge 89468f90a2
Comment out unimplemented check
In my testing on macOS, MK8 sometimes crashed at this function, giving a void type instead of u32.
I've temporarily commented this out until (if) this is implemented and added a check for if it is implemented
1 year ago
Nikilite a3c8b29607
Updated the links for the Info Popup 1 year ago
Lucas Clemente Vella 4015b1d397 Solves warning about GuestMemory having internal linkage.
It is very hard to explain why this public interface class was defined
in an anonymous namespace inside a header file.
1 year ago
BoomMicrophone 5a92429b8c Merge branch 'dev' into dev 1 year ago
voidanix d3f67d1e9c Fix GCC builds with Debug build type
When compiling with -DCMAKE_BUILD_TYPE=Debug, GCC would (correctly) fail to
compile intrinsics in stb and host1x due to lack of optimizations.

Sadly, the compilation error given is bogus and Clang completing the builds
without issues does raise some eyebrows.

Therefore, force optimizations for the offending files under GCC when
creating Debug builds.

Signed-off-by: voidanix <voidanix@keyedlimepie.org>
1 year ago
BoomMicrophone d09ab05c1b remove comment
gotta coooooommit :D
1 year ago
BoomMicrophone db9035cc35 remove comment
gpg timeout so i gotta coooooommit :D
1 year ago
BoomMicrophone dcd2890af6 Merge branch 'dev' into dev 1 year ago
Crimson-Hawk c25bcb6083 Merge branch 'dev' into dev 1 year ago
Belal Ashraf 7215ac9543 Fix NROs crashing and loading infinitely 1 year ago
Exverge 39eea71e62
fix: resume application when library applets are closed 1 year ago
Lucas Clemente Vella 48e86d6e84 Fixes issue #94: setting Vulkan::Headers before Qt6 can do it 1 year ago