1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-09-19 04:28:00 -05:00
Commit Graph

61 Commits

Author SHA1 Message Date
mctaylors
53f628c8cc found it 2024-04-19 03:43:42 +02:00
mctaylors
0ec2014350 update links 2024-04-19 03:43:42 +02:00
Crimson-Hawk
6a16550e94 Merge branch 'dev' into improved-theming 2024-04-15 02:16:56 +02:00
flodavid
fb7802aaf4 WIP: fix macOS style when OS dark mode is active 2024-04-11 12:05:38 -07:00
TheDoctor
0de49070e4 Merge
Reviewed-on: https://git.suyu.dev/suyu/suyu/pulls/65
2024-04-10 19:56:33 +02:00
Exverge
2caadffe4d Refactor android to dev.suyu.suyu_emu 2024-04-07 19:27:20 -04:00
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
2024-04-03 23:09:17 +02:00
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
2024-04-03 23:09:17 +02:00
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
2024-04-03 21:06:48 +02:00
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
2024-04-03 21:06:48 +02:00
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
2024-04-03 21:06:48 +02:00
Nikilite
a3c8b29607 Updated the links for the Info Popup 2024-04-01 16:56:07 -04:00
BoomMicrophone
db9035cc35 remove comment
gpg timeout so i gotta coooooommit :D
2024-03-31 21:41:43 +02:00
BoomMicrophone
dcd2890af6 Merge branch 'dev' into dev 2024-03-31 17:55:38 +02:00
Kelebek1
876d7f90b6 Add option to log synchronously, add tooltip to log filter. 2024-03-28 20:12:04 +01:00
BoomMicrophone
affee8c522 fix epic fail
(I am relying on actions to do the compiling for me until i get nix)
2024-03-26 16:34:22 +01:00
BoomMicrophone
b59aaf14e9 Woah guys this is so compliant!
Signed-off-by: BoomMicrophone <boommicrophone@noreply.localhost>
2024-03-26 16:10:33 +01:00
BoomMicrophone
caa1fb094c nullglob globstar gobble up those nuts
shoutout to gpg for not working

Signed-off-by: BoomMicrophone <boommicrophone@noreply.localhost>
2024-03-26 15:57:41 +01:00
Hustler One
eba28b0df3 All relevant changes in commit 51862e862d have been 2024-03-25 21:12:28 +01:00
zqpvr01
ba411a17e0 change application id
when we enable discord rpc for use this will change the yuzu icon to suyu.
2024-03-25 01:14:35 +01:00
suyudontsueme
907f9aa6f2 Rewrite missing keys dialog to be more descriptive
Closes #30
2024-03-24 18:59:04 -03:00
SylverDiscord51
1648d189d3 license-fix (#31)
Co-authored-by: palfaiate <syl.paulo.alfaiate@gmail.com>
Co-authored-by: SylverDiscord51 <p71468162@gmail.com>
Co-committed-by: SylverDiscord51 <p71468162@gmail.com>
2024-03-23 22:58:07 -03:00
Fijxu
649a90ff40 ci: Use different runner label for Codespell and Format Verification 2024-03-23 16:39:17 -03:00
Exverge
c6d34f6d77 fix: compile errors from #11 2024-03-23 12:23:00 -04:00
nullequal
15ca12c0ec Allow NRO files to skip FW and keys' presence checks (#11)
doing an old suggestion from the now-deleted "emulator-suggestions" channel on the discord
Co-authored-by: nullequal <nullequal@noreply.localhost>
Co-committed-by: nullequal <nullequal@noreply.localhost>
2024-03-23 16:31:28 +01:00
Exverge
259e65287f Fix typo in encryption keys 2024-03-23 00:24:42 -04:00
JuanCStar
d0afa9b1ad fix: update web service urls 2024-03-19 20:21:09 +01:00
Levi Akatsuki
e0ff7d0a6e Fixed broken code in dev branch 2024-03-18 22:13:59 +00:00
Paulo Alfaiate
e9eb3f3799 Removing Warning 2024-03-18 18:29:11 +00:00
Levi Akatsuki
8755d2bad4 Require both keys to use the emulator 2024-03-16 15:57:32 +00:00
Akatsuki Levi
714a68d594 fix: I hate lambdas 2024-03-15 21:47:58 -03:00
Akatsuki Levi
70d0df5e55 fix: Clang fix part 2: Electric bogaloo 2024-03-15 21:05:43 -03:00
Akatsuki Levi
94a84f5943 fix: CLang fix 2024-03-15 21:03:47 -03:00
Akatsuki Levi
c33ccfaa71 misc: Commented out build id 2024-03-15 20:36:57 -03:00
Akatsuki Levi
d34ec92720 fix: Fixed some favorite entries disappearing when show folders is off 2024-03-15 20:36:51 -03:00
Akatsuki Levi
b98bd24d6a feat: Changed folders in list to be a toggleable option 2024-03-15 20:36:46 -03:00
Akatsuki Levi
bd9f1695cf feat: Reduced clutter on game list 2024-03-15 20:36:41 -03:00
Akatsuki Levi
22f8b858a2 feat: Removed telemetry 2024-03-15 20:36:36 -03:00
Akatsuki Levi
269d113c29 fix: Increased max sensitivity for mouse panning 2024-03-15 20:36:32 -03:00
Akatsuki Levi
c4bb998c68 feat: Added Build ID on game properties panel 2024-03-15 20:36:23 -03:00
ddutchie
5d8f3f7cb1 Revert "Quality-of-Life Improvements" 2024-03-15 22:26:16 +00:00
Levi Akatsuki
e1538413e9 Quality-of-Life Improvements 2024-03-15 21:48:09 +00:00
Amir Abravesh
9895cc94d0 Updating moltenVK and macOS icon 2024-03-13 13:00:31 +00:00
Fijxu
b09f9ee1f4 Fix: add missing log.h header file 2024-03-13 05:45:06 +00:00
JuanCStar
113b014b08 chore: re-enabled web service 2024-03-12 10:51:26 +01:00
JuanCStar
18baf880c4 fix: clang format 2024-03-12 09:13:35 +01:00
Levi Akatsuki
e5a954617b Improved Addons Manager 2024-03-12 04:30:44 +00:00
JuanCStar
de83c5e6a6 fix: clang format 2024-03-11 11:00:10 +01:00
MushrooomSooop
9afd74abde Added requirement for firmware upon game boot 2024-03-11 09:47:52 +00:00
ddutchie
bd5bdbe6c7 Add -ql argument to launch QLaunch at startup 2024-03-10 23:20:48 +00:00