diff options
author | Kim Kibum <kb0929.kim@samsung.com> | 2012-06-08 14:54:16 +0900 |
---|---|---|
committer | Kim Kibum <kb0929.kim@samsung.com> | 2012-06-08 14:54:16 +0900 |
commit | 8b42d4bb33943903b7160bb963bf7e7c6824e9ef (patch) | |
tree | 021a596daee9f7e379b8914aad343a2342528e47 /main/layout/genlist/genlist_group_index.edc | |
parent | 7164c202e81bc53033dce636367d92b93265b915 (diff) | |
download | ug-image-viewer-efl-8b42d4bb33943903b7160bb963bf7e7c6824e9ef.tar.gz ug-image-viewer-efl-8b42d4bb33943903b7160bb963bf7e7c6824e9ef.tar.bz2 ug-image-viewer-efl-8b42d4bb33943903b7160bb963bf7e7c6824e9ef.zip |
apply FSL(Flora Software License)
Diffstat (limited to 'main/layout/genlist/genlist_group_index.edc')
-rwxr-xr-x | main/layout/genlist/genlist_group_index.edc | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/main/layout/genlist/genlist_group_index.edc b/main/layout/genlist/genlist_group_index.edc new file mode 100755 index 0000000..2891049 --- /dev/null +++ b/main/layout/genlist/genlist_group_index.edc @@ -0,0 +1,116 @@ +/* + * 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 GENLIST_PART_FONT_INDEX_LIST_COLOR_INC 240 240 240 255 +#define GENLIST_DIALOGUE_GROUP_BG_COLOR_INC 15 15 15 255 + +#define GENLIST_PART_INDEX_LIST_BASE_EVENT_INC \ + part { name: "base_event";\ + type: RECT;\ + repeat_events: 0;\ + description { state: "default" 0.0;\ + color: 0 0 0 0;\ + }\ + } + +#define GENLIST_PART_INDEX_LIST_BASE_IMAGE_INC \ + part { name: "base_image";\ + repeat_events: 1;\ + description { state: "default" 0.0;\ + rel1.to: "rect";\ + rel2.to: "rect";\ + }\ + } + + group { name: "elm/genlist/item/ivug/grouptitle/default"; + alias: "elm/genlist/item_odd/ivug/grouptitle/default"; + alias: "elm/genlist/item_compress/ivug/grouptitle/default"; + alias: "elm/genlist/item_compress_odd/ivug/grouptitle/default"; + + data.item: "stacking" "above"; + data.item: "selectraise" "on"; + data.item: "texts" "elm.text"; + data.item: "treesize" "GENLIST_TREESIZE_32_INC"; + + images { + //image: "00_index_list_bg.png" COMP; + } + parts { + GENLIST_PART_INDEX_LIST_BASE_EVENT_INC + GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_16_INC ) + GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_16_INC ) + part { name: "rect"; + type: RECT; + repeat_events: 1; + scale: 1; + description { state: "default" 0.0; + min: 0 GENLIST_HEIGHT_49_INC; + color: GENLIST_DIALOGUE_GROUP_BG_COLOR_INC; + } + description { state: "alpha_off" 0.0; + min: 0 GENLIST_SIZE_48_INC; + color: GENLIST_DIALOGUE_GROUP_BG_COLOR_INC; + } + } + GENLIST_PART_INDEX_LIST_BASE_IMAGE_INC + + part { name: "elm.text"; + type: TEXT; + scale: 1; + description { state: "default" 0.0; + align: 0.0 0.5; + rel1 { + relative: 1.0 0.0; + to_x: "elm.padding.left"; + } + rel2 { + relative: 0.0 1.0; + offset: 0 0; + to_x: "elm.padding.right"; + } + color: GENLIST_PART_FONT_INDEX_LIST_COLOR_INC; + text { + font: "SLP:style=Medium"; + size: GENLIST_FONT_32_INC; + min: 1 1; + align: 0.0 0.5; + } + } + } + } + program { + name: "enable_alpha"; + signal: "elm,state,alpha,enable"; + source: "elm"; + action: STATE_SET "default" 0.0; + target: "rect"; + } + program { + name: "disable_alpha"; + signal: "elm,state,alpha,disable"; + source: "elm"; + action: STATE_SET "alpha_off" 0.0; + target: "rect"; + } + program { + name: "selected"; + source: "rect"; + signal: "mouse,clicked,1"; + action: SIGNAL_EMIT "elm,title_action,item,click" "elm"; + } + } + |