diff --git a/Gtk4_Reset/CMakeLists.txt b/Gtk4_Reset/CMakeLists.txt index 2dcb7be..1f5e170 100644 --- a/Gtk4_Reset/CMakeLists.txt +++ b/Gtk4_Reset/CMakeLists.txt @@ -51,6 +51,7 @@ set(RESOURCE_LIST STRIPBLANKS win_input.ui STRIPBLANKS scoreswin.ui STRIPBLANKS mine_menu.xml + shizuku.png final_approach.png style.css style_dark.css diff --git a/Gtk4_Reset/res/shizuku.png b/Gtk4_Reset/res/shizuku.png new file mode 100644 index 0000000..0b256e0 Binary files /dev/null and b/Gtk4_Reset/res/shizuku.png differ diff --git a/Gtk4_Reset/src/ui/MyPrefs.cpp b/Gtk4_Reset/src/ui/MyPrefs.cpp index 3eaacc3..b029502 100644 --- a/Gtk4_Reset/src/ui/MyPrefs.cpp +++ b/Gtk4_Reset/src/ui/MyPrefs.cpp @@ -213,6 +213,8 @@ static void images_list_default(GListStore *store1) my_item_new("img7.xpm", ":2", TRUE)); g_list_store_append(store1, my_item_new("winpe.xpm", ":3", TRUE)); + g_list_store_append(store1, + my_item_new("shizuku.png", ":4", TRUE)); } static void update_images_list(MyPrefs *prefs1) @@ -542,6 +544,9 @@ static void load_image(const char *file_name, int image_item_index, case '3': update_internal_image(prefs, winpe); break; + case '4': + update_resource_image(prefs, "/org/gtk/daleclack/shizuku.png"); + break; } prefs->current_image_index = image_item_index; strncpy(prefs->image_file_name, file_name, PATH_MAX);