Image and styles refactoring for Button and Check.
authorAmit Kamboj <amit.kamboj@samsung.com>
Thu, 18 Apr 2013 04:56:00 +0000 (10:26 +0530)
committerSungho Kwak <sungho1.kwak@samsung.com>
Tue, 23 Apr 2013 08:44:35 +0000 (17:44 +0900)
Change-Id: I120b89101543d6ca27a4633aa5ceebba2185321f

themes/images/tizen-hd/Others/00_check_checking.png [deleted file]
themes/inc/tizen-hd-inc.edc
themes/widgets/button.edc
themes/widgets/calendar.edc
themes/widgets/check.edc

diff --git a/themes/images/tizen-hd/Others/00_check_checking.png b/themes/images/tizen-hd/Others/00_check_checking.png
deleted file mode 100644 (file)
index eae81d5..0000000
Binary files a/themes/images/tizen-hd/Others/00_check_checking.png and /dev/null differ
index ca5f582..3ca9386 100644 (file)
 #define BUTTON_EXPANDABLE_NUMBER_TEXT_MIN_MAX_INC 50 46
 #define BUTTON_EXPANDABLE_NUMBER_FONT_SIZE_INC 28
 
-#if 0
-#define BUTTON_CONTACT_DELETE_BG_NORMAL_MIN_INC 50 74
-#define BUTTON_CONTACT_DELETE_BG_BORDER_INC 8 0 5 5
-#define BUTTON_CONTACT_DELETE_PADDING_LEFT_TOP_MIN_INC 36 2
-#define BUTTON_CONTACT_DELETE_PADDING_RIGHT_BOTTOM_MIN_INC 14 2
-#define BUTTON_CONTACT_DELETE_PADDING_ICON_TEXT_VISIBLE_MIN_INC 5 0
-#define BUTTON_CONTACT_DELETE_ICON_ICONONLY_MIN_INC 42 42
-#define BUTTON_CONTACT_DELETE_FONT_SIZE_INC 32
-
-#define BUTTON_CONTACT_STYLE_BG_MIN_MAX_INC 74 74
-#define BUTTON_CONTACT_STYLE_IMAGE_MIN_MAX_INC 74 74
-
-#define BUTTON_TEXT_CONTACTS_DELETE_NORMAL_COLOR_INC 249 249 249 255
-#define BUTTON_TEXT_CONTACTS_DELETE_PRESSED_COLOR_INC 249 249 249 255
-#define BUTTON_TEXT_CONTACTS_DELETE_DISABLED_COLOR_INC 0 0 0 128
-#endif
-
 #define BUTTON_CONTACT_BG_MIN_INC 18 66
 #define BUTTON_CONTACT_BG_BORDER_INC 8 8 8 8
 #define BUTTON_CONTACT_LEFT_PADDING_MIN_INC 12 0
 #define BUTTON_JUMP_TOP_PADDING_TO_SCROLLER_MIN_MAX_INC 26 18
 #define BUTTON_JUMP_LEFT_PADDING_TO_SCROLLER_MIN_MAX_INC 26 18
 
-#define CHECK_DELETE_TEXT_DELETE_NORMAL_COLOR_INC 249 249 249 255
-#define CHECK_DELETE_TEXT_DELETE_PRESS_COLOR_INC 249 249 249 255
-
 #define CHECK_DEFAULT_TEXT_FONT_SIZE_INC 36
 
 #define CHECK_ONOFF_BG_NORMAL_MIN_MAX_INC 135 63
 #define CHECK_STYLE_DEFAULT_EXTENDED_BG_IMAGE_MIN_HEIGHT_INC 91
 #define CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC 63 63
 
-#define CHECK_STYLE_DELETE_BUTTON_BG_IMAGE_MIN_MAX_WIDTH_INC 74 74
-#define CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_IMAGE_MIN_MAX_WIDTH_INC 124 74
-#define CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_BORDER_INC 8 0 5 5
-#define CHECK_STYLE_DELETE_BUTTON_TEXT_FONT_SIZE_INC 32
-
 #define INDEX_BG_NINEPATCH_INC 8 8 8 8
 #define INDEX_ITEM_WIDTH_INC 52
 #define INDEX_ITEM_HEIGHT_INC 33
index 431e008..0e24f71 100644 (file)
@@ -7171,529 +7171,5 @@ group { name: "elm/button/base/bubble_circle/sent";
       }
    }
 
