diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-03-18 19:13:16 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-03-18 19:13:16 +0100 |
commit | dc70bd27f217413bbda33b4092a3a52a6f1905d5 (patch) | |
tree | 15b8316a8f5ec0bfa01d92451ac2d56174b0a763 /src/Theme.cpp | |
parent | 44e7f57d21680de28a5ccd7b6556697666061fe7 (diff) |
Add controller button icons in hotkeys, separate keyboard hotkeys and controller hotkeys
Diffstat (limited to 'src/Theme.cpp')
-rw-r--r-- | src/Theme.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Theme.cpp b/src/Theme.cpp index e28ff51..fd40c9b 100644 --- a/src/Theme.cpp +++ b/src/Theme.cpp @@ -111,6 +111,21 @@ namespace gsr { if(!theme->screenshot_texture.load_from_file((resources_path + "images/screenshot.png").c_str())) goto error; + if(!theme->ps4_home_texture.load_from_file((resources_path + "images/ps4_home.png").c_str(), mgl::Texture::LoadOptions{false, false, true})) + goto error; + + if(!theme->ps4_dpad_up_texture.load_from_file((resources_path + "images/ps4_dpad_up.png").c_str(), mgl::Texture::LoadOptions{false, false, true})) + goto error; + + if(!theme->ps4_dpad_down_texture.load_from_file((resources_path + "images/ps4_dpad_down.png").c_str(), mgl::Texture::LoadOptions{false, false, true})) + goto error; + + if(!theme->ps4_dpad_left_texture.load_from_file((resources_path + "images/ps4_dpad_left.png").c_str(), mgl::Texture::LoadOptions{false, false, true})) + goto error; + + if(!theme->ps4_dpad_right_texture.load_from_file((resources_path + "images/ps4_dpad_right.png").c_str(), mgl::Texture::LoadOptions{false, false, true})) + goto error; + return true; error: |