[button] Add transparent button style for supporting focusable state to unfocusable...
authorWooHyun Jung <wh0705.jung@samsung.com>
Wed, 24 Apr 2013 10:53:56 +0000 (19:53 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 29 May 2013 10:19:57 +0000 (19:19 +0900)
themes/widgets/button.edc

index cf30280..145a63f 100644 (file)
@@ -7222,6 +7222,47 @@ group { name: "elm/button/base/bubble_circle/sent";
       }
    }
 
+   group { name: "elm/button/base/focus";
+      parts {
+         part { name: "elm.content.swallow";
+            type: SWALLOW;
+            scale: 1;
+            description { state: "default" 0.0;
+            }
+         }
+         part { name: "over2";
+            type: RECT;
+            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_unclick3";
+            action: SIGNAL_EMIT "elm,action,click" "";
+         }
+      }
+   }
+
+
    group { name: "elm/button/base/search_clear";
       inherit: "elm/button/base/editfield_clear";
       parts {