-
-///////////////////////////////////////////////////////////////////////////////////////
-#if 0
-   group { name: "elm/button/base/contacts/delete";
-      images {
-         image: "00_button_edit_Delete.png" COMP;
-         image: "00_button_edit_Delete_press.png" COMP;
-         image: "00_button_edit_dim.png" COMP;
-         image: "00_button_edit_focus.png" COMP;
-      }
-      script {
-         public button_state = BUTTON_STATE_ENABLED;
-      }
-      parts {
-         part { name: "button_image";
-            scale: 1;
-            description { state: "default" 0.0;
-               min: BUTTON_CONTACT_DELETE_BG_NORMAL_MIN_INC;
-               image {
-                  normal: "00_button_edit_Delete.png";
-                  border: BUTTON_CONTACT_DELETE_BG_BORDER_INC;
-                  border_scale: 1;
-               }
-            }
-            description { state: "clicked" 0.0;
-               inherit: "default" 0.0;
-               image.normal: "00_button_edit_Delete_press.png";
-            }
-            description { state: "disabled" 0.0;
-               inherit: "default" 0.0;
-               image.normal: "00_button_edit_dim.png";
-            }
-            description { state: "focused" 0.0;
-               inherit: "default" 0.0;
-               image.normal: "00_button_edit_focus.png";
-            }
-         }
-         part { name: "padding_left_top";
-            type: RECT;
-            scale: 1;
-            mouse_events: 0;
-            description { state: "default" 0.0;
-               align: 0.0 0.0;
-               rel2.relative: 0.0 0.0;
-               min: BUTTON_CONTACT_DELETE_PADDING_LEFT_TOP_MIN_INC;
-               fixed: 1 1;
-               visible: 0;
-            }
-         }
-         part { name: "padding_right_bottom";
-            type: RECT;
-            scale: 1;
-            mouse_events: 0;
-            description { state: "default" 0.0;
-               align: 1.0 1.0;
-               rel1.relative: 1.0 1.0;
-               min: BUTTON_CONTACT_DELETE_PADDING_RIGHT_BOTTOM_MIN_INC;
-               fixed: 1 1;
-               visible: 0;
-            }
-         }
-         part { name: "padding_icon_text";
-            type: RECT;
-            scale: 1;
-            mouse_events: 0;
-            description { state: "default" 0.0; //when only icon or no icon is there
-               align: 0.0 0.0;
-               rel1 {
-                  relative: 1.0 0.0;
-                  to: "elm.swallow.content";
-               }
-               rel2.to: "elm.swallow.content";
-               fixed: 1 0;
-               min: 0 0;
-               visible: 0;
-            }
-            description { state: "icononly" 0.0;
-               inherit: "default" 0.0;
-            }
-            description { state: "visible" 0.0; //when icon is visible
-               inherit: "default" 0.0;
-               min: BUTTON_CONTACT_DELETE_PADDING_ICON_TEXT_VISIBLE_MIN_INC;
-            }
-         }
-         part { name: "elm.swallow.content";
-            type: SWALLOW;
-            scale: 1;
-            clip_to: "clipper";
-            description { state: "default" 0.0;
-               visible: 0;
-               align: 0.0 0.5;
-               rel1 {
-                  relative: 1.0 1.0;
-                  to: "padding_left_top";
-               }
-               rel2 {
-                  relative: 1.0 0.0;
-                  to_x: "padding_left_top";
-                  to_y: "padding_right_bottom";
-               }
-               fixed: 1 0;
-            }
-            description { state: "visible" 0.0;
-               fixed: 1 0;
-               align: 0.0 0.5;
-               rel1 {
-                  relative: 1.0 1.0;
-                  to: "padding_left_top";
-               }
-               rel2 {
-                  relative: 1.0 0.0;
-                  to_x: "padding_left_top";
-                  to_y: "padding_right_bottom";
-               }
-               aspect: 1.0 1.0;
-               aspect_preference: VERTICAL;
-            }
-            description { state: "icononly" 0.0;
-               min: BUTTON_CONTACT_DELETE_ICON_ICONONLY_MIN_INC;
-               rel1 {
-                  relative: 1.0 1.0;
-                  to: "padding_left_top";
-               }
-               rel2 {
-                  relative: 0.0 0.0;
-                  to: "padding_right_bottom";
-               }
-               aspect: 1.0 1.0;
-               aspect_preference: VERTICAL;
-            }
-         }
-         part { name: "elm.text";
-            type: TEXT;
-            mouse_events: 0;
-            scale: 1;
-            clip_to: "clipper";
-            description { state: "default" 0.0;
-               rel1 {
-                  relative: 1.0 1.0;
-                  to_x: "padding_icon_text";
-                  to_y: "padding_left_top";
-               }
-               rel2 {
-                  relative: 0.0 0.0;
-                  to: "padding_right_bottom";
-               }
-               color: BUTTON_TEXT_CONTACTS_DELETE_NORMAL_COLOR_INC;
-               text {
-                  font: "Tizen:style=Regular";
-                  size: BUTTON_CONTACT_DELETE_FONT_SIZE_INC;
-                  min: 1 0;
-                  text: "Delete";
-                  max: 1 0;
-                  text_class: "tizen";
-               }
-            }
-            description { state: "visible" 0.0;
-               inherit: "default" 0.0;
-            }
-            description { state: "clicked" 0.0;
-               inherit: "default" 0.0;
-               color: BUTTON_TEXT_CONTACTS_DELETE_PRESSED_COLOR_INC;
-            }
-            description { state: "disabled" 0.0;
-               inherit: "default" 0.0;
-            }
-            description { state: "disabled_visible" 0.0;
-               inherit: "default" 0.0;
-               color: BUTTON_TEXT_CONTACTS_DELETE_DISABLED_COLOR_INC;
-            }
-            description { state: "focused" 0.0;
-               inherit: "default" 0.0;
-               min: 0 0;
-               color: BUTTON_TEXT_CONTACTS_DELETE_PRESSED_COLOR_INC;
-            }
-         }
-         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;
-            }
-         }
-         part { name: "clipper";
-            type: RECT;
-            description { state: "default" 0.0;
-               color: 255 255 255 255;
-            }
-         }
-         part { name: "disabler";
-            type: RECT;
-            description { state: "default" 0.0;
-               color: 0 0 0 0;
-               visible: 0;
-            }
-            description { state: "disabled" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-            }
-         }
-      }
-      programs {
-         program { name: "button_click";
-            signal: "mouse,down,1";
-            source: "over2";
-            action: SIGNAL_EMIT "elm,action,press" "";
-            after: "button_click_anim";
-         }
-         program { name: "button_click_anim";
-            action: STATE_SET "clicked" 0.0;
-            target: "button_image";
-            after: "text_clicked";
-         }
-         program { name: "text_clicked";
-            script {
-               new st[31];
-               new Float:vl;
-               get_state(PART:"elm.text", st, 30, vl);
-               if (!strcmp(st, "visible"))
-                 set_state(PART:"elm.text", "clicked", 0.0);
-            }
-         }
-         program { name: "button_unpress";
-            action: SIGNAL_EMIT "elm,action,unpress" "";
-         }
-         program { name: "button_mouseout_clicked";
-            signal: "mouse,up,1";
-            source: "over3";
-            script {
-               new st[31];
-               new Float:vl;
-               get_state(PART:"elm.swallow.content", st, 30, vl);
-               if (strcmp(st, "icononly"))
-                 {
-                    emit("elm,action,default,text,set", "");
-                    set_state(PART:"elm.text", "visible", 0.0);
-                 }
-               if (get_int(button_state) != BUTTON_STATE_DISABLED)
-                 set_state(PART:"button_image", "default", 0.0);
-            }
-            after: button_unpress;
-         }
-         program { name: "touch_snd";
-            signal: "mouse,clicked,1";
-            source: "over2";
-            action: PLAY_SAMPLE "touch_sound" 1.0;
-            after: button_unclick3;
-         }
-         program { name: "button_unclick3";
-            action: SIGNAL_EMIT "elm,action,click" "";
-         }
-         program { name: "text_show";
-            signal: "elm,state,text,visible";
-            source: "elm";
-            script {
-               new st[31];
-               new Float:vl;
-               get_state(PART:"elm.swallow.content", st, 30, vl);
-               if (!strcmp(st, "icononly"))
-                 {
-                    set_state(PART:"elm.swallow.content", "visible", 0.0);
-                    set_state(PART:"padding_icon_text", "visible", 0.0);
-                 }
-               if (get_int(button_state) != BUTTON_STATE_DISABLED)
-                 set_state(PART:"elm.text", "visible", 0.0);
-               else
-                 set_state(PART:"elm.text", "disabled_visible", 0.0);
-            }
-         }
-         program { name: "text_hide";
-            signal: "elm,state,text,hidden";
-            source: "elm";
-            script {
-               new st[31];
-               new Float:vl;
-               get_state(PART:"elm.swallow.content", st, 30, vl);
-               if (!strcmp(st, "visible"))
-                 {
-                    set_state(PART:"elm.swallow.content", "icononly", 0.0);
-                    set_state(PART:"padding_icon_text", "icononly", 0.0);
-                 }
-               set_state(PART:"elm.text", "default", 0.0);
-            }
-         }
-         program { name: "icon_show";
-            signal: "elm,state,icon,visible";
-            source: "elm";
-            script {
-               new st[31];
-               new Float:vl;
-               get_state(PART:"elm.text", st, 30, vl);
-               if (!strcmp(st, "visible"))
-                 {
-                    set_state(PART:"elm.swallow.content", "visible", 0.0);
-                    set_state(PART:"padding_icon_text", "visible", 0.0);
-                 }
-               else
-                 {
-                    set_state(PART:"elm.swallow.content", "icononly", 0.0);
-                    set_state(PART:"padding_icon_text", "icononly", 0.0);
-                 }
-            }
-         }
-         program { name: "icon_hide";
-            signal: "elm,state,icon,hidden";
-            source: "elm";
-            action: STATE_SET "default" 0.0;
-            target: "elm.swallow.content";
-            target: "padding_icon_text";
-         }
-         program { name: "disable";
-            signal: "elm,state,disabled";
-            source: "elm";
-            action: STATE_SET "disabled" 0.0;
-            target: "button_image";
-            target: "disabler";
-            after: "disable_text";
-         }
-         program { name: "disable_text";
-            script {
-               new st[31];
-               new Float:vl;
-               get_state(PART:"elm.text", st, 30, vl);
-               if (!strcmp(st, "visible"))
-                 set_state(PART:"elm.text", "disabled_visible", 0.0);
-               else
-                 set_state(PART:"elm.text", "disabled", 0.0);
-               set_int(button_state, BUTTON_STATE_DISABLED);
-            }
-         }
-         program { name: "enable";
-            signal: "elm,state,enabled";
-            source: "elm";
-            action: STATE_SET "default" 0.0;
-            target: "button_image";
-            target: "disabler";
-            after: "enable_text";
-         }
-         program { name: "enable_text";
-            script {
-               new st[31];
-               new Float:vl;
-               get_state(PART:"elm.text", st, 30, vl);
-               if (!strcmp(st, "disabled_visible"))
-                 set_state(PART:"elm.text", "visible", 0.0);
-               else
-                 set_state(PART:"elm.text", "default", 0.0);
-               set_int(button_state, BUTTON_STATE_ENABLED);
-            }
-         }
-         program { name: "focused";
-            //signal: "elm,action,focus";
-            //source: "elm";
-            action: STATE_SET "focused" 0.0;
-            target: "button_image";
-            target: "elm.text";
-         }
-         program { name: "unfocused";
-            //signal: "elm,action,unfocus";
-            //source: "elm";
-            action: STATE_SET "default" 0.0;
-            target: "button_image";
-            after: "unfocus_text";
-         }
-         program { name: "unfocus_text";
-            action: STATE_SET "visible" 0.0;
-            target: "elm.text";
-         }
-      }
-   }
-
-/////////////////////////////////////////////////////////////////////
-#define BUTTON_CONTACT_STYLES(style_name, image_normal, image_press) \
-   group { name: "elm/button/base/contact/"style_name; \
-      images { \
-         image: "00_circle_button.png" COMP; \
-         image: "00_circle_button_press.png" COMP; \
-         image: image_normal COMP; \
-         image: image_press COMP; \
-      } \
-      parts { \
-         part { name: "button_image"; \
-            scale: 1; \
-            description { state: "default" 0.0; \
-               min: BUTTON_CONTACT_STYLE_BG_MIN_MAX_INC; \
-               max: BUTTON_CONTACT_STYLE_BG_MIN_MAX_INC; \
-               image.normal: "00_circle_button.png"; \
-            } \
-            description { \
-               state: "clicked" 0.0; \
-               inherit: "default" 0.0; \
-               image.normal: "00_circle_button_press.png"; \
-            } \
-            description { \
-               state: "disabled" 0.0; \
-               inherit: "default" 0.0; \
-               image.normal: "00_circle_button.png"; \
-            } \
-         } \
-         part { name: "button_center_part"; \
-            scale: 1; \
-            clip_to: "disclip"; \
-            description { state: "default" 0.0; \
-               min: BUTTON_CONTACT_STYLE_IMAGE_MIN_MAX_INC; \
-               max: BUTTON_CONTACT_STYLE_IMAGE_MIN_MAX_INC; \
-               image.normal: image_normal; \
-            } \
-            description { \
-               state: "clicked" 0.0; \
-               inherit: "default" 0.0; \
-               image.normal: image_press; \
-            } \
-            description { \
-               state: "disabled" 0.0; \
-               inherit: "default" 0.0; \
-            } \
-         } \
-         part { name: "over1"; \
-            type: RECT; \
-            ignore_flags: ON_HOLD; \
-            description { state: "default" 0.0; \
-               color: 0 0 0 0; \
-            } \
-         } \
-         part { name: "over2"; \
-            repeat_events: 1; \
-            description { state: "default" 0.0; \
-               color: 0 0 0 0; \
-            } \
-         } \
-         part { name: "disclip"; \
-            type: RECT; \
-            mouse_events: 0; \
-            description { state: "default" 0.0; \
-               color: BUTTON_DISCLIP_NORMAL_COLOR_INC; \
-            } \
-            description { state: "disabled" 0.0; \
-               inherit: "default" 0.0; \
-               color: BUTTON_DISCLIP_DISABLED_COLOR_INC; \
-            } \
-         } \
-         part { name: "disabler"; \
-            type: RECT; \
-            description { state: "default" 0.0; \
-               color: 0 0 0 0; \
-               visible: 0; \
-            } \
-            description { state: "disabled" 0.0; \
-               inherit: "default" 0.0; \
-               visible: 1; \
-            } \
-         } \
-      } \
-      programs { \
-         program { name: "button_click"; \
-            signal: "mouse,down,1"; \
-            source: "over1"; \
-            action: SIGNAL_EMIT "elm,action,press" ""; \
-            after: "button_click_anim"; \
-         } \
-         program { name: "button_click_anim"; \
-            action: STATE_SET "clicked" 0.0; \
-            target: "button_image"; \
-            target: "button_center_part"; \
-         } \
-         program { name: "button_unclick"; \
-            signal: "mouse,up,1"; \
-            source: "over2"; \
-            action: SIGNAL_EMIT "elm,action,unpress" ""; \
-            after: "button_unclick_anim"; \
-         } \
-         program { name: "button_unclick_anim"; \
-            action: STATE_SET "default" 0.0; \
-            target: "button_image"; \
-            target: "button_center_part"; \
-         } \
-         program { name: "touch_snd"; \
-            signal: "mouse,clicked,1"; \
-            source: "over1"; \
-            action: PLAY_SAMPLE "touch_sound" 1.0; \
-            after: button_unclick3; \
-         } \
-         program { name: "button_unclick3"; \
-            action: SIGNAL_EMIT "elm,action,click" ""; \
-         } \
-         program { name: "disable"; \
-            signal: "elm,state,disabled"; \
-            source: "elm"; \
-            action: STATE_SET "disabled" 0.0; \
-            target: "disabler"; \
-            target: "disclip"; \
-            target: "button_image"; \
-            target: "button_center_part"; \
-         } \
-         program { name: "enable"; \
-            signal: "elm,state,enabled"; \
-            source: "elm"; \
-            action: STATE_SET "default" 0.0; \
-            target: "disabler"; \
-            target: "disclip"; \
-            target: "button_image"; \
-            target: "button_center_part"; \
-         } \
-      } \
-   }
-
-///////////////////////////////////////////////////////////////////////////////////////
-   BUTTON_CONTACT_STYLES("expand_closed", "00_button_expand_closed.png", "00_button_expand_closed_press.png")
-
-   BUTTON_CONTACT_STYLES("expand_opened", "00_button_expand_opened.png", "00_button_expand_opened_press.png")
-
-   BUTTON_CONTACT_STYLES("plus", "00_button_plus.png", "00_button_plus_press.png")
-
-///////////////////////////////////////////////////////////////////////////////////////
-#endif
-
 #undef BUTTON_STATE_ENABLED
 #undef BUTTON_STATE_DISABLED
