[button] add transparent style for not showing focus frame.
authorWooHyun Jung <wh0705.jung@samsung.com>
Tue, 9 Jul 2013 12:00:51 +0000 (21:00 +0900)
committerJaehwan Kim <jae.hwan.kim@samsung.com>
Tue, 9 Jul 2013 12:03:02 +0000 (21:03 +0900)
themes/widgets/button.edc

index 9fa44b8..c05e7d5 100644 (file)
@@ -5802,6 +5802,54 @@ BUTTON_DEFAULT_FOCUS_STYLES("focus_top", "00_list_group_bg_top_focus.png")
 BUTTON_DEFAULT_FOCUS_STYLES("focus_center", "00_list_group_bg_center_focus.png")
 BUTTON_DEFAULT_FOCUS_STYLES("focus_bottom", "00_list_group_bg_bottom_focus.png")
 
+///////////////////////////////////////////////////////////////////////////////////
+   group { name: "elm/button/base/transparent";
+      data {
+         item: "focus_highlight" "on";
+      }
+      parts {
+         part { name: "elm.swallow.content";
+            type: SWALLOW;
+            scale: 1;
+            description { state: "default" 0.0;
+            }
+         }
+         part { name: "over2";
+            type: RECT;
+            repeat_events: 1;
+            ignore_flags: ON_HOLD;
+            description { state: "default" 0.0;
+               color: 0 0 0 0;
+            }
+         }
+         part { name: "over3";
+            type: RECT;
+            repeat_events: 1;
+            description { state: "default" 0.0;
+               color: 0 0 0 0;
+            }
+         }
+      }
+      programs {
+         program { name: "button_click";
+            signal: "mouse,down,1";
+            source: "over2";
+            action: SIGNAL_EMIT "elm,action,press" "";
+         }
+         program { name: "button_unclick";
+            signal: "mouse,up,1";
+            source: "over3";
+            action: SIGNAL_EMIT "elm,action,unpress" "";
+         }
+         program { name: "button_click3";
+            signal: "mouse,clicked,1";
+            source: "over2";
+            action: SIGNAL_EMIT "elm,action,click" "";
+         }
+      }
+   }
+///////////////////////////////////////////////////////////////////////////////////
+
    group { name: "elm/button/base/search_clear";
       inherit: "elm/button/base/editfield_clear";
       images {