From 4d8328a8d5c3f92d938e92865193e3dd73d7a6ed Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 15 Apr 2025 17:06:06 +0200 Subject: Update trash icon again --- images/trash.png | Bin 0 -> 410 bytes include/Theme.hpp | 2 +- src/Theme.cpp | 2 +- src/gui/SettingsPage.cpp | 12 ++++++------ 4 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 images/trash.png diff --git a/images/trash.png b/images/trash.png new file mode 100644 index 0000000..9ae2191 Binary files /dev/null and b/images/trash.png differ diff --git a/include/Theme.hpp b/include/Theme.hpp index fac1dcf..670980f 100644 --- a/include/Theme.hpp +++ b/include/Theme.hpp @@ -42,7 +42,7 @@ namespace gsr { mgl::Texture pause_texture; mgl::Texture save_texture; mgl::Texture screenshot_texture; - mgl::Texture delete_texture; + mgl::Texture trash_texture; mgl::Texture ps4_home_texture; mgl::Texture ps4_options_texture; diff --git a/src/Theme.cpp b/src/Theme.cpp index 143662b..cafaf62 100644 --- a/src/Theme.cpp +++ b/src/Theme.cpp @@ -114,7 +114,7 @@ namespace gsr { if(!theme->screenshot_texture.load_from_file((resources_path + "images/screenshot.png").c_str())) goto error; - if(!theme->delete_texture.load_from_file((resources_path + "images/delete.png").c_str(), mgl::Texture::LoadOptions{false, false, MGL_TEXTURE_SCALE_LINEAR_MIPMAP})) + if(!theme->trash_texture.load_from_file((resources_path + "images/trash.png").c_str(), mgl::Texture::LoadOptions{false, false, MGL_TEXTURE_SCALE_LINEAR_MIPMAP})) goto error; if(!theme->ps4_home_texture.load_from_file((resources_path + "images/ps4_home.png").c_str(), mgl::Texture::LoadOptions{false, false, MGL_TEXTURE_SCALE_LINEAR_MIPMAP})) diff --git a/src/gui/SettingsPage.cpp b/src/gui/SettingsPage.cpp index af338c8..9890d17 100644 --- a/src/gui/SettingsPage.cpp +++ b/src/gui/SettingsPage.cpp @@ -227,9 +227,9 @@ namespace gsr { } std::unique_ptr