button - support sip hide image
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / button.edc
index 58a651d..fbbfb94 100644 (file)
@@ -4144,6 +4144,7 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
       alias: "elm/button/base/naviframe/end_btn/default";
       images {
          image: "00_icon_Back.png" COMP;
+         image: "00_icon_SIP_close.png" COMP;
       }
       parts {
          part { name: "button_image";
@@ -4172,6 +4173,10 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
                rel2.to: "button_image";
                image.normal: "00_icon_Back.png";
             }
+            description { state: "compress" 0.0;
+               inherit: "default" 0.0;
+               image.normal: "00_icon_SIP_close.png";
+            }
          }
          part { name: "back_button.clipper";
             type: RECT;
@@ -4294,6 +4299,18 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
             signal: "elm,state,orient,180";
             action: SIGNAL_EMIT "elm,state,portrait" "elm";
          }
+         program { name: "display_compress_mode";
+            signal: "elm,state,display,compress";
+            source: "elm";
+            action: STATE_SET "compress" 0.0;
+            target: "back_button";
+         }
+         program { name: "display_default_mode";
+            signal: "elm,state,display,default";
+            source: "elm";
+            action: STATE_SET "default" 0.0;
+            target: "back_button";
+         }
       }
    }