Add Default Background Image 95/86795/1 accepted/tizen/common/20160906.131332 accepted/tizen/mobile/20160906.222952 submit/tizen/20160906.055043
authorjunkyu han <junkyu.han@samsung.com>
Mon, 5 Sep 2016 02:31:34 +0000 (11:31 +0900)
committerjunkyu han <junkyu.han@samsung.com>
Mon, 5 Sep 2016 02:31:34 +0000 (11:31 +0900)
Change-Id: Ie3fad75249d8907dd9ba8dff6681d3dd52897b3b

data/images/CMakeLists.txt
data/images/home_001.png [new file with mode: 0755]
include/util.h
src/menu_screen.c

index cb60ac7..be42417 100644 (file)
@@ -1 +1,2 @@
 INSTALL(FILES default.png DESTINATION ${IMAGEDIR})
+INSTALL(FILES home_001.png DESTINATION ${IMAGEDIR})
diff --git a/data/images/home_001.png b/data/images/home_001.png
new file mode 100755 (executable)
index 0000000..ba5cd1e
Binary files /dev/null and b/data/images/home_001.png differ
index 38c4e3f..e77a3e1 100644 (file)
@@ -62,6 +62,7 @@
 
 /* Packaging */
 #define DEFAULT_ICON IMAGEDIR"/default.png"
+#define DEFAULT_BG IMAGEDIR"/home_001.png"
 
 #ifdef APPFWK_MEASUREMENT
 #define PRINT_APPFWK() do {            \
index 42b36fc..2b0bc0d 100755 (executable)
@@ -336,6 +336,7 @@ static void _create_bg(void)
        evas_object_size_hint_max_set(bg, width, height);
        if (!elm_image_file_set(bg, buf, NULL)) {
                _E("Failed to set image file : %s", buf);
+               elm_image_file_set(bg, DEFAULT_BG, NULL);
        }
 
        elm_win_resize_object_add(menu_screen_get_win(), bg);