[UX 4.4] Check and Radio UX implementation
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / check.edc
index 50230f0..dc04751 100644 (file)
    group { name: "elm/check/base/"style_name; \
       images { \
          image: "00_check_bg.png" COMP; \
-         image: "00_check_bg_press.png" COMP; \
-         image: "00_check_bg_dim.png" COMP; \
-         image: "00_check_checking.png" COMP; \
-         image: "00_check_checking_dim.png" COMP; \
+         image: "00_check_dim_bg.png" COMP; \
+         image: "00_check_dim.png" COMP; \
+         image: "00_check_Activated.png" COMP; \
       } \
       script { \
          public check_state = CHECK_STATE_DEFAULT; \
             description { state: "visible" 0.0; \
                inherit: "default" 0.0; \
             } \
-            description { state: "pressed" 0.0; \
-               inherit: "default" 0.0; \
-               image.normal: "00_check_bg_press.png"; \
-            } \
             description { state: "disabled" 0.0; \
                inherit: "default" 0.0; \
-               image.normal: "00_check_bg_dim.png"; \
+               image.normal: "00_check_dim_bg.png"; \
             } \
          } \
          part { name: "check"; \
@@ -82,7 +77,7 @@
                rel1.to: "bg"; \
                rel2.to: "bg"; \
                visible: 0; \
-               image.normal: "00_check_checking.png"; \
+               image.normal: "00_check_Activated.png"; \
                color: 255 255 255 0; \
             } \
             description { state: "visible" 0.0; \
@@ -93,7 +88,8 @@
             description { state: "disabled_visible" 0.0; \
                inherit: "default" 0.0; \
                visible: 1; \
-               image.normal: "00_check_checking_dim.png"; \
+               image.normal: "00_check_dim.png"; \
+               color: 255 255 255 255; \
             } \
          } \
          part { name: "sequence_clip"; \
          program { name: "touch_sound"; \
             action: PLAY_SAMPLE "touch_sound" 1.0; \
          } \
-         program { name: "bg_normal"; \
-            signal: "mouse,up,1"; \
-            source: "events2"; \
-            action: STATE_SET "default" 0.0; \
-            target: "bg"; \
-         } \
-         program { name: "pressed"; \
-            signal: "mouse,down,1"; \
-            source: "events2"; \
-            action: STATE_SET "pressed" 0.0; \
-            target: "bg"; \
-         } \
          program { name: "mouse,out"; \
             signal: "mouse,out"; \
             source: "events2"; \
@@ -411,9 +395,9 @@ CHECK_STYLE_DEFAULT("default/extended", CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MI
    group { name: "elm/check/base/"style_name; \
       images { \
          image: "00_check_bg.png" COMP; \
-         image: "00_check_bg_dim.png" COMP; \
-         image: "00_check_checking.png" COMP; \
-         image: "00_check_checking_dim.png" COMP; \
+         image: "00_check_dim_bg.png" COMP; \
+         image: "00_check_dim.png" COMP; \
+         image: "00_check_Activated.png" COMP; \
       } \
       script { \
          public check_state = CHECK_STATE_DEFAULT; \
@@ -442,7 +426,7 @@ CHECK_STYLE_DEFAULT("default/extended", CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MI
             } \
             description { state: "disabled" 0.0; \
                inherit: "default" 0.0; \
-               image.normal: "00_check_bg_dim.png"; \
+               image.normal: "00_check_dim_bg.png"; \
             } \
          } \
          part { name: "check"; \
@@ -452,7 +436,7 @@ CHECK_STYLE_DEFAULT("default/extended", CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MI
                rel1.to: "bg"; \
                rel2.to: "bg"; \
                visible: 0; \
-               image.normal: "00_check_checking.png"; \
+               image.normal: "00_check_Activated.png"; \
             } \
             description { state: "visible" 0.0; \
                inherit: "default" 0.0; \
@@ -461,7 +445,7 @@ CHECK_STYLE_DEFAULT("default/extended", CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MI
             description { state: "disabled_visible" 0.0; \
                inherit: "default" 0.0; \
                visible: 1; \
-               image.normal: "00_check_checking_dim.png"; \
+               image.normal: "00_check_dim.png"; \
             } \
          } \
          part { name: "elm.swallow.content"; \