From dc70bd27f217413bbda33b4092a3a52a6f1905d5 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 18 Mar 2025 19:13:16 +0100 Subject: Add controller button icons in hotkeys, separate keyboard hotkeys and controller hotkeys --- src/Theme.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/Theme.cpp') 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: -- cgit v1.2.3-70-g09d2