summaryrefslogtreecommitdiff
path: root/res/edc
diff options
context:
space:
mode:
authorJehun Lim <jehun.lim@samsung.com>2015-10-06 14:43:20 +0900
committerJehun Lim <jehun.lim@samsung.com>2015-10-07 10:47:19 +0900
commit0911ba4df13b62ed6fa71febd49a92c186e20532 (patch)
treeab1ee736c4f60414505a4a65c49d9ce11247e8d2 /res/edc
parent75e7dcdd0df41485c7081d3b05ef0a620b0c5264 (diff)
downloadair_mediahub-0911ba4df13b62ed6fa71febd49a92c186e20532.tar.gz
air_mediahub-0911ba4df13b62ed6fa71febd49a92c186e20532.tar.bz2
air_mediahub-0911ba4df13b62ed6fa71febd49a92c186e20532.zip
detail: add play info item
Change-Id: Ibeecae8d573991c8bf865100d05ce6ee227a0e93 Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
Diffstat (limited to 'res/edc')
-rw-r--r--res/edc/images/ic_mini_player_pause.pngbin0 -> 1877 bytes
-rw-r--r--res/edc/view/detail.edc4
-rw-r--r--res/edc/widgets/button.edc195
3 files changed, 197 insertions, 2 deletions
diff --git a/res/edc/images/ic_mini_player_pause.png b/res/edc/images/ic_mini_player_pause.png
new file mode 100644
index 0000000..327c5ac
--- /dev/null
+++ b/res/edc/images/ic_mini_player_pause.png
Binary files differ
diff --git a/res/edc/view/detail.edc b/res/edc/view/detail.edc
index 9be3cd2..fd2b15a 100644
--- a/res/edc/view/detail.edc
+++ b/res/edc/view/detail.edc
@@ -184,13 +184,13 @@ group {
relative: 1.0 1.0;
}
rel2 {
- to: PART_DETAIL_PLAYING_INFO;
+ to: PART_DETAIL_PLAY_INFO;
relative: 1.0 0.0;
}
}
}
part {
- name: PART_DETAIL_PLAYING_INFO;
+ name: PART_DETAIL_PLAY_INFO;
type: SWALLOW;
scale: 1;
description {
diff --git a/res/edc/widgets/button.edc b/res/edc/widgets/button.edc
index a68f5cd..e32c9c8 100644
--- a/res/edc/widgets/button.edc
+++ b/res/edc/widgets/button.edc
@@ -4489,6 +4489,201 @@ group {
}
group {
+ name: "elm/button/base/detail_btn_play_info";
+ data.item: "focus_highlight" "on";
+ images {
+ image: IMAGE_MINI_PLAYER_PLAY COMP;
+ image: IMAGE_MINI_PLAYER_PAUSE COMP;
+ }
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: COLOR_ITEM_BG;
+ }
+ description {
+ state: "focused" 0.0;
+ inherit: "default" 0.0;
+ color: COLOR_ITEM_FOCUS;
+ }
+ }
+ part {
+ name: "padding_status";
+ type: SPACER;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel2.relative: 0.0 0.0;
+ min: 36 26;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: PART_PLAY_INFO_STATUS;
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "padding_status";
+ relative: 1.0 1.0;
+ }
+ rel2.to: "padding_status";
+ image.normal: IMAGE_MINI_PLAYER_PLAY;
+ min: 0 54;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ }
+ description {
+ state: "play" 0.0;
+ inherit: "default" 0.0;
+ min: 54 54;
+ }
+ description {
+ state: "pause" 0.0;
+ inherit: "play" 0.0;
+ image.normal: IMAGE_MINI_PLAYER_PAUSE;
+ }
+ }
+ part {
+ name: "padding_text";
+ type: SPACER;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: PART_PLAY_INFO_STATUS;
+ relative: 1.0 0.0;
+ }
+ rel2.to: PART_PLAY_INFO_STATUS;
+ min: 0 0;
+ align: 0.0 0.5;
+ fixed: 1 0;
+ }
+ description {
+ state: "play" 0.0;
+ inherit: "default" 0.0;
+ min: 10 0;
+ }
+ description {
+ state: "pause" 0.0;
+ inherit: "play" 0.0;
+ }
+ }
+ part {
+ name: "elm.text";
+ type: TEXT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ to: "padding_text";
+ relative: 1.0 0.0;
+ }
+ rel2.to: "padding_text";
+ text {
+ font: FONT_LIGHT;
+ size: 32;
+ align: 0.0 0.5;
+ }
+ min: 1694 0;
+ align: 0.0 0.5;
+ color: COLOR_TEXT_TITLE;
+ fixed: 1 0;
+ }
+ description {
+ state: "focused" 0.0;
+ inherit: "default" 0.0;
+ color: COLOR_TEXT_FOCUS;
+ }
+ description {
+ state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ color: COLOR_TEXT_DISABLED;
+ }
+ }
+ part {
+ name: "event";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ }
+ }
+ }
+ programs {
+ program {
+ name: "button_clicked";
+ signal: "mouse,clicked,1";
+ source: "event";
+ action: SIGNAL_EMIT "elm.action,click" "";
+ }
+ program {
+ name: "focused";
+ signal: "elm,action,focus";
+ source: "elm";
+ action: STATE_SET "focused" 0.0;
+ target: "bg";
+ target: "elm.text";
+ transition: TRANSITION_FOCUS;
+ }
+ program {
+ name: "unfocused";
+ signal: "elm,action,unfocus";
+ source: "elm";
+ action: STATE_SET "default" 0.0;
+ target: "bg";
+ target: "elm.text";
+ transition: TRANSITION_FOCUS;
+ }
+ program {
+ name: SIG_ELM_ENABLED;
+ signal: SIG_ELM_ENABLED;
+ source: SIG_SOURCE_ELM;
+ action: STATE_SET "default" 0.0;
+ target: "elm.text";
+ }
+ program {
+ name: SIG_ELM_DISABLED;
+ signal: SIG_ELM_DISABLED;
+ source: SIG_SOURCE_ELM;
+ action: STATE_SET "disabled" 0.0;
+ target: "elm.text";
+ }
+ program {
+ name: SIG_SET_STATUS_PLAY;
+ signal: SIG_SET_STATUS_PLAY;
+ source: SIG_SOURCE_SRC;
+ action: STATE_SET "play" 0.0;
+ target: PART_PLAY_INFO_STATUS;
+ target: "padding_text";
+ }
+ program {
+ name: SIG_SET_STATUS_PAUSE;
+ signal: SIG_SET_STATUS_PAUSE;
+ source: SIG_SOURCE_SRC;
+ action: STATE_SET "pause" 0.0;
+ target: PART_PLAY_INFO_STATUS;
+ target: "padding_text";
+ }
+ program {
+ name: SIG_SET_STATUS_STOP;
+ signal: SIG_SET_STATUS_STOP;
+ source: SIG_SOURCE_SRC;
+ action: STATE_SET "default" 0.0;
+ target: PART_PLAY_INFO_STATUS;
+ target: "padding_text";
+ }
+ }
+}
+
+group {
name: "elm/button/base/zoom_btn_up";
data.item, "focus_highlight" "on";
images {