Add star image to the quick access bookmark thumbnails 06/49206/5
authorKamil Nowac <k.nowac@samsung.com>
Thu, 8 Oct 2015 10:27:34 +0000 (12:27 +0200)
committerJanusz Majnert <j.majnert@samsung.com>
Thu, 8 Oct 2015 12:34:11 +0000 (05:34 -0700)
[Issue] https://bugs.tizen.org/jira/browse/TT-202
[Problem] No image
[Solution] Added image according to the GUI guideline
[Verification] Add some bookmarks. Go to the Bookmarks
in Quick Access menu. Star should be visible.

Change-Id: Iad04388526e84618d58a01065228366b6094f5fa
Signed-off-by: Kamil Nowac <k.nowac@samsung.com>
services/MainUI/edc/MainUI.edc
services/MainUI/images/ic_thumbnail_favorite_01.png [new file with mode: 0644]

index 55d5a220eb2a5d5c25265b7fc468736bec4fcebc..46d4b5ccc14b92a7ec31f7942019f9045fb3a677 100644 (file)
@@ -58,32 +58,35 @@ group{
     }
 }
 
-group { name: "elm/button/base/thumbButton";
-               images {
-                       image: "ico_delete.png" COMP;
-               }
-               parts {
-                       part { name: "elm.swallow.content";
-                               type: RECT;
-                               mouse_events: 1;
-                               repeat_events: 1;
-                               description { state: "default" 0.0;
-                                       color: 0 0 0 0;
-                                       visible: 1;
-                                       rel1.relative: 0.0 0.0;
-                       rel2.relative: 1.0 1.0;
-                       align: 0.0 0.0;
-               }
-                       }
-               }
-
-               programs {
-                       program { name: "mouse,clicked";
-                               signal: "mouse,down,1";
-                               source: "elm.swallow.content";
-                               action: SIGNAL_EMIT "elm,action,click" "";
-                       }
-               }
+group {
+    name: "elm/button/base/thumbButton";
+    images {
+        image: "ico_delete.png" COMP;
+    }
+    parts {
+        part {
+            name: "elm.swallow.content";
+            type: RECT;
+            mouse_events: 1;
+            repeat_events: 1;
+            description {
+                state: "default" 0.0;
+                color: 0 0 0 0;
+                visible: 1;
+                rel1.relative: 0.0 0.0;
+                rel2.relative: 1.0 1.0;
+                align: 0.0 0.0;
+            }
+        }
+    }
+    programs {
+        program {
+            name: "mouse,clicked";
+            signal: "mouse,down,1";
+            source: "elm.swallow.content";
+            action: SIGNAL_EMIT "elm,action,click" "";
+        }
+    }
 }
 
 group { name: "mv_bookmarks";
@@ -735,7 +738,6 @@ group { name: "elm/button/base/small_tile";
                 inherit: "default" 0.0;
             }
         }
-
         part { name: "border_top";
             type: RECT;
             description { state: "default" 0.0;
@@ -942,6 +944,7 @@ group { name: "elm/gengrid/item/grid_item/default";
        images {
                image: "web_frame_selected.png" COMP;
                image: "ico_bg_round_shape_37x37.png" COMP;
+                image: "ic_thumbnail_favorite_01.png" COMP;
        }
        parts {
                part { name: "bg";
@@ -980,6 +983,25 @@ group { name: "elm/gengrid/item/grid_item/default";
                        }
                }
 
+                part {
+                    name: "bookmark_thumbButton";
+                    type: IMAGE;
+                    mouse_events: 1;
+                    repeat_events: 1;
+                    description {
+                        state: "default" 0.0;
+                        visible: 1;
+                        rel1.to: "elm.thumbnail";
+                        rel1.offset: 284 18;
+                        rel1.relative: 0.0 0.0;
+                        rel2.to: "elm.thumbnail";
+                        rel2.offset: 324 58;
+                        rel2.relative: 0.0 0.0;
+                        align: 0.0 0.0;
+                        image.normal: "ic_thumbnail_favorite_01.png";
+                    }
+                }
+
                part { name: "focus_highlight";
                        type: IMAGE;
                        description { state: "default" 0.0;
diff --git a/services/MainUI/images/ic_thumbnail_favorite_01.png b/services/MainUI/images/ic_thumbnail_favorite_01.png
new file mode 100644 (file)
index 0000000..0ea3265
Binary files /dev/null and b/services/MainUI/images/ic_thumbnail_favorite_01.png differ