diff options
Diffstat (limited to 'lib/edc/speeddial_theme.edc')
-rw-r--r-- | lib/edc/speeddial_theme.edc | 141 |
1 files changed, 141 insertions, 0 deletions
diff --git a/lib/edc/speeddial_theme.edc b/lib/edc/speeddial_theme.edc new file mode 100644 index 0000000..c6db04d --- /dev/null +++ b/lib/edc/speeddial_theme.edc @@ -0,0 +1,141 @@ +/* + * Copyright 2012 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.tizenopensource.org/license + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#define WIDTH 720 +#define MIN_SIZE (WIDTH/3) + +collections { + group{ + name: "elm/gengrid/item/gridtext_speeddial/default"; + data.item: "texts" "elm.text elm.text.number"; + data.item: "contents" "elm.swallow.icon elm.swallow.check.icon"; + + parts{ + part{ + name: "bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + rel1 { relative: 0.0 0.0; } + rel2 { relative: 1.0 1.0; } + } + } + part { + name: "icon_bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: MIN_SIZE MIN_SIZE; + fixed: 1 1; + visible: 1; + color: 51 51 51 200; + rel1 { relative: 0.0 0.0; to: "bg"; } + rel2 { relative: 1.0 1.0; to: "bg"; } + } + } + part { + name: "elm.swallow.icon.bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + visible: 1; + color: 0 0 0 255; + rel1 { relative: 0.0 0.0; to: "icon_bg"; } + rel2 { relative: 1.0 1.0; offset: -2 -2;to: "icon_bg"; } + } + } + part{ + name: "elm.swallow.icon"; + type: SWALLOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "elm.swallow.icon.bg"; } + rel2 { relative: 1.0 1.0; to: "elm.swallow.icon.bg"; } + } + } + part { + name: "label_bg"; + type: RECT; + scale: 1; + description { + state: "default" 0.0; + min: MIN_SIZE 30; + fixed: 1 1; + align: 0.0 1.0; + visible: 0; + rel1 { relative: 0.0 1.0; offset: 0 0; to: "elm.swallow.icon.bg"; } + rel2 { relative: 1.0 1.0; offset: 0 -10; to: "elm.swallow.icon.bg"; } + } + } + part { + name: "elm.text"; + type: TEXT; + effect: SHADOW; + scale: 1; + description { + state: "default" 0.0; + rel1 { relative: 0.0 0.0; to: "label_bg"; } + rel2 { relative: 1.0 1.0; to: "label_bg"; } + color: 255 255 255 255; + color2: 0 0 0 185; + color3: 0 0 0 185; + text { + font: "SLP:style=Medium"; + text_class: "slp_medium"; + size: 25; + align: 0.5 0.5; + } + } + } + part { + name: "elm.text.number"; + type: TEXT; + effect: SHADOW; + scale: 1; + description { + state: "default" 0.0; + align: 0.5 0.5; + rel1 { relative: 0.0 0.0; to: "elm.swallow.icon.bg"; } + rel2 { relative: 1.0 1.0; to: "elm.swallow.icon.bg"; } + color: 255 255 255 255; + color2: 0 0 0 185; + color3: 0 0 0 185; + text { + font: "SLP:style=Medium"; + text_class: "slp_medium"; + size: 35; + align: 0.5 0.5; + } + } + } + part { + name: "elm.swallow.check.icon"; + type: SWALLOW; + description { + state: "default" 0.0; + align: 0.5 0.5; + rel1 { relative: 0.0 0.0; to: "elm.swallow.icon";} + rel2 { relative: 1.0 1.0; to: "elm.swallow.icon";} + } + } + } + } +} |