index 8bfb1ac..e6fc6d9 100644 (file)
            } \
            aspect: 1 1; \
            visible: 0; \
-           image.normal: "00_check_checking.png"; \
+           image.normal: "00_check_Activated.png"; \
        } \
        description { state: "visible" 0.0; \
           inherit: "default" 0.0; \
 
    group { name: "elm/calendar/base/default";
       images {
-         image: "00_check_checking.png" COMP;
+         image: "00_check_Activated.png" COMP;
          image: "00_picker_arrow_left.png" COMP;
          image: "00_picker_arrow_left_press.png" COMP;
          image: "00_picker_arrow_right.png" COMP;
index 919fe76..67f0110 100644 (file)
@@ -1939,913 +1939,6 @@ CHECK_STYLE_FAVORITE("favorite/extended", "00_icon_favorite_on_72x72.png", "00_i
       }
    }
 
-/////////////////////////////////////////////////////////////////////////////
-#if 0
-   group { name: "elm/check/base/delete";
-      images {
-         image: "00_button_minus.png" COMP;
-         image: "00_button_minus_press.png" COMP;
-         image: "00_button_edit_Delete.png" COMP;
-         image: "00_button_edit_Delete_press.png" COMP;
-         image: "00_button_edit_dim.png" COMP;
-         image: "00_button_edit_focus.png" COMP;
-      }
-      script {
-         public button_state = 0; //0:enabled, 1: disabled
-      }
-      parts {
-         part { name: "bg1";
-            scale: 1;
-            description { state: "default" 0.0;
-               align: 1.0 0.5;
-               rel1.to: "bg2";
-               rel2.to: "bg2";
-               image {
-                  normal: "00_button_edit_Delete.png";
-                  border: CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_BORDER_INC;
-                  border_scale: 1;
-               }
-            }
-            description { state: "clicked" 0.0;
-               inherit: "default" 0.0;
-               image.normal: "00_button_edit_Delete_press.png";
-            }
-            description { state: "intermediate" 0.0;
-               inherit: "default" 0.0;
-               visible: 0;
-            }
-            description { state: "on" 0.0;
-               inherit: "default" 0.0;
-               visible: 0;
-            }
-            description { state: "disabled" 0.0;
-               inherit: "default" 0.0;
-               image.normal: "00_button_edit_dim.png";
-            }
-            description { state: "focused" 0.0;
-               inherit: "default" 0.0;
-               image.normal: "00_button_edit_focus.png";
-            }
-         }
-         part { name: "bg2";
-            scale: 1;
-            description { state: "default" 0.0;
-               align: 1.0 0.5;
-               min: CHECK_STYLE_DELETE_BUTTON_BG_IMAGE_MIN_MAX_WIDTH_INC;
-               max: CHECK_STYLE_DELETE_BUTTON_BG_IMAGE_MIN_MAX_WIDTH_INC;
-               rel1.relative: 1.0 0.0;
-               fixed: 1 0;
-               image.normal: "00_button_minus.png";
-            }
-            description { state: "clicked" 0.0;
-               inherit: "default" 0.0;
-               image.normal: "00_button_minus_press.png";
-            }
-            description { state: "intermediate" 0.0;
-               inherit: "default" 0.0;
-               visible: 0;
-            }
-            description { state: "on" 0.0;
-               inherit: "default" 0.0;
-               visible: 0;
-            }
-            description { state: "disabled" 0.0;
-               inherit: "default" 0.0;
-               image.normal: "00_button_minus.png";
-            }
-         }
-         part { name: "clipper";
-            type: RECT;
-            mouse_events: 0;
-            scale: 1;
-            description { state: "default" 0.0;
-               align: 1.0 0.5;
-               min: CHECK_STYLE_DELETE_BUTTON_BG_IMAGE_MIN_MAX_WIDTH_INC;
-               max: CHECK_STYLE_DELETE_BUTTON_BG_IMAGE_MIN_MAX_WIDTH_INC;
-               color: 255 255 255 255;
-            }
-            description { state: "on" 0.0;
-               align: 1.0 0.5;
-               min: CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_IMAGE_MIN_MAX_WIDTH_INC;
-               max: CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_IMAGE_MIN_MAX_WIDTH_INC;
-               color: 255 255 255 255;
-            }
-         }
-         part { name: "bg_expand";
-            mouse_events: 0;
-            scale: 1;
-            clip_to: "clipper";
-            description { state: "default" 0.0;
-               align: 0.0 0.5;
-               min: CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_IMAGE_MIN_MAX_WIDTH_INC;
-               max: CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_IMAGE_MIN_MAX_WIDTH_INC;
-               image {
-                  normal: "00_button_edit_Delete.png";
-                  border: CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_BORDER_INC;
-                  border_scale: 1;
-               }
-               rel1 {
-                  relative: 1 0; 
-                  to_x: "bg2"; 
-               }
-               rel2.to_x: "bg2";
-               fixed: 1 0;
-            }
-            description { state: "clicked" 0.0;
-               inherit: "default" 0.0;
-               align: 1.0 0.5;
-               image.normal: "00_button_edit_Delete_press.png";
-            }
-            description { state: "intermediate" 0.0;
-               inherit: "default" 0.0;
-               rel1 {
-                  relative: 0 0;
-                  to_x: "bg2";
-               }
-               rel2 {
-                  relative: 0 1;
-                  to_x: "bg2";
-               }
-            }
-            description { state: "on" 0.0;
-               inherit: "default" 0.0;
-               align: 1.0 0.5;
-            }
-         }
-         part { name: "check";
-            type: TEXT;
-            mouse_events: 0;
-            scale: 1;
-            description { state: "default" 0.0;
-               visible: 0;
-               align: 1.0 0.5;
-               min: 0 0;
-               text {
-                  font: "Tizen:style=Medium";
-                  size: CHECK_STYLE_DELETE_BUTTON_TEXT_FONT_SIZE_INC;
-                  min: 0 0;
-                  text: "";
-                  text_class: "tizen";
-               }
-            }
-            description { state: "visible" 0.0;
-               align: 1.0 0.5;
-               min: CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_IMAGE_MIN_MAX_WIDTH_INC;
-               max: CHECK_STYLE_DELETE_BUTTON_BG_EXPAND_IMAGE_MIN_MAX_WIDTH_INC;
-               color: CHECK_DELETE_TEXT_DELETE_NORMAL_COLOR_INC;
-               text {
-                  font: "Tizen:style=Medium";
-                  size: CHECK_STYLE_DELETE_BUTTON_TEXT_FONT_SIZE_INC;
-                  min: 1 0;
-                  text: "Delete";
-                  text_class: "tizen";
-               }
-            }
-            description { state: "visible_pressed" 0.0;
-               inherit: "visible" 0.0;
-               color: CHECK_DELETE_TEXT_DELETE_PRESS_COLOR_INC;
-            }
-         }
-         part { name: "elm.swallow.content";
-            type: SWALLOW;
-            description { state: "default" 0.0;
-               fixed: 1 0;
-               visible: 0;
-               color: 255 255 255 255;
-               align: 0.0 0.5;
-               rel1 {
-                  to_x: "bg2";
-                  relative: 1.0 0.0;
-                  offset: 1 1;
-               }
-               rel2 {
-                  to_x: "bg2";
-                  relative: 1.0 1.0;
-                  offset: 2 -2;
-               }
-            }
-            description { state: "visible" 0.0;
-               inherit: "default" 0.0;
-               fixed: 1 1;
-               visible: 1;
-               aspect: 1.0 1.0;
-               aspect_preference: VERTICAL;
-            }
-            description { state: "disabled" 0.0;
-               inherit: "default" 0.0;
-               color: 128 128 128 128;
-            }
-            description { state: "disabled_visible" 0.0;
-               inherit: "default" 0.0;
-               color: 128 128 128 128;
-               fixed: 1 1;
-               visible: 1;
-               aspect: 1.0 1.0;
-            }
-         }
-         part { name: "elm.text";
-            type: TEXTBLOCK;
-            mouse_events: 0;
-            scale: 1;
-            description { state: "default" 0.0;
-               visible: 0;
-               fixed: 1 1;
-               rel1 {
-                  relative: 1.0 0.5;
-                  offset: 1 1;
-                  to_x: "elm.swallow.content";
-               }
-               rel2 {
-                  relative: 1.0 0.5;
-                  offset: -2 -2;
-               }
-               color: 255 255 255 255;
-               align: 0.0 0.5;
-               text {
-                  style: "check_label_textblock_style";
-                  min: 0 0;
-               }
-               color: CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC;
-            }
-            description { state: "visible" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-               text.min: 1 1;
-            }
-            description { state: "disabled" 0.0;
-               inherit: "default" 0.0;
-            }
-            description { state: "disabled_visible" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-               text.min: 1 1;
-               color: CHECK_DEFAULT_TEXT_DISABLED_COLOR_INC;
-            }
-         }
-         part { name: "events1";
-            type: RECT;
-            ignore_flags: ON_HOLD;
-            description { state: "default" 0.0;
-               color: 0 0 0 0;
-               rel1.to: "bg2";
-               rel2.to_x: "elm.text";
-               align: 0.0 0.5;
-            }
-            description { state: "visible" 0.0;
-               color: 0 0 0 0;
-               rel1.to: "bg_expand";
-               rel2.to_x: "elm.text";
-               align: 0.0 0.5;
-            }
-         }
-         part { name: "events2";
-            type: RECT;
-            repeat_events: 1;
-            description { state: "default" 0.0;
-               color: 0 0 0 0;
-               rel1.to: "bg2";
-               rel2.to_x: "elm.text";
-               align: 0.0 0.5;
-            }
-            description { state: "visible" 0.0;
-               color: 0 0 0 0;
-               rel1.to: "bg_expand";
-               rel2.to_x: "elm.text";
-               align: 0.0 0.5;
-            }
-         }
-         part { name: "disabler";
-            type: RECT;
-            description { state: "default" 0.0;
-               rel2.to_x: "elm.text";
-               color: 0 0 0 0;
-               visible: 0;
-            }
-            description { state: "disabled" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-            }
-         }
-      }
-      programs {
-         program { name: "click";
-            signal: "mouse,clicked,1";
-            source: "events1";
-            script {
-               new st[31];
-               new Float:vl;
-               get_state(PART:"check", st, 30, vl);
-               if (!strcmp(st, "visible_pressed"))
-                 set_state(PART:"check", "visible", 0.0);
-            }
-            after: "toggle";
-         }
-         program { name: "toggle";
-            action: SIGNAL_EMIT "elm,action,check,toggle" "";
-            after: "touch_sound";
-         }
-         program { name: "touch_sound";
-            action: PLAY_SAMPLE "touch_sound" 1.0;
-         }
-         program { name: "unfocused";
-            signal: "elm,action,unfocus";
-            source: "elm";
-            script {
-               new st[31];
-               new Float:vl;
-               get_state(PART:"bg2", st, 30, vl);
-               if (!strcmp(st, "on"))
-                 emit("elm,action,check,toggle", "");
-            }
-         }
-         program { name: "click_down";
-            signal: "mouse,down,1";
-            source: "events2";
-            script {
-               new st[31];
-               new Float:vl;
-               get_state(PART:"check", st, 30, vl);
-               if (!strcmp(st, "visible"))
-                 {
-                    set_state(PART:"bg_expand", "clicked", 0.0);
-                    set_state(PART:"check", "visible_pressed", 0.0);
-                 }
-               else 
-                 {
-                    set_state(PART:"bg2", "clicked", 0.0);
-                    set_state(PART:"bg1", "clicked", 0.0);
-                 }
-            }
-         }
-         program { name: "check_normal";
-            signal: "mouse,up,1";
-            source: "events2";
-            script {
-               new st[31];
-               new Float:vl;
-               get_state(PART:"check", st, 30, vl);
-               if (!strcmp(st, "visible_pressed"))
-                 {
-                    set_state(PART:"bg_expand", "on", 0.0);
-                    set_state(PART:"check", "visible", 0.0);
-                 }
-               get_state(PART:"bg_expand", st, 30, vl);
-               if (!strcmp(st, "default"))
-                 {
-                    set_state(PART:"bg2", "default", 0.0);
-                    set_state(PART:"bg1", "default", 0.0);
-                 }
-            }
-         }
-         program { name: "check_on";
-            signal: "elm,state,check,on";
-            source: "elm";
-            action: STATE_SET "on" 0.0;
-            target: "clipper";
-            after: "start_expand";
-         }
-         program { name: "start_expand";
-            action: STATE_SET "intermediate" 0.0;
-            target: "bg2";
-            target: "bg1";
-            target: "bg_expand";
-            after: "expand";
-         }
-         program { name: "expand";
-            action: STATE_SET "on" 0.0;
-            target: "bg_expand";
-            target: "bg2";
-            target: "bg1";
-            transition: ACCELERATE 0.1;
-            after: "check_visible";
-         }
-         program { name: "check_visible";
-            action: STATE_SET "visible" 0.0;
-            target: "check";
-            target: "events1";
-            target: "events2";
-         }
-         program { name: "check_off";
-            signal: "elm,state,check,off";
-            source: "elm";
-            action: STATE_SET "default" 0.0;
-            target: "check";
-            after: "contract";
-         }
-         program { name: "contract";
-            action: STATE_SET "intermediate" 0.0;
-            target: "bg_expand";
-            transition: ACCELERATE 0.1;
-            after: "normal_bg";
-         }
-         program { name: "normal_bg";
-            script {
-               if (get_int(button_state) !=1)
-                 {
-                    set_state(PART:"bg2", "default", 0.0);
-                    set_state(PART:"bg1", "default", 0.0);
-                 }
-               else
-                 {
-                    set_state(PART:"bg2", "disabled", 0.0);
-                    set_state(PART:"bg1", "disabled", 0.0);
-                 }
-            }
-            after: "bg_default";
-         }
-         program { name: "bg_default";
-            action: STATE_SET "default" 0.0;
-            target: "bg_expand";
-            target: "clipper";
-            target: "events1";
-            target: "events2";
-         }
-         program { name: "text_show";
-            signal: "elm,state,text,visible";
-            source: "elm";
-            action: STATE_SET "visible" 0.0;
-            target: "elm.text";
-         }
-         program { name: "text_hide";
-            signal: "elm,state,text,hidden";
-            source: "elm";
-            action: STATE_SET "default" 0.0;
-            target: "elm.text";
-         }
-         program { name: "icon_show";
-            signal: "elm,state,icon,visible";
-            source: "elm";
-            action: STATE_SET "visible" 0.0;
-            target: "elm.swallow.content";
-         }
-         program { name: "icon_hide";
-            signal: "elm,state,icon,hidden";
-            source: "elm";
-            action: STATE_SET "default" 0.0;
-            target: "elm.swallow.content";
-         }
-         program { name: "disable";
-            signal: "elm,state,disabled";
-            source: "elm";
-            action: STATE_SET "disabled" 0.0;
-            target: "disabler";
-            target: "bg2";
-            target: "bg1";
-            after: "disable_text";
-         }
-         program { name: "disable_text";
-            script {
-               new st[31];
-               new Float:vl;
-               get_state(PART:"elm.text", st, 30, vl);
-               if (!strcmp(st, "visible"))
-                 set_state(PART:"elm.text", "disabled_visible", 0.0);
-               else
-                 set_state(PART:"elm.text", "disabled", 0.0);
-               get_state(PART:"elm.swallow.content", st, 30, vl);
-               if (!strcmp(st, "visible"))
-                 set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
-               else
-                 set_state(PART:"elm.swallow.content", "disabled", 0.0);
-               set_int(button_state, 1);
-            }
-         }
-         program { name: "enable";
-            signal: "elm,state,enabled";
-            source: "elm";
-            action: STATE_SET "default" 0.0;
-            target: "disabler";
-            target: "bg2";
-            target: "bg1";
-            after: "enable_text";
-         }
-         program { name: "enable_text";
-            script {
-               new st[31];
-               new Float:vl;
-               get_state(PART:"elm.text", st, 30, vl);
-               if (!strcmp(st, "disabled_visible"))
-                 set_state(PART:"elm.text", "visible", 0.0);
-               else
-                 set_state(PART:"elm.text", "default", 0.0);
-               get_state(PART:"elm.swallow.content", st, 30, vl);
-               if (!strcmp(st, "visible"))
-                 set_state(PART:"elm.swallow.content", "visible", 0.0);
-               else
-                 set_state(PART:"elm.swallow.content", "default", 0.0);
-               set_int(button_state, 0);
-            }
-         }
-      }
-   }
-
-////////////////////////////////////////////////////////////////////////////////////
-   group { name: "elm/check/base/multicheck";
-      images {
-         image: "00_check_bg.png" COMP;
-         image: "00_check_bg_press.png" COMP;
-         image: "multicheck_0001.png" COMP;
-         image: "multicheck_0002.png" COMP;
-         image: "multicheck_0003.png" COMP;
-         image: "multicheck_0004.png" COMP;
-         image: "multicheck_0005.png" COMP;
-         image: "multicheck_0006.png" COMP;
-         image: "00_check_checking.png" COMP;
-      }
-      script {
-         public check_state = 0; //0:default, 1: visible, 2: disabled_visible
-      }
-      parts {
-         part { name: "bg";
-            scale: 1;
-            clip_to: "disclip";
-            description { state: "default" 0.0;
-               rel2.relative: 0.0 1.0;
-               align: 0.0 0.5;
-               min: 44 44;
-               max: 44 44;
-               aspect: 1.0 1.0;
-               aspect_preference: VERTICAL;
-               image.normal: "00_check_bg.png";
-               fill.smooth : 0;
-            }
-            description { state: "pressed" 0.0;
-               inherit: "default" 0.0;
-               image.normal: "00_check_bg_press.png";
-               fill.smooth : 0;
-            }
-            description { state: "disabled" 0.0;
-               inherit: "default" 0.0;
-            }
-         }
-         part { name: "check";
-            mouse_events: 0;
-            clip_to: "disclip";
-            scale: 1;
-            description { state: "default" 0.0;
-               rel1.to: "bg";
-               rel2.to: "bg";
-               visible: 0;
-            }
-            description { state: "visible_1" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-               image.normal: "multicheck_0001.png";
-            }
-            description { state: "visible_2" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-               image.normal: "multicheck_0002.png";
-            }
-            description { state: "visible_3" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-               image.normal: "multicheck_0003.png";
-            }
-            description { state: "visible_4" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-               image.normal: "multicheck_0004.png";
-            }
-            description { state: "visible_5" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-               image.normal: "multicheck_0005.png";
-            }
-            description { state: "visible" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-               image.normal: "multicheck_0006.png";
-            }
-            description { state: "pressed" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-               image.normal: "multicheck_0006.png";
-            }
-            description { state: "disabled_visible" 0.0;
-               inherit: "default" 0.0;
-               image.normal: "00_check_checking.png";
-               visible: 1;
-            }
-         }
-         part { name: "elm.swallow.content";
-            type: SWALLOW;
-            clip_to: "disclip";
-            description { state: "default" 0.0;
-               fixed: 1 0;
-               visible: 0;
-               color: 255 255 255 255;
-               align: 0.0 0.5;
-               rel1 {
-                  to_x: "bg";
-                  relative: 1.0 0.0;
-                  offset: 1 1;
-               }
-               rel2 {
-                  to_x: "bg";
-                  relative: 1.0 1.0;
-                  offset: 2 -2;
-               }
-            }
-            description { state: "visible" 0.0;
-               inherit: "default" 0.0;
-               fixed: 1 1;
-               visible: 1;
-               aspect: 1.0 1.0;
-               aspect_preference: VERTICAL;
-            }
-            description { state: "disabled" 0.0;
-               inherit: "default" 0.0;
-               color: 128 128 128 128;
-            }
-            description { state: "disabled_visible" 0.0;
-               inherit: "default" 0.0;
-               color: 128 128 128 128;
-               fixed: 1 1;
-               visible: 1;
-               aspect: 1.0 1.0;
-            }
-         }
-         part { name: "elm.text";
-            type: TEXTBLOCK;
-            clip_to: "disclip";
-            mouse_events: 0;
-            scale: 1;
-            description { state: "default" 0.0;
-               visible: 0;
-               fixed: 0 1;
-               rel1 {
-                  relative: 1.0 0.5;
-                  offset: 1 1;
-                  to_x: "elm.swallow.content";
-               }
-               rel2 {
-                  relative: 1.0 0.5;
-                  offset: -2 -2;
-               }
-               align: 0.0 0.5;
-               text {
-                  style: "check_label_textblock_style";
-                  min: 0 0;
-               }
-               color: CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC;
-            }
-            description { state: "visible" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-               text.min: 1 1;
-            }
-            description { state: "disabled" 0.0;
-               inherit: "default" 0.0;
-            }
-            description { state: "disabled_visible" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-               text.min: 1 1;
-               color: CHECK_DEFAULT_TEXT_DISABLED_COLOR_INC;
-            }
-         }
-         part { name: "events1";
-            type: RECT;
-            ignore_flags: ON_HOLD;
-            description { state: "default" 0.0;
-               color: 0 0 0 0;
-            }
-         }
-         part { name: "disclip";
-            type: RECT;
-            mouse_events: 0;
-            description { state: "default" 0.0;
-               color: 255 255 255 255;
-            }
-            description { state: "disabled" 0.0;
-               inherit: "default" 0.0;
-               color: 255 255 255 102;
-            }
-         }
-         part { name: "events2";
-            type: RECT;
-            repeat_events: 1;
-            description { state: "default" 0.0;
-               color: 0 0 0 0;
-            }
-         }
-         part { name: "disabler";
-            type: RECT;
-            description { state: "default" 0.0;
-               color: 0 0 0 0;
-               visible: 0;
-            }
-            description { state: "disabled" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-            }
-         }
-      }
-      programs {
-         program { name: "click";
-            signal: "mouse,clicked,1";
-            source: "events1";
-            action: SIGNAL_EMIT "elm,action,check,toggle" "";
-            after: "touch_sound";
-         }
-         program { name: "touch_sound";
-            action: PLAY_SAMPLE "touch_sound" 1.0;
-         }
-         program { name: "bg_normal";
-            signal: "mouse,up,1";
-            source: "events2";
-            script {
-               new st[31];
-               new Float:vl;
-               get_state(PART:"check", st, 30, vl);
-               if (!strcmp(st, "pressed"))
-                 set_state(PART:"check", "visible", 0.0);
-               set_state(PART:"bg", "default", 0.0);
-            }
-         }
-         program { name: "pressed";
-            signal: "mouse,down,1";
-            source: "events2";
-            script {
-               new st[31];
-               new Float:vl;
-               get_state(PART:"check", st, 30, vl);
-               if (!strcmp(st, "default"))
-                 set_state(PART:"check", "pressed", 0.0);
-               else
-                 set_state(PART:"check", "default", 0.0);
-               set_state(PART:"bg", "pressed", 0.0);
-            }
-         }
-         program { name: "mouse,out";
-            signal: "mouse,out";
-            source: "events2";
-            script {
-               if (get_int(check_state) == 1)
-                 set_state(PART:"check", "visible", 0.0);
-               else
-                 set_state(PART:"check", "default", 0.0);
-            }
-         }
-         program { name: "check_on";
-            signal: "elm,state,check,on";
-            source: "elm";
-            script {
-               set_int(check_state, 1);
-            }
-            after: "check_on_1";
-         }
-         program { name: "check_on_1";
-            in: 0.05 0.0;
-            script {
-               if (get_int(check_state) == 1)
-                 set_state(PART:"check", "visible_1", 0.0);
-            }
-            after: "check_on_2";
-         }
-         program { name: "check_on_2";
-            in: 0.05 0.0;
-            script {
-               if (get_int(check_state) == 1)
-                 set_state(PART:"check", "visible_2", 0.0);
-            }
-            after: "check_on_3";
-         }
-         program { name: "check_on_3";
-            in: 0.05 0.0;
-            script {
-               if (get_int(check_state) == 1)
-                 set_state(PART:"check", "visible_3", 0.0);
-            }
-            after: "check_on_4";
-         }
-         program { name: "check_on_4";
-            in: 0.05 0.0;
-            script {
-               if (get_int(check_state) == 1)
-                 set_state(PART:"check", "visible_4", 0.0);
-            }
-            after: "check_on_5";
-         }
-         program { name: "check_on_5";
-            in: 0.05 0.0;
-            script {
-               if (get_int(check_state) == 1)
-                 set_state(PART:"check", "visible_5", 0.0);
-            }
-            after: "check_on_6";
-         }
-         program { name: "check_on_6";
-            in: 0.05 0.0;
-            script {
-               if (get_int(check_state) == 1)
-                 set_state(PART:"check", "visible", 0.0);
-            }
-         }
-         program { name: "check_off";
-            signal: "elm,state,check,off";
-            source: "elm";
-            action: STATE_SET "default" 0.0;
-            target: "check";
-            script {
-               if (get_int(check_state) == 1)
-                 {
-                    set_int(check_state, 0);
-                    set_state(PART:"check", "default", 0.0);
-                 }
-            }
-         }
-         program { name: "text_show";
-            signal: "elm,state,text,visible";
-            source: "elm";
-            action: STATE_SET "visible" 0.0;
-            target: "elm.text";
-         }
-         program { name: "text_hide";
-            signal: "elm,state,text,hidden";
-            source: "elm";
-            action: STATE_SET "default" 0.0;
-            target: "elm.text";
-         }
-         program { name: "icon_show";
-            signal: "elm,state,icon,visible";
-            source: "elm";
-            action: STATE_SET "visible" 0.0;
-            target: "elm.swallow.content";
-         }
-         program { name: "icon_hide";
-            signal: "elm,state,icon,hidden";
-            source: "elm";
-            action: STATE_SET "default" 0.0;
-            target: "elm.swallow.content";
-         }
-         program { name: "disable";
-            signal: "elm,state,disabled";
-            source: "elm";
-            action: STATE_SET "disabled" 0.0;
-            target: "disabler";
-            target: "disclip";
-            target: "bg";
-            after: "disable_text";
-         }
-         program { name: "disable_text";
-            script {
-               new st[31];
-               new Float:vl;
-               get_state(PART:"elm.text", st, 30, vl);
-               if (!strcmp(st, "visible"))
-                 set_state(PART:"elm.text", "disabled_visible", 0.0);
-               else
-                 set_state(PART:"elm.text", "disabled", 0.0);
-               get_state(PART:"elm.swallow.content", st, 30, vl);
-               if (!strcmp(st, "visible"))
-                 set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
-               else
-                 set_state(PART:"elm.swallow.content", "disabled", 0.0);
-               get_state(PART:"check", st, 30, vl);
-               if (!strcmp(st, "visible"))
-                 set_state(PART:"check", "disabled_visible", 0.0);
-               set_int(check_state, 2);
-            }
-         }
-         program { name: "enable";
-            signal: "elm,state,enabled";
-            source: "elm";
-            action: STATE_SET "default" 0.0;
-            target: "disabler";
-            target: "disclip";
-            target: "bg";
-            after: "enable_text";
-         }
-         program { name: "enable_text";
-            script {
-               new st[31];
-               new Float:vl;
-               get_state(PART:"elm.text", st, 30, vl);
-               if (!strcmp(st, "disabled_visible"))
-                 set_state(PART:"elm.text", "visible", 0.0);
-               else
-                 set_state(PART:"elm.text", "default", 0.0);
-               get_state(PART:"elm.swallow.content", st, 30, vl);
-               if (!strcmp(st, "visible"))
-                 set_state(PART:"elm.swallow.content", "visible", 0.0);
-               else
-                 set_state(PART:"elm.swallow.content", "default", 0.0);
-               get_state(PART:"check", st, 30, vl);
-               if (!strcmp(st, "disabled_visible"))
-                 {
-                    set_state(PART:"check", "visible", 0.0);
-                    set_int(check_state, 1);
-                 }
-               else
-                 set_int(check_state, 0);
-            }
-         }
-      }
-   }
-#endif
-
 #undef CHECK_STATE_DEFAULT
 #undef CHECK_STATE_VISIBLE
 #undef CHECK_STATE_DISABLED_VISIBLE