summaryrefslogtreecommitdiff
path: root/main/layout/genlist/genlist_styles.edc
diff options
context:
space:
mode:
authorJisung Ahn <jcastle.ahn@samsung.com>2012-08-21 12:33:06 (GMT)
committerJisung Ahn <jcastle.ahn@samsung.com>2012-08-21 12:48:17 (GMT)
commita914248a31229bb81ed4ede970ca23e2490e0387 (patch)
tree8e3d763e83861131c778b442b3333496be1b23b7 /main/layout/genlist/genlist_styles.edc
parent8b42d4bb33943903b7160bb963bf7e7c6824e9ef (diff)
downloadug-image-viewer-efl-a914248a31229bb81ed4ede970ca23e2490e0387.zip
ug-image-viewer-efl-a914248a31229bb81ed4ede970ca23e2490e0387.tar.gz
ug-image-viewer-efl-a914248a31229bb81ed4ede970ca23e2490e0387.tar.bz2
initial upload
Change-Id: Ie9df15e2a3ce6a47e65f48aa0cfb43c2622b74d7
Diffstat (limited to 'main/layout/genlist/genlist_styles.edc')
-rwxr-xr-xmain/layout/genlist/genlist_styles.edc194
1 files changed, 176 insertions, 18 deletions
diff --git a/main/layout/genlist/genlist_styles.edc b/main/layout/genlist/genlist_styles.edc
index 4eeeca9..fd0b4c9 100755
--- a/main/layout/genlist/genlist_styles.edc
+++ b/main/layout/genlist/genlist_styles.edc
@@ -1,19 +1,18 @@
-/*
- * 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.
- */
-
+/*
+ * 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.
+ */
group { name: "elm/genlist/item/ivug/2text.2/default";
alias: "elm/genlist/item_odd/ivug/2text.2/default";
@@ -59,6 +58,7 @@ group { name: "elm/genlist/item/ivug/2text.2/default";
size: GENLIST_FONT_20_INC;
min: 0 1;
align: 0.0 0.5;
+ text_class: "slp_roman";
}
}
description { state: "selected" 0.0;
@@ -90,6 +90,7 @@ group { name: "elm/genlist/item/ivug/2text.2/default";
size: GENLIST_FONT_28_INC;
min: 0 1;
align: 0.0 0.5;
+ text_class: "slp_medium";
}
}
description { state: "selected" 0.0;
@@ -140,6 +141,162 @@ group { name: "elm/genlist/item/ivug/2text.2/default";
}
}
+ group { name: "elm/genlist/item_compress/ivug/multiline/2text.1icon/default";
+ alias: "elm/genlist/item_compress_odd/ivug/multiline/2text.1icon/default";
+ data.item: "stacking" "above";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.1 elm.text.2";
+ data.item: "contents" "elm.icon";
+ parts {
+ part { name: "base";
+ type: RECT;
+ repeat_events: 1;
+ description { state: "default" 0.0;
+ color: GENLIST_PART_BG_COLOR_INC;
+ }
+ }
+ GENLIST_PART_BG_IMAGE
+ GENLIST_PART_BOTTOM_LINE
+ GENLIST_PART_PADDING_TOP( GENLIST_PADDING_8_INC )
+ GENLIST_PART_PADDING_BOTTOM( GENLIST_PADDING_8_INC )
+ GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_10_INC )
+ GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_10_INC )
+ part { name: "elm.text.1";
+ clip_to: "disclip";
+ type: TEXT;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: 0 GENLIST_SIZE_26_INC;
+ fixed: 0 1;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.icon.left";
+ to_y: "elm.padding.top";
+ }
+ align: 0.0 0.0;
+ color: 160 160 160 255; //GENLIST_PART_FONT_LIST_MAIN_TEXT_UNREAD_COLOR_INC;
+ text {
+ font: "SLP:style=Roman";
+ size: GENLIST_FONT_32_INC;
+ min: 0 1;
+ align: 0.0 0.5;
+ text_class: "list_item";
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ color: GENLIST_PART_TEXT_PRESS_COLOR_INC;
+ }
+ }
+ part { name: "elm.icon";
+ clip_to: "disclip";
+ type: SWALLOW;
+ scale: 1;
+ description { state: "default" 0.0;
+ fixed: 1 1;
+ rel1 {
+ relative: 0.0 1.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.top";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.right";
+ to_y: "elm.padding.bottom";
+ }
+ align: 1.0 0.5;
+ }
+ GENLIST_DESCRIPTION_FLIP_ENABLED
+ }
+ part { name: "elm.padding.icon.left";
+ clip_to: "disclip";
+ type: RECT;
+ scale: 1;
+ description { state: "default" 0.0;
+ min: GENLIST_PADDING_16_INC 0;
+ fixed: 1 0;
+ rel1.to_x: "elm.icon";
+ rel2 {
+ relative: 0.0 1.0;
+ to_x: "elm.icon";
+ }
+ align: 1.0 0.0;
+ visible: 0;
+ }
+ }
+ part { name: "elm.text.2";
+ clip_to: "disclip";
+ type: TEXTBLOCK;
+ mouse_events: 0;
+ scale: 1;
+ description { state: "default" 0.0;
+ rel1 {
+ relative: 1.0 1.0;
+ to_x: "elm.padding.left";
+ to_y: "elm.text.1";
+ }
+ rel2 {
+ relative: 0.0 0.0;
+ to_x: "elm.padding.icon.left";
+ to_y: "elm.padding.bottom";
+ }
+ text {
+ style: "genlist_textblock_sub_style";
+ min: 0 1;
+ align: 0.0 0.5;
+ }
+ }
+ description { state: "selected" 0.0;
+ inherit: "default" 0.0;
+ text.style: "genlist_textblock_sub_selected_style";
+ }
+ }
+ GENLIST_PART_DISCLIP
+ }
+ programs {
+ // signal: elm,state,%s,active
+ // a "check" item named %s went active
+ // signal: elm,state,%s,passive
+ // a "check" item named %s went passive
+ // default is passive
+ program { name: "go_active";
+ signal: "elm,state,selected";
+ source: "elm";
+ action: STATE_SET "selected" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ }
+ program { name: "go_passive";
+ signal: "elm,state,unselected";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg_image";
+ target: "elm.text.1";
+ target: "elm.text.2";
+ transition: LINEAR 0.1;
+ }
+ program { name: "go_disabled";
+ signal: "elm,state,disabled";
+ source: "elm";
+ action: STATE_SET "disabled" 0.0;
+ target: "disclip";
+ }
+ program { name: "go_enabled";
+ signal: "elm,state,enabled";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "disclip";
+ }
+ }
+ }
+
group { name: "elm/genlist/item_compress/ivug/multiline/2text/default";
alias: "elm/genlist/item_compress_odd/ivug/multiline/2text/default";
alias: "elm/genlist/item_compress/ivug/multiline.2text/default";
@@ -186,6 +343,7 @@ group { name: "elm/genlist/item/ivug/2text.2/default";
size: GENLIST_FONT_32_INC;
min: 0 1;
align: 0.0 0.5;
+ text_class: "list_item";
}
}
description { state: "selected" 0.0;
@@ -210,14 +368,14 @@ group { name: "elm/genlist/item/ivug/2text.2/default";
to_y: "elm.padding.bottom";
}
text {
- style: "genlist_textblock_flexible_style";
+ style: "genlist_textblock_sub_style";
min: 0 1;
align: 0.0 0.5;
}
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
- text.style: "genlist_textblock_flexible_selected_style";
+ text.style: "genlist_textblock_sub_selected_style";
}
}
GENLIST_PART_DISCLIP