[layout.edc] Nocontent styles of elm_layout are added. nocontents.edc file is removed.
[framework/uifw/efl-theme-tizen.git] / themes / widgets / layout.edc
index fa3cbf5..c7ab731 100644 (file)
@@ -2286,3 +2286,463 @@ group { name: "elm/layout/searchbar/cancel_button";
    }
 }
 
+group {
+   name: "elm/layout/nocontents/full";
+   alias: "elm/nocontents/base/full";
+   alias: "elm/nocontents/base/default";
+   styles{
+      style { name: "nocontent_style";
+         base: "font=SLP:style=Roman font_size="NOCONTENT_TEXT_BLOCK_TEXT_SIZE_INC" align=center color=#ffffff wrap=mixed ellipsis=1.0";
+         tag:  "br" "\n";
+         tag:  "hilight" "+ font=SLP:style=Bold";
+         tag:  "b" "+ font=SLP:style=Bold";
+         tag:  "tab" "\t";
+      }
+   }
+   images {
+      image: "00_winset_NoContents_image.png" COMP;
+   }
+   parts {
+      part { name: "bg";
+         type: RECT;
+         scale: 1;
+         description { state: "default" 0.0;
+            visible: 1;
+            min: 200 200;
+            rel1 {
+               relative: 0.0 0.0;
+            }
+            rel2 {
+               relative: 1.0 1.0;
+            }
+            color: NOCONTENT_BG_COLOR_INC;
+         }
+      }
+      part { name: "nocontents.image";
+         description { state: "default" 0.0;
+            visible: 1;
+            align: 0.5 0.0;
+            rel1 {
+               relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC;
+               to: "bg";
+            }
+            rel2 {
+               relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC;
+               to: "bg";
+            }
+            image {
+               normal: "00_winset_NoContents_image.png";
+               border: 1 1 1 1;
+               border_scale: 1;
+            }
+            aspect: 1.0 1.0;
+            aspect_preference: BOTH;
+         }
+      }
+      part { name: "middle.padding";
+         type: RECT;
+         scale: 1;
+         description { state: "default" 0.0;
+            visible: 0;
+            min: 1 NOCONTENT_MIDDLE_PADDING_INC;
+            max: 1 NOCONTENT_MIDDLE_PADDING_INC;
+            align: 0.5 0.0;
+            rel1 {
+               relative: 0.0 1.0;
+               to_y: "nocontents.image";
+            }
+         }
+      }
+      part { name: "elm.text";
+         type: TEXTBLOCK;
+         scale: 1;
+         description { state: "default" 0.0;
+            min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
+            fixed: 0 1;
+            align: 0.5 0.5;
+            visible: 1;
+            rel1 {
+               relative: 0.0 1.0;
+               to_x: "bg";
+               to_y: "middle.padding";
+            }
+            rel2 {
+               relative: 1.0 1.0;
+               to_x: "bg";
+               to_y: "middle.padding";
+            }
+            color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
+            text {
+               style: "nocontent_style";
+               align: 0.5 0.5;
+               min: 0 0;
+               max: 0 1;
+            }
+         }
+      }
+   }
+}
+
+group {
+   name: "elm/layout/nocontents/multimedia";
+   alias: "elm/nocontents/base/multimedia";
+   images {
+      image: "00_winset_NoContents_multimedia.png" COMP;
+   }
+   parts {
+      part { name: "bg";
+         type: RECT;
+         scale: 1;
+         description { state: "default" 0.0;
+            visible: 1;
+            min: 200 200;
+            rel1 {
+               relative: 0.0 0.0;
+            }
+            rel2 {
+               relative: 1.0 1.0;
+            }
+            color: 0 0 0 0;
+         }
+      }
+      part { name: "nocontents.image";
+         description { state: "default" 0.0;
+            visible: 1;
+            align: 0.5 0.0;
+            rel1 {
+               relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC;
+               to: "bg";
+            }
+            rel2 {
+               relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC;
+               to: "bg";
+            }
+            image {
+               normal: "00_winset_NoContents_multimedia.png";
+               border: 1 1 1 1;
+               border_scale: 1;
+            }
+            aspect: 1.0 1.0;
+            aspect_preference: BOTH;
+         }
+      }
+      part { name: "middle.padding";
+         type: RECT;
+         scale: 1;
+         description { state: "default" 0.0;
+            visible: 0;
+            min: 1 NOCONTENT_MIDDLE_PADDING_INC;
+            max: 1 NOCONTENT_MIDDLE_PADDING_INC;
+            align: 0.5 0.0;
+            rel1 {
+               relative: 0.0 1.0;
+               to_y: "nocontents.image";
+            }
+         }
+      }
+      part { name: "elm.text";
+         type: TEXTBLOCK;
+         scale: 1;
+         description { state: "default" 0.0;
+            min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
+            fixed: 0 1;
+            align: 0.5 0.5;
+            visible: 1;
+            rel1 {
+               relative: 0.0 1.0;
+               to_x: "bg";
+               to_y: "middle.padding";
+            }
+            rel2 {
+               relative: 1.0 1.0;
+               to_x: "bg";
+               to_y: "middle.padding";
+            }
+            color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
+            text {
+               style: "nocontent_style";
+               align: 0.5 0.5;
+               min: 0 0;
+               max: 0 1;
+            }
+         }
+      }
+   }
+}
+
+group {
+   name: "elm/layout/nocontents/text";
+   alias: "elm/nocontents/base/text";
+   images {
+      image: "00_winset_NoContents_text.png" COMP;
+   }
+   parts {
+      part { name: "bg";
+         type: RECT;
+         scale: 1;
+         description { state: "default" 0.0;
+            visible: 1;
+            min: 200 200;
+            rel1 {
+               relative: 0.0 0.0;
+            }
+            rel2 {
+               relative: 1.0 1.0;
+            }
+            color: 0 0 0 0;
+         }
+      }
+      part { name: "nocontents.image";
+         description { state: "default" 0.0;
+            visible: 1;
+            align: 0.5 0.0;
+            rel1 {
+               relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC;
+               to: "bg";
+            }
+            rel2 {
+               relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC;
+               to: "bg";
+            }
+            image {
+               normal: "00_winset_NoContents_text.png";
+               border: 1 1 1 1;
+               border_scale: 1;
+            }
+            aspect: 1.0 1.0;
+            aspect_preference: BOTH;
+         }
+      }
+      part { name: "middle.padding";
+         type: RECT;
+         scale: 1;
+         description { state: "default" 0.0;
+            visible: 0;
+            min: 1 NOCONTENT_MIDDLE_PADDING_INC;
+            max: 1 NOCONTENT_MIDDLE_PADDING_INC;
+            align: 0.5 0.0;
+            rel1 {
+               relative: 0.0 1.0;
+               to_y: "nocontents.image";
+            }
+         }
+      }
+      part { name: "elm.text";
+         type: TEXTBLOCK;
+         scale: 1;
+         description { state: "default" 0.0;
+            min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
+            fixed: 0 1;
+            align: 0.5 0.5;
+            visible: 1;
+            rel1 {
+               relative: 0.0 1.0;
+               to_x: "bg";
+               to_y: "middle.padding";
+            }
+            rel2 {
+               relative: 1.0 1.0;
+               to_x: "bg";
+               to_y: "middle.padding";
+            }
+            color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
+            text {
+               style: "nocontent_style";
+               align: 0.5 0.5;
+               min: 0 0;
+               max: 0 1;
+            }
+         }
+      }
+   }
+}
+
+group {
+   name: "elm/layout/nocontents/unnamed";
+   alias: "elm/nocontents/base/unnamed";
+   images {
+      image: "00_winset_NoContents_unnamed.png" COMP;
+   }
+   parts {
+      part { name: "bg";
+         type: RECT;
+         scale: 1;
+         description { state: "default" 0.0;
+            visible: 1;
+            min: 200 200;
+            rel1 {
+               relative: 0.0 0.0;
+            }
+            rel2 {
+               relative: 1.0 1.0;
+            }
+            color: 0 0 0 0;
+         }
+      }
+      part { name: "nocontents.image";
+         description { state: "default" 0.0;
+            visible: 1;
+            align: 0.5 0.0;
+            rel1 {
+               relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC;
+               to: "bg";
+            }
+            rel2 {
+               relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC;
+               to: "bg";
+            }
+            image {
+               normal: "00_winset_NoContents_unnamed.png";
+               border: 1 1 1 1;
+               border_scale: 1;
+            }
+            aspect: 1.0 1.0;
+            aspect_preference: BOTH;
+         }
+      }
+      part { name: "middle.padding";
+         type: RECT;
+         scale: 1;
+         description { state: "default" 0.0;
+            visible: 0;
+            min: 1 NOCONTENT_MIDDLE_PADDING_INC;
+            max: 1 NOCONTENT_MIDDLE_PADDING_INC;
+            align: 0.5 0.0;
+            rel1 {
+               relative: 0.0 1.0;
+               to_y: "nocontents.image";
+            }
+         }
+      }
+      part { name: "elm.text";
+         type: TEXTBLOCK;
+         scale: 1;
+         description { state: "default" 0.0;
+            min: NOCONTENT_TEXT_STYLE_BG_MIN_INC;
+            fixed: 0 1;
+            align: 0.5 0.5;
+            visible: 1;
+            rel1 {
+               relative: 0.0 1.0;
+               to_x: "bg";
+               to_y: "middle.padding";
+            }
+            rel2 {
+               relative: 1.0 1.0;
+               to_x: "bg";
+               to_y: "middle.padding";
+            }
+            color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
+            text {
+               style: "nocontent_style";
+               align: 0.5 0.5;
+               min: 0 0;
+               max: 0 1;
+            }
+         }
+      }
+   }
+}
+
+group {
+   name: "elm/layout/nocontents/search";
+   alias: "elm/nocontents/base/search";
+   parts {
+      part { name: "bg";
+         mouse_events: 0;
+         type: RECT;
+         description { state: "default" 0.0;
+            visible: 1;
+            rel1 {
+               relative: 0.0 0.0;
+            }
+            rel2 {
+               relative: 1.0 1.0;
+            }
+            color: 0 0 0 0;
+         }
+      }
+      part { name: "top_padding";
+         mouse_events: 0;
+         type: RECT;
+         scale: 1;
+         description { state: "default" 0.0;
+            min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
+            fixed: 0 1;
+            align: 0 0;
+            visible: 1;
+            rel1 {
+               relative: 0.0 0.0;
+            }
+            rel2 {
+               relative: 1.0 0.0;
+            }
+            color: 0 0 0 0;
+         }
+      }
+      part { name: "elm.text";
+         mouse_events: 0;
+         type: TEXT;
+         scale: 1;
+         description { state: "default" 0.0;
+            //min: 0 30;
+            fixed: 0 1;
+            align: 0 0;
+            visible: 1;
+            rel1 {
+               relative: 0.0 1.0;
+               to:"top_padding";
+            }
+            rel2 {
+               relative: 1.0 1.0;
+               to:"top_padding";
+            }
+            color: NOCONTENT_TEXT_BLOCK_STYLE_COLOR_INC;
+            text {
+               font: "SLP:style=Roman";
+               size: 30;
+               text: "";
+               align: 0.5 0.5;
+            }
+         }
+      }
+      part { name: "text_bottom_padding";
+         mouse_events: 0;
+         type: RECT;
+         scale: 1;
+         description { state: "default" 0.0;
+            min: 0 NOCONTENT_BASE_SEARCH_PADDING_INC;
+            fixed: 0 1;
+            align: 0 0;
+            visible: 0;
+            rel1 {
+               relative: 0.0 1.0;
+               to:"elm.text";
+            }
+            rel2 {
+               relative: 1.0 1.0;
+               to:"elm.text";
+            }
+         }
+      }
+      part { name: "custom";
+         mouse_events: 1;
+         type: SWALLOW;
+         scale: 1;
+         description { state: "default" 0.0;
+            min: 0 0;
+            fixed: 0 1;
+            align: 0 0;
+            visible: 1;
+            rel1 {
+               relative: 0.0 1.0;
+               to:"text_bottom_padding";
+            }
+            rel2 {
+               relative: 1.0 1.0;
+               to:"text_bottom_padding";
+            }
+         }
+      }
+   }
+}