PTREL-148: Fix build against Tizen 3.0 EFL packages
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / button.edc
index 9fa44b8..f0741a3 100644 (file)
             clip_to: "elm.swallow.content.shadow.clipper";
             description { state: "default" 0.0;
                source: "elm.swallow.content";
-               proxy.source_clip: 0;
                rel1 {
                   to: "elm.swallow.content";
                   offset: BUTTON_STYLE1_NORMAL_TOP_OFFSET_INC;
             clip_to: "icon_clipper";
             description { state: "default" 0.0;
                source: "elm.swallow.content";
-               proxy.source_clip: 0;
                rel1.to: "elm.swallow.content";
                rel2.to: "elm.swallow.content";
             }
             clip_to: "elm.swallow.content.shadow.clipper";
             description { state: "default" 0.0;
                source: "elm.swallow.content";
-               proxy.source_clip: 0;
                rel1 {
                   to: "elm.swallow.content";
                   offset: BUTTON_POPUP_NORMAL_TOP_OFFSET_INC;
             clip_to: "icon_clipper";
             description { state: "default" 0.0;
                source: "elm.swallow.content";
-               proxy.source_clip: 0;
                rel1.to: "elm.swallow.content";
                rel2.to: "elm.swallow.content";
             }
             scale: 1; \
             description { state: "default" 0.0; \
                 source: "button_center_part"; \
-                proxy.source_clip: 0; \
                 rel1 { \
                    to: "button_center_part"; \
                    offset: BUTTON_CIRCLE_STYLE_NORMAL_TOP_OFFSET_INC; \
             clip_to: "icon_clipper"; \
             description { state: "default" 0.0; \
                 source: "button_center_part"; \
-                proxy.source_clip: 0; \
                 rel1.to: "button_center_part"; \
                 rel2.to: "button_center_part"; \
             } \
             scale: 1; \
             description { state: "default" 0.0; \
                 source: "button_center_part"; \
-                proxy.source_clip: 0; \
                 rel1 { \
                    to: "button_center_part"; \
                    offset: BUTTON_WARNING_STYLE_NORMAL_TOP_OFFSET_INC; \
             scale: 1;
             description { state: "default" 0.0;
                 source: "elm.swallow.content";
-                proxy.source_clip: 0;
                 rel1 {
                    to: "elm.swallow.content";
                    offset: BUTTON_CIRCLE_STYLE_NORMAL_TOP_OFFSET_INC;
             clip_to: "icon_clipper";
             description { state: "default" 0.0;
                 source: "elm.swallow.content";
-                proxy.source_clip: 0;
                 rel1.to: "elm.swallow.content";
                 rel2.to: "elm.swallow.content";
             }
             scale: 1; \
             description { state: "default" 0.0; \
                 source: "button_center_part"; \
-                proxy.source_clip: 0; \
                 rel1 { \
                    to: "button_center_part"; \
                    offset: BUTTON_EDIT_STYLE_NORMAL_TOP_OFFSET_INC; \
             clip_to: "icon_clipper"; \
             description { state: "default" 0.0; \
                 source: "button_center_part"; \
-                proxy.source_clip: 0; \
                 rel1.to: "button_center_part"; \
                 rel2.to: "button_center_part"; \
             } \
             scale: 1; \
             description { state: "default" 0.0; \
                 source: "button_center_part"; \
-                proxy.source_clip: 0; \
                 rel1 { \
                    to: "button_center_part"; \
                    offset: BUTTON_CIRCLE_STYLE_MINUS_NORMAL_TOP_OFFSET_INC; \
             clip_to: "elm.swallow.icon.shadow.proxy"; \
             description { state: "default" 0.0; \
                source: "jump_image"; \
-               proxy.source_clip: 0; \
                rel1 { \
                   to: "jump_image"; \
                   offset: BUTTON_JUMP_TO_NORMAL_TOP_OFFSET_INC; \
             clip_to: "elm.swallow.icon.proxy"; \
             description { state: "default" 0.0; \
                source: "jump_image"; \
-               proxy.source_clip: 0; \
                rel1.to: "jump_image"; \
                rel2.to: "jump_image"; \
             } \
@@ -3696,7 +3682,6 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
             scale: 1; \
             description { state: "default" 0.0; \
                 source: "button_center_part"; \
-                proxy.source_clip: 0; \
                 rel1 { \
                    to: "button_center_part"; \
                    offset: BUTTON_COLORSELECTOR_NORMAL_TOP_OFFSET_INC; \
@@ -3727,7 +3712,6 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
             clip_to: "icon_clipper"; \
             description { state: "default" 0.0; \
                 source: "button_center_part"; \
-                proxy.source_clip: 0; \
                 rel1.to: "button_center_part"; \
                 rel2.to: "button_center_part"; \
             } \
@@ -5306,7 +5290,6 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
             clip_to: "arrow_expand.shadow.clipper";
             description { state: "default" 0.0;
                source: "arrow_expand";
-               proxy.source_clip: 0;
                rel1 {
                   to: "arrow_expand";
                   offset: BUTTON_EXPANDABLE_NORMAL_TOP_OFFSET_INC;
@@ -5337,7 +5320,6 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
             clip_to: "icon_clipper";
             description { state: "default" 0.0;
                source: "arrow_expand";
-               proxy.source_clip: 0;
                rel1.to: "arrow_expand";
                rel2.to: "arrow_expand";
             }
@@ -5802,6 +5784,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 {