[Button] Removed unused parts.
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / button.edc
index 2a73586..8386652 100644 (file)
    group { name: "elm/button/base/style1/delete";
       inherit: "elm/button/base/style1";
       images {
-         image: "00_button_01_Delete.png" COMP;
-         image: "00_button_01_Delete_dim.png" COMP;
-         image: "00_button_01_Delete_press.png" COMP;
+         image: "00_button_01_delete.png" COMP;
+         image: "00_button_01_delete_dim.png" COMP;
+         image: "00_button_01_delete_press.png" COMP;
       }
       parts {
          part { name: "button_image";
             scale: 1;
             description { state: "default" 0.0;
                image {
-                  normal: "00_button_01_Delete.png";
+                  normal: "00_button_01_delete.png";
                   border: BUTTON_TEXT_STYLE1_BG_BORDER_INC;
                   border_scale: 1;
                }
             }
             description { state: "clicked" 0.0;
                inherit: "default" 0.0;
-               image.normal: "00_button_01_Delete_press.png";
+               image.normal: "00_button_01_delete_press.png";
             }
             description { state: "disabled" 0.0;
                inherit: "default" 0.0;
-               image.normal: "00_button_01_Delete_dim.png";
+               image.normal: "00_button_01_delete_dim.png";
             }
             description { state: "focused" 0.0;
                inherit: "default" 0.0;
-               image.normal: "00_button_01_Delete_press.png";
+               image.normal: "00_button_01_delete_press.png";
             }
          }
          part { name: "elm.text";
    group { name: "elm/button/base/search_button/cancel";
       inherit: "elm/button/base/style1";
       images {
-         image: "00_button_01_Delete.png" COMP;
-         image: "00_button_01_Delete_dim.png" COMP;
-         image: "00_button_01_Delete_press.png" COMP;
+         image: "00_button_01_delete.png" COMP;
+         image: "00_button_01_delete_dim.png" COMP;
+         image: "00_button_01_delete_press.png" COMP;
       }
       parts {
          part { name: "button_image";
             scale: 1;
             description { state: "default" 0.0;
                image {
-                  normal: "00_button_01_Delete.png";
+                  normal: "00_button_01_delete.png";
                   border: BUTTON_SEARCH_BUTTON_BG_BORDER_INC;
                   border_scale: 1;
                }
             }
             description { state: "clicked" 0.0;
                inherit: "default" 0.0;
-               image.normal: "00_button_01_Delete_press.png";
+               image.normal: "00_button_01_delete_press.png";
             }
             description { state: "disabled" 0.0;
                inherit: "default" 0.0;
-               image.normal: "00_button_01_Delete_dim.png";
+               image.normal: "00_button_01_delete_dim.png";
             }
             description { state: "focused" 0.0;
                inherit: "default" 0.0;
-               image.normal: "00_button_01_Delete_press.png";
+               image.normal: "00_button_01_delete_press.png";
             }
          }
          part { name: "bg";
       inherit: "elm/button/base/sweep";
       alias: "elm/button/base/sweep/delete/multiline";
       images {
-         image: "00_button_01_Delete_press.png" COMP;
-         image: "00_button_01_Delete.png" COMP;
-         image: "00_button_01_Delete_dim.png" COMP;
+         image: "00_button_01_delete_press.png" COMP;
+         image: "00_button_01_delete.png" COMP;
+         image: "00_button_01_delete_dim.png" COMP;
       }
       styles{
          style { name: "btn_sweep_delete_multiline";
             description { state: "default" 0.0;
                min: BUTTON_SWEEP_BG_NORMAL_MIN_INC;
                image {
-                  normal: "00_button_01_Delete.png";
+                  normal: "00_button_01_delete.png";
                   border: BUTTON_SWEEP_BG_BORDER_INC;
                   border_scale: 1;
                }
             }
             description { state: "clicked" 0.0;
                inherit: "default" 0.0;
-               image.normal: "00_button_01_Delete_press.png";
+               image.normal: "00_button_01_delete_press.png";
             }
             description { state: "disabled" 0.0;
                inherit: "default" 0.0;
-               image.normal: "00_button_01_Delete_dim.png";
+               image.normal: "00_button_01_delete_dim.png";
             }
             description { state: "focused" 0.0;
                inherit: "default" 0.0;
-               image.normal: "00_button_01_Delete_press.png";
+               image.normal: "00_button_01_delete_press.png";
             }
          }
          part { name: "elm.text";
@@ -4395,11 +4395,22 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
          image: "00_toolbar_button.png" COMP;
          image: "00_toolbar_button_press.png" COMP;
          image: "00_toolbar_button_dim.png" COMP;
-         image: "00_badge_bg.png" COMP;
       }
       styles{
          style { name: "btn_naviframe_toolbar";
-            base: "font=Tizen:style=Bold font_size="BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC" align=center color=#ffffff ellipsis=1.0 wrap=none text_class=tizen";
+            base: "font=Tizen:style=Bold font_size="BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC" align=center color="BUTTON_NAVIFRAME_TITLE_TEXTBLOCK_NORMAL_COLOR_INC" style=shadow,bottom shadow_color="BUTTON_NAVIFRAME_TEXTBLOCK_SHADOW_NORMAL_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen";
+            tag: "br" "\n";
+            tag: "ps" "ps";
+            tag: "tab" "\t";
+         }
+         style { name: "btn_naviframe_toolbar_pressed";
+            base: "font=Tizen:style=Bold font_size="BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC" align=center color="BUTTON_NAVIFRAME_TITLE_TEXTBLOCK_PRESSED_COLOR_INC" style=shadow,top shadow_color="BUTTON_NAVIFRAME_TEXTBLOCK_SHADOW_PRESSED_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen";
+            tag: "br" "\n";
+            tag: "ps" "ps";
+            tag: "tab" "\t";
+         }
+         style { name: "btn_naviframe_toolbar_disabled";
+            base: "font=Tizen:style=Bold font_size="BUTTON_NAVIFRAME_TITLE_TEXT_FONT_SIZE_INC" align=center color="BUTTON_NAVIFRAME_TITLE_TEXTBLOCK_DISABLED_COLOR_INC" style=shadow,bottom shadow_color="BUTTON_NAVIFRAME_TEXTBLOCK_SHADOW_DIM_COLOR_INC" ellipsis=1.0 wrap=none text_class=tizen";
             tag: "br" "\n";
             tag: "ps" "ps";
             tag: "tab" "\t";
@@ -4473,7 +4484,7 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
                   relative: 0.0 0.0;
                   to: "elm.text";
                }
-               align: 1.0 0.0;
+               align: 1.0 1.0;
             }
          }
          part { name: "padding_text_right_bottom";
@@ -4496,7 +4507,6 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
             type: TEXTBLOCK;
             clip_to: "disclip";
             mouse_events: 0;
-            effect: FAR_SHADOW BOTTOM;
             scale: 1;
             description { state: "default" 0.0;
                visible: 0;
@@ -4510,8 +4520,6 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
                   relative: 0.0 0.0;
                   to: "padding_right_bottom";
                }
-               color: BUTTON_NAVIFRAME_TITLE_TEXT_NORMAL_COLOR_INC;
-               color2: BUTTON_NAVIFRAME_TEXT_SHADOW_NORMAL_COLOR_INC;
                text {
                   min: 0 1;
                   max: 1 1;
@@ -4525,21 +4533,26 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
             description { state: "clicked" 0.0;
                inherit: "default" 0.0;
                visible: 1;
-               color: BUTTON_NAVIFRAME_TITLE_TEXT_PRESSED_COLOR_INC;
+               text {
+                  style: "btn_naviframe_toolbar_pressed";
+               }
             }
             description { state: "disabled" 0.0;
                inherit: "default" 0.0;
             }
             description { state: "disabled_visible" 0.0;
                inherit: "default" 0.0;
-               color: BUTTON_NAVIFRAME_TITLE_TEXT_DISABLED_COLOR_INC;
-               color2: BUTTON_NAVIFRAME_TEXT_SHADOW_NORMAL_COLOR_INC;
                visible: 1;
+               text {
+                  style: "btn_naviframe_toolbar_disabled";
+               }
             }
             description { state: "focused" 0.0;
                inherit: "default" 0.0;
                visible: 1;
-               color: BUTTON_NAVIFRAME_TITLE_TEXT_FOCUSED_COLOR_INC;
+               text {
+                  style: "btn_naviframe_toolbar_pressed";
+               }
             }
          }
          part { name: "disclip";
@@ -4743,7 +4756,6 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
             type: TEXTBLOCK;
             clip_to: "disclip";
             mouse_events: 0;
-            effect: FAR_SHADOW BOTTOM;
             scale: 1;
             description { state: "default" 0.0;
                visible: 0;
@@ -4758,8 +4770,6 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
                   to: "padding_right_bottom";
                }
                align: 1.0 0.5;
-               color: BUTTON_NAVIFRAME_TITLE_TEXT_NORMAL_COLOR_INC;
-               color2: BUTTON_NAVIFRAME_TEXT_SHADOW_NORMAL_COLOR_INC;
                text {
                   min: 0 1;
                   max: 1 1;
@@ -4773,21 +4783,26 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
             description { state: "clicked" 0.0;
                inherit: "default" 0.0;
                visible: 1;
-               color: BUTTON_NAVIFRAME_TITLE_TEXT_PRESSED_COLOR_INC;
+               text {
+                  style: "btn_naviframe_toolbar_pressed";
+               }
             }
             description { state: "disabled" 0.0;
                inherit: "default" 0.0;
             }
             description { state: "disabled_visible" 0.0;
                inherit: "default" 0.0;
-               color: BUTTON_NAVIFRAME_TITLE_TEXT_DISABLED_COLOR_INC;
-               color2: BUTTON_NAVIFRAME_TEXT_SHADOW_NORMAL_COLOR_INC;
                visible: 1;
+               text {
+                  style: "btn_naviframe_toolbar_disabled";
+               }
             }
             description { state: "focused" 0.0;
                inherit: "default" 0.0;
                visible: 1;
-               color: BUTTON_NAVIFRAME_TITLE_TEXT_FOCUSED_COLOR_INC;
+               text {
+                  style: "btn_naviframe_toolbar_pressed";
+               }
             }
          }
       }
@@ -4829,7 +4844,6 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
             type: TEXTBLOCK;
             clip_to: "disclip";
             mouse_events: 0;
-            effect: FAR_SHADOW BOTTOM;
             scale: 1;
             description { state: "default" 0.0;
                visible: 0;
@@ -4844,8 +4858,6 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
                   to: "padding_right_bottom";
                }
                align: 0.0 0.5;
-               color: BUTTON_NAVIFRAME_TITLE_TEXT_NORMAL_COLOR_INC;
-               color2: BUTTON_NAVIFRAME_TEXT_SHADOW_NORMAL_COLOR_INC;
                text {
                   min: 0 1;
                   max: 1 1;
@@ -4859,21 +4871,26 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
             description { state: "clicked" 0.0;
                inherit: "default" 0.0;
                visible: 1;
-               color: BUTTON_NAVIFRAME_TITLE_TEXT_PRESSED_COLOR_INC;
+               text {
+                  style: "btn_naviframe_toolbar_pressed";
+               }
             }
             description { state: "disabled" 0.0;
                inherit: "default" 0.0;
             }
             description { state: "disabled_visible" 0.0;
                inherit: "default" 0.0;
-               color: BUTTON_NAVIFRAME_TITLE_TEXT_DISABLED_COLOR_INC;
-               color2: BUTTON_NAVIFRAME_TEXT_SHADOW_NORMAL_COLOR_INC;
                visible: 1;
+               text {
+                  style: "btn_naviframe_toolbar_disabled";
+               }
             }
             description { state: "focused" 0.0;
                inherit: "default" 0.0;
                visible: 1;
-               color: BUTTON_NAVIFRAME_TITLE_TEXT_FOCUSED_COLOR_INC;
+               text {
+                  style: "btn_naviframe_toolbar_pressed";
+               }
             }
          }
       }
@@ -5520,100 +5537,6 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
                color: BUTTON_NAVIFRAME_TITLE_ICON_CLIPPER_DISABLED_COLOR_INC;
             }
          }
-         part { name: "elm.text.badge.bg";
-            mouse_events: 0;
-            scale: 1;
-            description {
-               state: "default" 0.0;
-               visible: 0;
-               rel1 {
-                  to: "left.padding.text.badge";
-                  relative: 0.0 0.0;
-               }
-               rel2 {
-                  to: "right.padding.text.badge";
-                  relative: 1.0 1.0;
-               }
-               align: 1.0 0.0;
-               image {
-                  normal: "00_badge_bg.png";
-                  border: 20 20 0 0;
-                  border_scale: 1;
-               }
-            }
-            description { state: "visible" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-            }
-         }
-         part { name: "left.padding.text.badge";
-            type: RECT;
-            scale: 1;
-            description {
-               state: "default" 0.0;
-               visible: 0;
-               fixed: 1 1;
-               min: 16 48;
-               rel1 {
-                  to: "elm.text.badge";
-                  relative: 0.0 0.0;
-               }
-               rel2 {
-                  to: "elm.text.badge";
-                  relative: 0.0 0.0;
-               }
-               align: 1.0 0.0;
-            }
-         }
-         part { name: "right.padding.text.badge";
-            type: RECT;
-            scale: 1;
-            description {
-               state: "default" 0.0;
-               visible: 0;
-               fixed: 1 1;
-               min: 16 48;
-               rel1 {
-                  to: "button_image";
-                  relative: 1.0 0.0;
-               }
-               rel2 {
-                  to: "button_image";
-                  relative: 1.0 0.0;
-               }
-               align: 1.0 0.0;
-            }
-         }
-         part { name: "elm.text.badge";
-            type: TEXT;
-            mouse_events: 0;
-            scale: 1;
-            description {
-               state: "default" 0.0;
-               visible: 0;
-               min: 0 0;
-               rel1 {
-                  to: "button_image";
-                  relative: 0.0 0.0;
-               }
-               rel2 {
-                  to: "right.padding.text.badge";
-                  relative: 0.0 1.0;
-               }
-               align: 1.0 0.0;
-               color: 10 100 208 255;
-               text {
-                  font: "Tizen:style=Bold";
-                  size: 26;
-                  min: 0 0;
-                  max: 1 1;
-               }
-            }
-            description { state: "visible" 0.0;
-               inherit: "default" 0.0;
-               visible: 1;
-            }
-         }
          part { name: "over2";
             type: RECT;
             ignore_flags: ON_HOLD;
@@ -5677,20 +5600,6 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
          program { name: "button_unclick3";
             action: SIGNAL_EMIT "elm,action,click" "";
          }
-         program { name: "badge_text_show";
-            signal: "elm,state,elm.text.badge,visible";
-            source: "elm";
-            action:  STATE_SET "visible" 0.0;
-            target: "elm.text.badge";
-            target: "elm.text.badge.bg";
-         }
-         program { name: "badge_text_hide";
-            signal: "elm,state,elm.text.badge,hidden";
-            source: "elm";
-            action:  STATE_SET "default" 0.0;
-            target: "elm.text.badge";
-            target: "elm.text.badge.bg";
-         }
          program { name: "disable";
             signal: "elm,state,disabled";
             source: "elm";
@@ -5745,9 +5654,9 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
 ///////////////////////////////////////////////////////////////////////////////////////
    group { name: "elm/button/base/tickernoti";
       images {
-         image: "00_notification_button_bg.png" COMP;
-         image: "00_notification_button_bg_press.png" COMP;
-         image: "00_notification_button_bg_dim.png" COMP;
+         image: "00_notification_button.png" COMP;
+         image: "00_notification_button_press.png" COMP;
+         image: "00_notification_button_dim.png" COMP;
       }
       script {
          public button_state = BUTTON_STATE_ENABLED;
@@ -5759,22 +5668,22 @@ BUTTON_SCROLL_JUMPTO("jumpto_left", "00_icon_jump_left.png")
                min: BUTTON_TICKERNOTI_BG_MIN_MAX_INC;
                max: BUTTON_TICKERNOTI_BG_MIN_MAX_INC;
                image {
-                  normal: "00_notification_button_bg.png";
+                  normal: "00_notification_button.png";
                   border: BUTTON_TICKERNOTI_BG_BORDER_INC;
                   border_scale: 1;
                }
             }
             description { state: "clicked" 0.0;
                inherit: "default" 0.0;
-               image.normal: "00_notification_button_bg_press.png";
+               image.normal: "00_notification_button_press.png";
             }
             description { state: "disabled" 0.0;
                inherit: "default" 0.0;
-               image.normal: "00_notification_button_bg_dim.png";
+               image.normal: "00_notification_button_dim.png";
             }
             description { state: "focused" 0.0;
                inherit: "default" 0.0;
-               image.normal: "00_notification_button_bg_press.png";
+               image.normal: "00_notification_button_press.png";
             }
          }
          part { name: "padding_left_top";
@@ -7100,7 +7009,7 @@ group { name: "elm/button/base/bubble_circle/sent";
 //////////////////////////////////////////////////////////////////////////////////////
    group { name: "elm/button/base/editfield_clear";
       images {
-         image: "00_EditField_clear" COMP;
+         image: "00_edit_field_clear.png" COMP;
       }
       parts {
          part { name: "button_image";
@@ -7128,7 +7037,7 @@ group { name: "elm/button/base/bubble_circle/sent";
                max: BUTTON_EDITFIELD_CLEAR_BUTTON_MIN_MAX_INC;
                fixed: 1 1;
                align: 0.0 0.5;
-               image.normal: "00_EditField_clear.png";
+               image.normal: "00_edit_field_clear.png";
             }
          }
          part { name: "clear_button.clipper";
@@ -7265,7 +7174,6 @@ group { name: "elm/button/base/bubble_circle/sent";
       }
    }
 
-
    group { name: "elm/button/base/search_clear";
       inherit: "elm/button/base/editfield_clear";
       parts {
@@ -7278,7 +7186,7 @@ group { name: "elm/button/base/bubble_circle/sent";
                max: BUTTON_SEARCH_CLEAR_BUTTON_MIN_MAX_INC;
                fixed: 1 1;
                align: 0.0 0.5;
-               image.normal: "00_EditField_clear.png";
+               image.normal: "00_edit_field_clear.png";
             }
          }
       }