summaryrefslogtreecommitdiff
path: root/res/edc
diff options
context:
space:
mode:
authorJehun Lim <jehun.lim@samsung.com>2015-09-11 13:08:04 +0900
committerJehun Lim <jehun.lim@samsung.com>2015-09-11 13:08:04 +0900
commit676fd61c56d31ab525c90957b0246f77931e3598 (patch)
tree7cfee7340e5ff69df9d4198e153d7725844e3f62 /res/edc
parentaf92654816569528bae0233a0b1ee4c6744e6b53 (diff)
downloadair_mediahub-676fd61c56d31ab525c90957b0246f77931e3598.tar.gz
air_mediahub-676fd61c56d31ab525c90957b0246f77931e3598.tar.bz2
air_mediahub-676fd61c56d31ab525c90957b0246f77931e3598.zip
movie: add genre view mode
Change-Id: I77fb921a32c6367917e5f8ae3cb93531c01069b0 Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
Diffstat (limited to 'res/edc')
-rw-r--r--res/edc/widgets/gengrid.edc374
1 files changed, 374 insertions, 0 deletions
diff --git a/res/edc/widgets/gengrid.edc b/res/edc/widgets/gengrid.edc
index 04b7876..68bd968 100644
--- a/res/edc/widgets/gengrid.edc
+++ b/res/edc/widgets/gengrid.edc
@@ -1584,6 +1584,380 @@ group {
}
group {
+ name: "elm/gengrid/item/genre_item/default";
+ data.item: "selectraise" "on";
+ data.item: "texts" "elm.text.title elm.text.count";
+ data.item: "contents" "elm.swallow.bg";
+ data.item: "focus_highlight" "on";
+ parts {
+ part {
+ name: "elm.padding.bottom_right";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.relative: 1.0 1.0;
+ min: 6 6;
+ align: 1.0 1.0;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "map";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ perspective {
+ zplane: 0;
+ focal: 1000;
+ }
+ visible: 0;
+ }
+ description {
+ state: "selected" 0.0;
+ inherit: "default" 0.0;
+ perspective.zplane: -100;
+ }
+ }
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel2 {
+ to: "elm.padding.bottom_right";
+ relative: 0.0 0.0;
+ }
+ fixed: 1 1;
+ visible: 0;
+ }
+ }
+ part {
+ name: "defaultbg";
+ scale: 1;
+ type: RECT;
+ description {
+ state : "default" 0.0;
+ rel1.to: "bg";
+ rel2.to: "bg";
+ color: COLOR_ITEM_DEFAULT;
+ map {
+ perspective_on: 1;
+ perspective: "map";
+ }
+ }
+ description {
+ state: "selected" 0.0;
+ inherit: "default" 0.0;
+ map.on: 1;
+ }
+ }
+ part {
+ name: PART_ELM_SWALLOW_BG;
+ scale: 1;
+ type: SWALLOW;
+ description {
+ state : "default" 0.0;
+ rel1.to: "defaultbg";
+ rel2.to: "defaultbg";
+ map {
+ perspective_on: 1;
+ perspective: "map";
+ }
+ }
+ description {
+ state: "selected" 0.0;
+ inherit: "default" 0.0;
+ map.on: 1;
+ }
+ }
+ part {
+ name: "part_focus1";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to: "bg";
+ rel2 {
+ to: "bg";
+ relative: 1.0 0.0;
+ }
+ min: 0 6;
+ align: 0.5 0.0;
+ color: COLOR_ITEM_FOCUS;
+ fixed: 0 1;
+ visible: 0;
+ map {
+ perspective_on: 1;
+ perspective: "map";
+ }
+ }
+ description {
+ state: "selected" 0.0;
+ inherit: "default" 0.0;
+ map.on: 1;
+ visible: 1;
+ }
+ description {
+ state: "selected_0" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: COLOR_ITEM_FOCUS_0;
+ }
+ }
+ part {
+ name: "part_focus2";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "part_focus1";
+ relative: 0.0 1.0;
+ }
+ rel2 {
+ to: "bg";
+ relative: 0.0 1.0;
+ }
+ min: 6 0;
+ align: 0.0 0.5;
+ color: COLOR_ITEM_FOCUS;
+ fixed: 1 0;
+ visible: 0;
+ map {
+ perspective_on: 1;
+ perspective: "map";
+ }
+ }
+ description {
+ state: "selected" 0.0;
+ inherit: "default" 0.0;
+ map.on: 1;
+ visible: 1;
+ }
+ description {
+ state: "selected_0" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: COLOR_ITEM_FOCUS_0;
+ }
+ }
+ part {
+ name: "part_focus3";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "part_focus1";
+ relative: 1.0 1.0;
+ }
+ rel2.to: "bg";
+ min: 6 0;
+ align: 1.0 0.5;
+ color: COLOR_ITEM_FOCUS;
+ fixed: 1 0;
+ visible: 0;
+ map {
+ perspective_on: 1;
+ perspective: "map";
+ }
+ }
+ description {
+ state: "selected" 0.0;
+ inherit: "default" 0.0;
+ map.on: 1;
+ visible: 1;
+ }
+ description {
+ state: "selected_0" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: COLOR_ITEM_FOCUS_0;
+ }
+ }
+ part {
+ name: "part_focus4";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "part_focus2";
+ relative: 1.0 1.0;
+ }
+ rel2 {
+ to: "part_focus3";
+ relative: 0.0 1.0;
+ }
+ min: 0 6;
+ align: 0.5 1.0;
+ color: COLOR_ITEM_FOCUS;
+ fixed: 0 1;
+ visible: 0;
+ map {
+ perspective_on: 1;
+ perspective: "map";
+ }
+ }
+ description {
+ state: "selected" 0.0;
+ inherit: "default" 0.0;
+ map.on: 1;
+ visible: 1;
+ }
+ description {
+ state: "selected_0" 0.0;
+ inherit: "default" 0.0;
+ visible: 1;
+ color: COLOR_ITEM_FOCUS_0;
+ }
+ }
+ part {
+ name: PART_ELM_TEXT_TITLE;
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "bg";
+ relative: 0.5 0.5;
+ }
+ rel2 {
+ to: "bg";
+ relative: 0.5 0.5;
+ }
+ text {
+ font: FONT_LIGHT;
+ size: 28;
+ min: 1 0;
+ align: 0.5 0.5;
+ ellipsis: -1;
+ }
+ min: 0 28;
+ align: 0.5 0.5;
+ color: COLOR_TEXT_FOCUS;
+ fixed: 0 1;
+ map {
+ perspective_on: 1;
+ perspective: "map";
+ }
+ }
+ description {
+ state: "selected" 0.0;
+ inherit: "default" 0.0;
+ map.on: 1;
+ }
+ }
+ part {
+ name: "padding_count";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "defaultbg";
+ relative: 1.0 1.0;
+ }
+ rel2.to: "defaultbg";
+ min: 14 12;
+ align: 1.0 1.0;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: PART_ELM_TEXT_COUNT;
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1.to: "padding_count";
+ rel2 {
+ to: "padding_count";
+ relative: 0.0 0.0;
+ }
+ text {
+ font: FONT_LIGHT;
+ size: 24;
+ min: 1 0;
+ align: 1.0 1.0;
+ ellipsis: -1;
+ }
+ min: 0 24;
+ align: 1.0 1.0;
+ color: COLOR_TEXT_FOCUS;
+ fixed: 0 1;
+ map {
+ perspective_on: 1;
+ perspective: "map";
+ }
+ }
+ description {
+ state: "selected" 0.0;
+ inherit: "default" 0.0;
+ map.on: 1;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "go_active";
+ signal: "elm,state,focused";
+ source: "elm";
+ action: STATE_SET "selected_0" 0.0;
+ target: "part_focus1";
+ target: "part_focus2";
+ target: "part_focus3";
+ target: "part_focus4";
+ after: "focus,in,anim";
+ }
+ program {
+ name: "focus,in,anim";
+ action: STATE_SET "selected" 0.0;
+ target: "defaultbg";
+ target: PART_ELM_SWALLOW_BG;
+ target: "part_focus1";
+ target: "part_focus2";
+ target: "part_focus3";
+ target: "part_focus4";
+ target: PART_ELM_TEXT_TITLE;
+ target: PART_ELM_TEXT_COUNT;
+ transition: TRANSITION_FOCUS;
+ }
+ program {
+ name: "go_passive";
+ signal: "elm,state,unfocused";
+ source: "elm";
+ action: STATE_SET "selected_0" 0.0;
+ target: "part_focus1";
+ target: "part_focus2";
+ target: "part_focus3";
+ target: "part_focus4";
+ transition: TRANSITION_FOCUS;
+ after: "focus,out,anim";
+ }
+ program {
+ name: "focus,out,anim";
+ action: STATE_SET "default" 0.0;
+ target: PART_ELM_SWALLOW_BG;
+ target: "defaultbg";
+ target: "part_focus1";
+ target: "part_focus2";
+ target: "part_focus3";
+ target: "part_focus4";
+ target: PART_ELM_TEXT_TITLE;
+ target: PART_ELM_TEXT_COUNT;
+ }
+ }
+}
+
+group {
name: "elm/gengrid/item/movie_item_favorite/default";
inherit: "elm/gengrid/item/movie_item/default";
parts {