aboutsummaryrefslogtreecommitdiff
path: root/src/Theme.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-04-14 11:38:52 +0200
committerdec05eba <dec05eba@protonmail.com>2025-04-14 11:38:52 +0200
commit0018788780d756dbf0d3a77f6b40b384183348f7 (patch)
tree63c8e5f5f0ffb60f85d500c35d4aa2d1d5c73e56 /src/Theme.cpp
parente3e6c3c3b9485f5cdb375eec77b3ae0f1f8a4135 (diff)
Redesign audio to support multiple audio tracks explicitly
Diffstat (limited to 'src/Theme.cpp')
-rw-r--r--src/Theme.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Theme.cpp b/src/Theme.cpp
index 2001f7d..c813834 100644
--- a/src/Theme.cpp
+++ b/src/Theme.cpp
@@ -75,7 +75,7 @@ namespace gsr {
if(!theme->folder_texture.load_from_file((resources_path + "images/folder.png").c_str()))
goto error;
- if(!theme->up_arrow_texture.load_from_file((resources_path + "images/up_arrow.png").c_str()))
+ if(!theme->up_arrow_texture.load_from_file((resources_path + "images/up_arrow.png").c_str(), mgl::Texture::LoadOptions{false, false, true}))
goto error;
if(!theme->replay_button_texture.load_from_file((resources_path + "images/replay.png").c_str()))
@@ -93,10 +93,10 @@ namespace gsr {
if(!theme->logo_texture.load_from_file((resources_path + "images/gpu_screen_recorder_logo.png").c_str()))
goto error;
- if(!theme->checkbox_circle_texture.load_from_file((resources_path + "images/checkbox_circle.png").c_str()))
+ if(!theme->checkbox_circle_texture.load_from_file((resources_path + "images/checkbox_circle.png").c_str(), mgl::Texture::LoadOptions{false, false, true}))
goto error;
- if(!theme->checkbox_background_texture.load_from_file((resources_path + "images/checkbox_background.png").c_str()))
+ if(!theme->checkbox_background_texture.load_from_file((resources_path + "images/checkbox_background.png").c_str(), mgl::Texture::LoadOptions{false, false, true}))
goto error;
if(!theme->play_texture.load_from_file((resources_path + "images/play.png").c_str()))
@@ -114,6 +114,9 @@ namespace gsr {
if(!theme->screenshot_texture.load_from_file((resources_path + "images/screenshot.png").c_str()))
goto error;
+ if(!theme->trash_texture.load_from_file((resources_path + "images/trash.png").c_str(), mgl::Texture::LoadOptions{false, false, true}))
+ 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;