#define BUTTON_NAVIFRAME_TITLE_BUTTON_BG_MIN_MAX_INC 63 63
#define BUTTON_NAVIFRAME_TITLE_BUTTON_MIN_MAX_INC 63 63
-#define BUTTON_CUSTOM_ICON_NORMAL_COLOR 236 234 226 255
-#define BUTTON_CUSTOM_ICON_PRESS_COLOR 64 147 247 255
-#define BUTTON_CUSTOM_ICON_DIM_COLOR 236 234 226 75
+#define BUTTON_CUSTOM_ICON_NORMAL_COLOR 10 14 74 255
+#define BUTTON_CUSTOM_ICON_PRESS_COLOR 43 95 185 255
+#define BUTTON_CUSTOM_ICON_DIM_COLOR 195 202 210 255
#define BUTTON_NAVIFRAME_MORE_BG_MIN_MAX_INC 85 98
#define BUTTON_NAVIFRAME_MORE_DEFAULT_IMAGE_MIN_MAX_INC 63 63
}
-
group {
name: "elm/button/base/custom/circle_1/default";
parts {
type: RECT;
description {
state: "default" 0.0;
- rel1.relative: 0.3 0.3;
- rel2.relative: 0.7 0.7;
- color: 0 166 191 255;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
visible: 0;
+ color: 255 0 0 100;
}
description {
state: "clicked" 0.0;
inherit: "default" 0.0;
}
}
- part {
- name: "button_bg";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
- image.normal: "button/T01-2_control_circle_button_01_press.png";
- color: 0 166 191 255;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01_press.png";
- color: 0 166 191 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01_press.png";
- color: 0 166 191 255;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01_press.png";
- color: 0 166 191 255;
- }
- }
-
- part {
- name: "button_circle";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
- image.normal: "button/T01-2_control_circle_button_01.png";
- color: 0 166 191 255;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01.png";
- color: 0 166 191 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01.png";
- color: 0 166 191 255;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01_focus.png";
- color: 0 166 191 255;
- }
- }
part {
name: "elm.text";
type: TEXT;
description {
state: "default" 0.0;
visible: 1;
- rel1.relative: 0 0;
+ max: 32 32;
+ min: 32 32;
+ rel1.relative: 0 0;
rel2.relative: 1 1;
- rel1.to: "button_image";
+ rel1.to: "button_image";
rel2.to: "button_image";
}
}
action: SIGNAL_EMIT "elm,action,unpress" "";
after: "button_unclick_anim";
}
+
program {
name: "button_unclick_anim";
action: STATE_SET "default" 0.0;
//target: "button_bg";
}
- /*program {
- name: "focused";
- signal: "elm,action,focus";
- source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "button_circle";
- target: "button_bg";
- }
- program {
- name: "unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button_circle";
- target: "button_bg";
- }*/
program {
name: "button_clicked";
source: "over2";
part {
name: "button_image";
type: RECT;
- type: RECT;
description {
state: "default" 0.0;
- rel1.relative: 0.3 0.3;
- rel2.relative: 0.7 0.7;
- color: 0 255 0 255;
+ color: 0 0 255 100;
visible: 0;
}
description {
inherit: "default" 0.0;
}
}
- part {
- name: "button_bg";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
- image.normal: "button/T01-2_control_circle_button_01_press.png";
- color: 0 166 191 255;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01_press.png";
- color: 0 166 191 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01_press.png";
- color: 0 166 191 255;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01_press.png";
- color: 0 166 191 255;
- }
- }
-
- part {
- name: "button_circle";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
- image.normal: "button/T01-2_control_circle_button_01.png";
- color: 0 166 191 255;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01.png";
- color: 0 166 191 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01.png";
- color: 0 166 191 255;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01.png";
- color: 0 166 191 255;
- }
- }
part {
name: "elm.text";
type: TEXT;
part {
name: "elm.swallow.content";
type: SWALLOW;
- scale: 1;
+ scale: 1;
mouse_events: 0;
description {
state: "default" 0.0;
visible: 1;
- rel1.relative: 0 0;
+ max: 32 32;
+ min: 32 32;
+ rel1.relative: 0 0;
rel2.relative: 1 1;
- rel1.to: "button_image";
+ rel1.to: "button_image";
rel2.to: "button_image";
}
}
+
part {
name: "over2";
type: RECT;
state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
+
}
}
} /* parts */
name: "button_click_anim";
action: STATE_SET "clicked" 0.0;
target: "button_image";
- target: "button_circle";
- target: "button_bg";
}
program {
name: "button_unclick_anim";
action: STATE_SET "default" 0.0;
target: "button_image";
- target: "button_circle";
- target: "button_bg";
}
program {
action: STATE_SET "disabled" 0.0;
target: "button_image";
target: "disabler";
- target: "button_circle";
- target: "button_bg";
}
program {
name: "enable";
action: STATE_SET "default" 0.0;
target: "button_image";
target: "disabler";
- target: "button_circle";
- target: "button_bg";
}
- program {
- name: "focused";
- signal: "elm,action,focus";
- source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "button_circle";
- target: "button_bg";
- }
- program {
- name: "unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button_circle";
- target: "button_bg";
- }
program {
name: "button_clicked";
source: "over2";
} /* programs */
}
+
+
+
group {
name: "elm/button/base/custom/circle_2/default";
parts {
type: IMAGE;
description {
state: "default" 0.0;
- rel1.relative: 0.8 0.3;
- rel2.relative: 1.2 0.7;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ max: 21 24;
+ min: 21 24;
visible: 1;
image { normal: "control/T01-2_control_circle_icon_rewind.png";}
- color: 0 166 191 255;
}
description {
state: "clicked" 0.0;
inherit: "default" 0.0;
}
}
-
- /*part {
- name: "button_bg";
+ part {
+ name: "button_imageAMIT";
type: IMAGE;
- mouse_events: 0;
description {
state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ max: 21 24;
+ min: 21 24;
visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
- image.normal: "button/T01-2_control_circle_button_02_press.png";
- color: 0 0 0 153;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02_press.png";
- color: 66 162 207 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02_press.png";
- color: 0 0 0 153;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02_press.png";
- color: 0 0 0 153;
+ color: 255 0 0 100;
+ visible: 1;
}
}
-
- part {
- name: "button_circle";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
- image.normal: "button/T01-2_control_circle_button_02.png";
- color: 255 255 255 255 128;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02.png";
- color: 66 162 207 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02.png";
- color: 255 255 255 51;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02.png";
- color: 255 255 255 255 128;
- }
- }*/
part {
name: "elm.text";
type: TEXT;
}
}
}
- /*part {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
-
- rel1.to: "button_image";
- rel2.to: "button_image";
- }
- }*/
part {
name: "over2";
type: RECT;
action: STATE_SET "disabled" 0.0;
target: "button_image";
target: "disabler";
- //target: "button_circle";
- //target: "button_bg";
+
}
program {
name: "enable";
action: STATE_SET "default" 0.0;
target: "button_image";
target: "disabler";
- //target: "button_circle";
- //target: "button_bg";
- }
- /*program {
- name: "focused";
- action: STATE_SET "focused" 0.0;
- target: "button_circle";
- target: "button_bg";
}
- program {
- name: "unfocused";
- action: STATE_SET "default" 0.0;
- target: "button_circle";
- target: "button_bg";
- }*/
program {
name: "button_clicked";
source: "over2";
type: IMAGE;
description {
state: "default" 0.0;
- rel1.relative: -0.2 0.3;
- rel2.relative: 0.2 0.7;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.5 0.5;
+ max: 21 24;
+ min: 21 24;
visible: 1;
image { normal: "control/T01-2_control_circle_icon_next.png";}
- color: 0 166 191 255;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- }
- }
-
- /*part {
- name: "button_bg";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
- image.normal: "button/T01-2_control_circle_button_02_press.png";
- color: 0 0 0 153;
}
description {
state: "clicked" 0.0;
inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02_press.png";
- color: 66 162 207 255;
}
description {
state: "disabled" 0.0;
inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02_press.png";
- color: 0 0 0 153;
}
description {
state: "focused" 0.0;
inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02_press.png";
- color: 0 0 0 153;
}
}
- part {
- name: "button_circle";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
- image.normal: "button/T01-2_control_circle_button_02.png";
- color: 255 255 255 255 128;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02.png";
- color: 66 162 207 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02.png";
- color: 255 255 255 51;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02.png";
- color: 255 255 255 255 128;
- }
- }*/
part {
name: "elm.text";
type: TEXT;
}
}
}
- /*part {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
-
- rel1.to: "button_image";
- rel2.to: "button_image";
- }
- }*/
+
part {
name: "over2";
type: RECT;
name: "button_click_anim";
action: STATE_SET "clicked" 0.0;
target: "button_image";
- //target: "button_circle";
- //target: "button_bg";
}
program {
name: "button_unclick_anim";
action: STATE_SET "default" 0.0;
target: "button_image";
- //target: "button_circle";
- //target: "button_bg";
+
}
program {
action: STATE_SET "disabled" 0.0;
target: "button_image";
target: "disabler";
- //target: "button_circle";
- //target: "button_bg";
+
}
program {
name: "enable";
action: STATE_SET "default" 0.0;
target: "button_image";
target: "disabler";
- //target: "button_circle";
- //target: "button_bg";
- }
- /*program {
- name: "focused";
- action: STATE_SET "focused" 0.0;
- target: "button_circle";
- target: "button_bg";
+
}
- program {
- name: "unfocused";
- action: STATE_SET "default" 0.0;
- target: "button_circle";
- target: "button_bg";
- }*/
program {
name: "button_clicked";
source: "over2";
name: "button_image";
type: RECT;
scale: 1;
-
- description {
+ description {
state: "default" 0.0;
- rel1.relative:0.0 0.0;
- rel2.relative:0.95 1.0;
color:255 0 0 255;
visible: 0;
}
description {
state: "default" 0.0;
visible: 1;
- min: 26 26;
- max: 26 26;
- //fixed: 1 1;
- rel1
- { relative: 0.0 0.0; to:"button_image";}
+ min: 28 25;
+ max: 28 25;
+ align: 0.5 0.5;
+ rel1
+ {relative: 0.0 0.0; to:"button_image"; }
rel2
{relative: 1.0 1.0; to:"button_image"; }
}
description {
state: "default" 0.0;
visible: 0;
- min: 26 26;
- max: 26 26;
- fixed: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
+ min: 28 25;
+ max: 28 25;
+ align: 0.5 0.5;
+ rel1
+ { relative: 0.0 0.0; to:"button_image"; }
+ rel2
+ {relative: 1.0 1.0; to:"button_image"; }
}
description {
state: "show" 0.0;
description {
state: "default" 0.0;
visible: 0;
- min: 26 26;
- max: 26 26;
- fixed: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
+ min: 28 25;
+ max: 28 25;
+ align: 0.5 0.5;
+ rel1
+ { relative: 0.0 0.0; to:"button_image"; }
+ rel2
+ {relative: 1.0 1.0; to:"button_image"; }
}
description {
state: "show" 0.0;
parts {
part {
name: "button_image";
- type: RECT;
+ type: RECT;
description {
state: "default" 0.0;
- //rel1.relative:0.7 0.0;
- //rel2.relative:1.0 1.0;
color:0 0 255 255;
visible: 0;
}
description {
state: "default" 0.0;
visible: 1;
- min: 26 26;
- max: 26 26;
- //fixed: 1 1;
- rel1
- { relative: 0.0 0.0; to:"button_image";}
+ min: 32 26;
+ max: 32 26;
+ fixed: 1 1;
+ rel1
+ {relative: 0.0 0.0; to:"button_image";}
rel2
- {relative: 1.0 1.0; to:"button_image"; }
+ {relative: 1.0 1.0; to:"button_image";}
}
description {
state: "hide" 0.0;
description {
state: "default" 0.0;
visible: 0;
- min: 26 26;
- max: 26 26;
+ min: 32 26;
+ max: 32 26;
fixed: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
+ rel1
+ {relative: 0.0 0.0; to:"button_image";}
+ rel2
+ {relative: 1.0 1.0; to:"button_image";}
}
description {
state: "show" 0.0;
description {
state: "default" 0.0;
visible: 0;
- min: 26 26;
- max: 26 26;
+ min: 32 26;
+ max: 32 26;
fixed: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
+ rel1
+ {relative: 0.0 0.0; to:"button_image";}
+ rel2
+ {relative: 1.0 1.0; to:"button_image";}
}
description {
state: "show" 0.0;
part {
name: "bg";
type: RECT;
+ scale: 1;
mouse_events: 1;
description {
state: "default" 0.0;
- color: 0 0 0 0;
- min: 80 80;
- max: 80 80;
+ min: 48 48;
+ max: 48 48;
+ visible: 0;
+ color: 0 0 0 0;
}
}
part {
name: "icon";
type: IMAGE;
mouse_events: 1;
+ scale: 1;
description {
state: "default" 0.0;
rel1 {
- relative: 0 0;
+ relative: 0.5 0.5;
to: "bg";
}
rel2 {
- relative: 1 1;
+ relative: 0.5 0.5;
to: "bg";
}
+ align: 0.5 0.5;
+ min: 11 18;
+ max: 11 18;
+ fixed: 1 1;
image {
normal: "button/core_icon_back.png";
}
action: RUN_PLUGIN "touch_sound_plugin";
}
}
-
}
+group {
+ name: "elm/button/base/more_menu";
+ images
+ {
+ image: "button/icon_more_menu.png" COMP;
+ }
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ min: 48 48;
+ max: 48 48;
+ }
+ }
+ part {
+ name: "icon";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 6 24;
+ max: 6 24;
+ align: 0.5 0.5;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "bg";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "bg";
+ }
+ image {
+ normal: "button/icon_more_menu.png";
+ }
+ }
+ }
+ } /*parts*/
+ programs {
+ program {
+ name: "buttonclicked";
+ signal: "mouse,clicked,1";
+ source: "bg";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "buttontextclicked";
+ signal: "mouse,clicked,1";
+ source: "icon";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program{
+ name: "touch_snd";
+ source: "bg";
+ signal: "mouse,clicked,1";
+ action: RUN_PLUGIN "touch_sound_plugin";
+ }
+ program{
+ name: "touch_snd1";
+ source: "icon";
+ signal: "mouse,clicked,1";
+ action: RUN_PLUGIN "touch_sound_plugin";
+ }
+ }
+}
#define VIDEO_TITLE_FONT_STYLE "Tizen:style=Medium"
#define VIDEO_TITLE_FONT_SIZE 40
#define VIDEO_TITLE_FONT_DEFAULT_COLOR 255 255 255 204
-
+#define CURRENT_BASE_SCALE 1.8
images
{
+ image: "navigation_bg/00_top_bar_empty.png" COMP;
+
/* multi window */
image: "multi/T01_2_mw_control_bg_left.png" COMP;
image: "multi/T01_2_mw_control_bg_left_press.png" COMP;
image: "button/T01-2_control_circle_button_03.png" COMP;
image: "button/T01-2_control_circle_button_03_press.png" COMP;
image: "button/core_icon_back.png" COMP;
+ image: "button/icon_more_menu.png" COMP;
+
image: "control/T01-2_control_circle_icon_rewind.png" COMP;
image: "control/T01-2_control_circle_icon_next.png" COMP;
/*genlist*/
#define NAVIFRAME_TITLE_BG_COLOR_INC 0 0 0 0
#define NAVIFRAME_TOOLBAR_BG_COLOR_INC 0 0 0 0
-#define NAVIFRAME_TITLE_TOP_PADDING_INC 0 16
-#define NAVIFRAME_TITLE_H_INC 50
+#define NAVIFRAME_TITLE_TOP_PADDING_INC 0 16
+#define NAVIFRAME_TITLE_H_INC 80
#define NAVIFRAME_TOOLBAR_HEIGHT_INC 0
-#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 63 63
+#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 48 48
#define NAVIFRAME_PADDING_INC 20 0
-#define NAVIFRAME_PADDING2_INC 6 0
+#define NAVIFRAME_PADDING2_INC 20 0
#define NAVIFRAME_PADDING3_INC 8 0
-#define NAVIFRAME_BOTTOM_TEXT_PADDING_INC 0 11
-#define NAVIFRAME_BOTTOM_RIGHT_PADDING_INC 26 11
+#define NAVIFRAME_BOTTOM_TEXT_PADDING_INC 0 16
+#define NAVIFRAME_BOTTOM_RIGHT_PADDING_INC 20 16
#define NAVIFRAME_BOTTOM_PADDING_INC 0 10
#define NAVIFRAME_VIEW_TRANS_TIME 0.3
#define NAVIFRAME_TAG_HEIGHT 192
+styles {
+ style { name: "title_default_text";
+ base: "font=Tizen:weight=Regular:width=BreezeSans align=center color=#000C2B font_size=26";
+ }
+}
+
group {
name:"elm/naviframe/item/playview/basic/default";
alias:"elm/naviframe/item/playview/1line/default";
+ images
+ {
+ image: "navigation_bg/00_top_bar_empty.png" COMP;
+ }
script {
public tbar_bg = 0; //Toolbar BG Show call count
public buttons_visible = 0; //when both buttons are visible
part {
name: "title_bg";
- type: RECT;
+ type: IMAGE;
scale: 1;
description {
state: "default" 0.0;
visible: 1;
rel1 { relative: 0.0 0.0; to: "title_swallow"; }
rel2 { relative: 1.0 0.0; to: "title_swallow"; }
- color: NAVIFRAME_TITLE_BG_COLOR_INC;
+ image { normal: "navigation_bg/00_top_bar_empty.png"; }
}
/*
description {
scale: 1;
description {
state: "default" 0.0;
- min: 45 0;
+ min: 76 0;
fixed: 1 0;
align: 0.0 0.5;
rel1 { relative: 0.0 0.0; to: "title_bg"; }
// _NATIVE_BUFFER_SYNC
rel1 { relative: 0.0 0.0; to: "base"; }
rel2 { relative: 1.0 1.0; to: "base"; }
- /*
- rel1.relative: 0.0 1.0;
- rel1.to_x: "base";
- rel1.to_y: "title_bg";
- rel2.relative: 1.0 0.0;
- rel2.to_x: "base";
- rel2.to_y: "toolbar_bg";
- */
}
description {
state: "sip_visible" 0.0;
scale: 1;
description {
state: "default" 0.0;
- min: 45 0;
+ min: 88 0;
fixed: 1 0;
align: 1.0 0.5;
rel1 { relative: 1.0 0.0; to: "title_bg"; }
}
part {
name: "elm.text.title";
- type: TEXT;
- effect: FAR_SHADOW BOTTOM;
+ type: TEXTBLOCK;
scale: 1;
repeat_events: 1;
clip_to: "title_clip";
text {
min: 0 0;
max: 1 0;
- size: 18;
+ style: title_default_text;
}
/* chageable GUI
color: VIDEO_TITLE_FONT_DEFAULT_COLOR;
color3: 0 0 0 255;
align: 0.5 0.5;
*/
- color: 240 240 240 255;
fixed: 1 1;
rel1 { relative: 1.0 1.0; to_x: "padding_center_text1"; to_y: "top_padding"; }
max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
fixed: 1 1;
align: 0.0 0.5;
- rel1 { relative: 0.5 0.0; to: "title_btns_padding"; }
- rel2 { relative: 0.5 1.0; to: "title_btns_padding"; }
+ rel1 { relative: 1.0 0.0; to: "title_btns_padding"; }
+ rel2 { relative: 1.0 1.0; to: "title_btns_padding"; }
}
}
part {
- name: "title_right_btn";
+ name: "elm.swallow.next_btn";
type: SWALLOW;
scale: 1;
clip_to: "title_clip";
}
program {
name: "right_btn_show";
- signal: "elm,state,title_right_btn,show";
+ signal: "elm,state,elm.swallow.next_btn,show";
source: "elm";
action: STATE_SET "visible" 0.0;
script {
}
program {
name: "right_btn_hide";
- signal: "elm,state,title_right_btn,hide";
+ signal: "elm,state,elm.swallow.next_btn,hide";
source: "elm";
action: STATE_SET "default" 0.0;
script {
external: "feedback";
}
collections {
+ base_scale: CURRENT_BASE_SCALE;
plugins {
plugin {
name: "touch_sound_plugin";
*/
#include "pv-image.edc"
+#include "custom/pv-custom-define.edc"
#define PV_NORMAL_CONTROL_BG "control/T01-2_control_bg.png"
#define PV_NORMAL_CONTROL_LANDSCAPE_BG "control/T01-2_control_bg_h.png"
}
collections {
-
+ base_scale: CURRENT_BASE_SCALE;
#define PV_PART_DESCRIPTION_HIDE \
description { \
state: "hide" 0.0; \
description {
state: "default" 0.0;
visible: 0;
- min: 0 12;
+ min: 0 6;
fixed: 0 1;
align: 0.0 1.0;
rel1 { relative: 0.0 1.0; to_y : "pv.normal.control.bg"; }
}
part {
name: "pv.normal.control.bg.rect";
- type: RECT;
+ type: IMAGE;
scale: 1;
description {
state: "default" 0.0;
align: 0.5 0.5;
rel1 { relative: 0.0 0.0; to: "pv.normal.control.bg";}
rel2 { relative: 1.0 1.0; to: "pv.normal.control.bg";}
- color: 255 255 255 255;
+ image{ normal: PV_NORMAL_CONTROL_LANDSCAPE_BG; }
}
}
part {
description {
state: "default" 0.0;
visible: 1;
- min: 0 46;//(26+11+12+34);
- max: -1 46;//(26+11+12+34);
+ min: 1120 50;//(26+11+12+34);
+ max: 1120 50;//(26+11+12+34);
fixed: 0 1;
align: 0.0 0.0;
- rel1 { relative: 0.0 1.0; to_y: "pv.normal.control.function";}
- rel2 { relative: 1.0 1.0; to_y: "pv.normal.control.function";}
+ rel1 { relative: 0.0 0.0; to_y: "pv.normal.control.bg.rect"; offset: +80 +16;}
+ rel2 { relative: 1.0 0.0; to_y: "pv.normal.control.bg.rect"; }
}
description {
state: "landscape" 0.0;
inherit: "default" 0.0;
- min: 0 46;
- rel1 { relative: 0.0 0.0; to_y: "pv.normal.control.bg.rect";}
+ min: 1120 50;//(26+11+12+34);
+ max: 1120 50;//(26+11+12+34);
+ rel1 { relative: 0.0 0.0; to_y: "pv.normal.control.bg.rect"; offset: +80 +16;}
rel2 { relative: 1.0 0.0; to_y: "pv.normal.control.bg.rect";}
}
}
description {
state: "default" 0.0;
visible: 0;
- min: 0 70;//(12+70+26+11+12+(34/2));
- max: -1 70;//(12+70+26+11+12+(34/2));
- fixed: 0 1;
+ min: 80 78;//(12+70+26+11+12+(34/2));
+ max: 80 78;//(12+70+26+11+12+(34/2));
+ fixed: 1 1;
align: 0.0 0.0;
rel1 { relative: 0.0 0.0; to_y: "pv.normal.control.bg";}
- rel2 { relative: 1.0 0.0; to_y: "pv.normal.control.bg";}
+ rel2 { relative: 0.0 0.0; to_y: "pv.normal.control.bg";}
color: 255 0 0 125;
}
}
+
part {
name: "pv.normal.control.toolbar.rect";
type: RECT;
description {
state: "default" 0.0;
visible: 0;
- min: 0 80;
- max: -1 80;
- fixed: 0 1;
+ min: 80 32;
+ max: 80 32;
+ fixed: 1 1;
align: 0.0 0.0;
- rel1 { relative: 0.0 0.6; to_y: "pv.normal.control.toolbar.top";}
- rel2 { relative: 1.0 0.6; to_y: "pv.normal.control.toolbar.top";}
+ rel1 { relative: 0.0 1.0; to_y: "pv.normal.control.toolbar.top";}
+ rel2 { relative: 1.0 1.0; to_y: "pv.normal.control.toolbar.top";}
color: 255 0 0 255;
}
description {
state: "landscape" 0.0;
visible: 0;
- fixed: 0 1;
+ min: 80 32;
+ max: 80 32;
+ fixed: 1 1;
align: 0.0 0.0;
rel1 { relative: 0.0 1.0; to_y: "pv.normal.control.toolbar.top";}
rel2 { relative: 1.0 1.0; to_y: "pv.normal.control.toolbar.top";}
description {
state: "default" 0.0;
visible: 1;
- min: 60 60;
+ min: 32 32;
+ max: 32 32;
fixed: 1 1;
- align: 0.5 0.5;
- rel1 { relative: 0.05 0.45; to_x: "pv.normal.control.bg"; to_y: "pv.normal.control.toolbar.rect"; offset: +18 0;}
- rel2 { relative: 0.05 0.45; to_x: "pv.normal.control.bg"; to_y: "pv.normal.control.toolbar.rect"; offset: +78 0;}
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "pv.normal.control.toolbar.rect"; }
+ rel2 { relative: 1.0 1.0; to: "pv.normal.control.toolbar.rect"; }
color: 255 255 255 255;
}
PV_PART_DESCRIPTION_HIDE
PV_PART_DESCRIPTION_SHOW
}
+
+
part {
name: "pv.normal.control.toolbar.popupPlayer";
type: SWALLOW;
PV_PART_DESCRIPTION_SHOW
}
+ part {
+ name: "pv.normal.control.toolbar.play.control.padding";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 44 44;
+ max: 44 44;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "pv.normal.control.bg";}
+ rel2 { relative: 0.0 0.0; to: "pv.normal.control.bg";}
+ color: 0 0 255 255;
+ }
+ }
+
part {
name: "pv.normal.control.play";
type: SWALLOW;
description {
state: "default" 0.0;
visible: 1;
- min: 80 80;
+ min: 48 48;
+ max: 48 48;
fixed: 1 1;
align: 0.5 0.5;
- rel1 { relative: 0.5 0.0; to_y: "pv.normal.control.toolbar.rect";}
- rel2 { relative: 0.5 1.0; to_y: "pv.normal.control.toolbar.rect";}
+ rel1 { relative: 0.5 1.0; to_x: pv.normal.control.bg; to_y: "pv.normal.control.toolbar.play.control.padding"; offset: 0 24;}
+ rel2 { relative: 0.5 1.0; to_x: pv.normal.control.bg; to_y: "pv.normal.control.toolbar.play.control.padding"; offset: 0 24;}
color: 255 255 255 255;
}
PV_PART_DESCRIPTION_HIDE
description {
state: "default" 0.0;
visible: 0;
- min: 16 0;
- fixed: 1 0;
- align: 1.0 0.5;
- rel1 { relative: 0.0 0.0; to_x: "pv.normal.control.play"; to_y: "pv.normal.control.toolbar.rect";}
- rel2 { relative: 0.0 1.0; to_x: "pv.normal.control.play"; to_y: "pv.normal.control.toolbar.rect";}
+ min: 40 48;
+ max: 40 48;
+ fixed: 1 1;
+ align: 1.0 0.0;
+ rel1 { relative: 0.0 0.0; to : "pv.normal.control.play"; }
+ rel2 { relative: 0.0 1.0; to : "pv.normal.control.play"; }
color: 255 255 0 255;
}
}
description {
state: "default" 0.0;
visible: 0;
- min: 16 0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 { relative: 1.0 0.0; to_x: "pv.normal.control.play"; to_y: "pv.normal.control.toolbar.rect";}
- rel2 { relative: 1.0 1.0; to_x: "pv.normal.control.play"; to_y: "pv.normal.control.toolbar.rect";}
- color: 255 255 0 255;
+ min: 40 48;
+ max: 40 48;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to : "pv.normal.control.play"; }
+ rel2 { relative: 1.0 1.0; to : "pv.normal.control.play"; }
+ color: 255 0 0 255;
}
}
description {
state: "default" 0.0;
visible: 1;
- min: 110 110;
+ min: 48 48;
+ max: 48 48;
fixed: 1 1;
- align: 1.0 0.5;
- rel1 { relative: 0.0 0.5; to_x: "pv.normal.control.play.left.padding"; to_y: "pv.normal.control.toolbar.rect";}
- rel2 { relative: 0.0 0.5; to_x: "pv.normal.control.play.left.padding"; to_y: "pv.normal.control.toolbar.rect";}
+ align: 1.0 0.0;
+ rel1 { relative: 0.0 0.0; to_x: "pv.normal.control.play.left.padding"; to_y: "pv.normal.control.play";}
+ rel2 { relative: 0.0 1.0; to_x: "pv.normal.control.play.left.padding"; to_y: "pv.normal.control.play";}
color: 255 255 255 255;
}
PV_PART_DESCRIPTION_HIDE
description {
state: "default" 0.0;
visible: 1;
- min: 110 110;
+ min: 48 48;
+ max: 48 48;
fixed: 1 1;
- align: 0.0 0.5;
- rel1 { relative: 1.0 0.5; to_x: "pv.normal.control.play.right.padding"; to_y: "pv.normal.control.toolbar.rect";}
- rel2 { relative: 1.0 0.5; to_x: "pv.normal.control.play.right.padding"; to_y: "pv.normal.control.toolbar.rect";}
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to_x: "pv.normal.control.play.right.padding"; to_y: "pv.normal.control.play";}
+ rel2 { relative: 1.0 1.0; to_x: "pv.normal.control.play.right.padding"; to_y: "pv.normal.control.play";}
color: 255 255 255 255;
}
PV_PART_DESCRIPTION_HIDE
*/
#include "pv-image.edc"
+#include "custom/pv-custom-define.edc"
#define FONT_BOLD_TYPE "Tizen:style=Bold"
#define FONT_COLOR 255 255 255 255
}
collections {
+ base_scale: CURRENT_BASE_SCALE;
plugins {
plugin {
name: "touch_sound_plugin";
description {
state: "portrait.show" 0.0;
inherit: "default" 0.0;
- min: 0 110;
+ min: 0 120;
}
description {
state: "landscape.show" 0.0;
inherit: "default" 0.0;
- min: 0 100;
+ min: 0 120;
}
}
}
}
+
+ part {
+ name: "pv.normal.main.control.volume.icon.rightpadding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 80 78;//(12+70+26+11+12+(34/2));
+ max: 80 78;//(12+70+26+11+12+(34/2));
+ fixed: 1 1;
+ align: 1.0 0.0;
+ rel1 { relative: 0.0 0.0; to_y: "pv.normal.main.control";}
+ rel2 { relative: 1.0 0.0; to_y: "pv.normal.main.control";}
+ color: 255 255 0 125;
+ }
+ }
+
part {
name: "pv.normal.main.volume.icon";
type: SWALLOW;
scale: 1;
description {
state: "default" 0.0;
- min: 60 60;
+ min: 32 32;
fixed: 1 1;
- align: 0.0 1.0;
+ align: 1.0 0.0;
visible: 0;
- rel1 { relative: 1.0 -0.02; to_y : "pv.normal.main.control"; offset: -134 0;}
- rel2 { relative: 1.0 -0.02; to_y : "pv.normal.main.control"; offset: -194 0;}
+ rel1 { relative: 0.0 1.0; to: "pv.normal.main.control.volume.icon.rightpadding"; }
+ rel2 { relative: 0.0 1.0; to: "pv.normal.main.control.volume.icon.rightpadding"; }
}
description {
state: "portrait.show" 0.0;
}
}
+
part {
name: "pv.normal.main.speed.rect";
type: RECT;
* limitations under the License.
*/
#include "pv-image.edc"
+#include "custom/pv-custom-define.edc"
#define FONT_BOLD_TYPE "Tizen:style=Bold"
#define FONT_MEDIUM_TYPE "Tizen:style=Medium"
*/
#define PLAYER_PROGRESSBAR_H 4
-#define PLAYER_CIRCLE_W 26
-#define PLAYER_CIRCLE_H 26
-#define PLAYER_CIRCLE_PRESS_W 26
-#define PLAYER_CIRCLE_PRESS_H 26
+#define PLAYER_CIRCLE_W 24
+#define PLAYER_CIRCLE_H 24
+#define PLAYER_CIRCLE_PRESS_W 42
+#define PLAYER_CIRCLE_PRESS_H 42
#define IMG_PLAYER_PROGRESSBAR_BG "progressbar/core_progress_bar.#.png"
#define IMG_PLAYER_PROGRESSBAR_HANDLE "progressbar/T01_2_control_progress_handle.png"
#define IMG_PLAYER_PROGRESSBAR_HANDLE_PRESS "progressbar/T01_2_control_progress_handle_press.png"
+
+styles {
+ style { name: "progess_playing_text";
+ base: "font=Tizen:weight=Regular:width=BreezeSans font_size=18 color=#001447";
+ }
+}
+
+styles {
+ style { name: "progess_duration_text";
+ base: "font=Tizen:weight=Regular:width=BreezeSans font_size=18 align=right color=#001447";
+ }
+}
+
+
+
collections {
+ base_scale: CURRENT_BASE_SCALE;
group {
name: "pv.progress";
description {
state: "default" 0.0;
visible: 0;
- min: 12 0;
+ min: 80 0;
fixed: 1 0;
align: 0.0 0.0;
rel1 { relative: 0.0 0.0; to_y : "pv.progress.bg";}
description {
state: "landscape" 0.0;
inherit: "default" 0.0;
- min: 12 0;
+ min: 80 0;
}
}
description {
state: "default" 0.0;
visible: 0;
- min: 12 0;
+ min: 80 0;
fixed: 1 0;
align: 1.0 0.0;
rel1 { relative: 1.0 0.0; to_y : "pv.progress.bg";}
description {
state: "landscape" 0.0;
inherit: "default" 0.0;
- min: 12 0;
+ min: 80 0;
}
}
part {
name: "pv.progress.playing.txt";
- type: TEXT;
+ type: TEXTBLOCK;
mouse_events: 1;
scale: 1;
- effect: FAR_SHADOW BOTTOM;
description {
state: "default" 0.0;
visible: 1;
- min: 90 16;
+ min: 120 22;
fixed: 1 1;
align: 0.0 1.0;
- rel1 { relative: 1.0 1.0; offset: 0 -40; to_x : "pv.progress.playing.txt.left.padding"; to_y : "pv.progress.bottom.padding";}
- rel2 { relative: 1.0 1.0; offset: 0 -40; to_x : "pv.progress.playing.txt.left.padding"; to_y : "pv.progress.bottom.padding";}
- color: 5 131 198 255;
+ rel1 { relative: 0.0 1.0; to_x : "pv.progress.bg"; to_y : "pv.progress.bg";}
+ rel2 { relative: 0.0 1.0; to_x : "pv.progress.bg"; to_y : "pv.progress.bg";}
+ color: 0 8 28 255;
text {
- size: 12;
text: "00:00:00";
align: 0.0 0.5;
+ style: progess_playing_text;
}
}
description {
state: "landscape" 0.0;
inherit: "default" 0.0;
- align: 0.0 0.5;
- rel1 { relative: 1.0 0.5; offset: 0 40; to_x : "pv.progress.playing.txt.left.padding"; to_y : "pv.progress.bg";}
- rel2 { relative: 1.0 0.5; offset: 0 40; to_x : "pv.progress.playing.txt.left.padding"; to_y : "pv.progress.bg";}
+ align: 0.0 1.0;
+ rel1 { relative: 0.0 1.0; to_x : "pv.progress.bg"; to_y : "pv.progress.bg";}
+ rel2 { relative: 0.0 1.0; to_x : "pv.progress.bg"; to_y : "pv.progress.bg";}
}
}
part {
name: "pv.progress.duration.txt";
- type: TEXT;
+ type: TEXTBLOCK;
mouse_events: 1;
scale: 1;
- effect: FAR_SHADOW BOTTOM;
description {
state: "default" 0.0;
visible: 1;
- min: 90 16;
+ min: 120 22;
fixed: 1 1;
align: 1.0 1.0;
- rel1 { relative: 0.0 1.0; offset: 0 -40; to_x : "pv.progress.duration.txt.right.padding"; to_y : "pv.progress.bottom.padding";}
- rel2 { relative: 0.0 1.0; offset: 0 -40; to_x : "pv.progress.duration.txt.right.padding"; to_y : "pv.progress.bottom.padding";}
- color: 179 179 179 255;
+ rel1 { relative: 1.0 1.0; to_x : "pv.progress.bg"; to_y : "pv.progress.bg";}
+ rel2 { relative: 1.0 1.0; to_x : "pv.progress.bg"; to_y : "pv.progress.bg";}
+ color: 0 8 28 255;
text {
- size: 12;
text: "--:--:--";
- align: 1.0 0.5;
+ style: progess_duration_text;
}
}
description {
state: "landscape" 0.0;
inherit: "default" 0.0;
- align: 1.0 0.5;
- rel1 { relative: 0.0 0.5; offset: 0 40; to_x : "pv.progress.duration.txt.right.padding"; to_y : "pv.progress.bg";}
- rel2 { relative: 0.0 0.5; offset: 0 40; to_x : "pv.progress.duration.txt.right.padding"; to_y : "pv.progress.bg";}
+ align: 1.0 1.0;
+ rel1 { relative: 1.0 1.0; to_x : "pv.progress.bg"; to_y : "pv.progress.bg";}
+ rel2 { relative: 1.0 1.0; to_x : "pv.progress.bg"; to_y : "pv.progress.bg";}
}
}
min: 0 PLAYER_PROGRESSBAR_H;
fixed: 0 1;
align: 0.0 0.0;
- rel1 { relative: 0.02 0.0; to_x : "pv.progress.playing.txt"; to_y : "pv.progress.bg";}
- rel2 { relative: 0.98 0.0; to_x : "pv.progress.duration.txt"; to_y : "pv.progress.bg";}
+ rel1 { relative: 0.0 0.0; offset: 0 +10; to_x : "pv.progress.playing.txt"; to_y : "pv.progress.bg";}
+ rel2 { relative: 1.0 0.0; offset: 0 +10; to_x : "pv.progress.duration.txt"; to_y : "pv.progress.bg";}
image { normal: IMG_PLAYER_PROGRESSBAR_BG;}
- color: 179 179 179 255;
+ color: 255 255 255 255;
}
description {
state: "landscape" 0.0;
inherit: "default" 0.0;
- align: 1.0 0.5;
- rel1 { relative: 0.02 0.5; to_x : "pv.progress.playing.txt"; to_y : "pv.progress.bg";}
- rel2 { relative: 0.98 0.5; to_x : "pv.progress.duration.txt"; to_y : "pv.progress.bg";}
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; offset: 0 +10; to_x : "pv.progress.playing.txt"; to_y : "pv.progress.bg";}
+ rel2 { relative: 1.0 0.0; offset: 0 +10; to_x : "pv.progress.duration.txt"; to_y : "pv.progress.bg";}
}
}
part {
rel1 { relative: 0.0 0.0; to: "pv.progress.bar.bg"; offset : -2 -1; }
rel2 { relative: 0.5 1.0; to_x: "pv.progress.circle"; to_y: "pv.progress.bar.bg"; }
image { normal: IMG_PLAYER_PROGRESSBAR_BG;}
- color: 0 166 191 255;
+ color: 10 14 74 255;
}
description {
rel1 { relative: 0.5 0.5; to_x: "pv.progress.circle"; to_y: "pv.progress.bar.bg"; }
rel2 { relative: 0.5 0.5; to_x: "pv.progress.circle"; to_y: "pv.progress.bar.bg"; }
image { normal: IMG_PLAYER_PROGRESSBAR_HANDLE;}
- color: 0 166 191 255;
+ color: 10 14 74 255;
}
}
part {
rel1 { relative: 0.5 0.5; to_x: "pv.progress.circle"; to_y: "pv.progress.bar.bg"; }
rel2 { relative: 0.5 0.5; to_x: "pv.progress.circle"; to_y: "pv.progress.bar.bg"; }
image { normal: IMG_PLAYER_PROGRESSBAR_HANDLE_PRESS;}
- color: 0 166 191 255;
+ color: 10 14 74 255;
}
description {
state: "show" 0.0;
if ((nVolume == 0) || bMute) {
pIcon =
- vp_button_create_icon(pNormalView->pVolumeBtn, edj_path,
+ vp_button_create_icon(pNormalView->pVolumeBtn, NULL,
VP_PLAY_NORMAL_RES_MUTE);
elm_object_part_content_set(pNormalView->pVolumeBtn,
VP_PLAY_SWALLOW_BUTTON_ICON, pIcon);
pIcon =
- vp_button_create_icon(pNormalView->pVolumeBtn, edj_path,
+ vp_button_create_icon(pNormalView->pVolumeBtn, NULL,
VP_PLAY_NORMAL_RES_MUTE_PRESS);
elm_object_part_content_set(pNormalView->pVolumeBtn,
VP_PLAY_SWALLOW_BUTTON_PRESS_ICON,
pIcon);
pIcon =
- vp_button_create_icon(pNormalView->pVolumeBtn, edj_path,
+ vp_button_create_icon(pNormalView->pVolumeBtn, NULL,
VP_PLAY_NORMAL_RES_MUTE_DIM);
elm_object_part_content_set(pNormalView->pVolumeBtn,
VP_PLAY_SWALLOW_BUTTON_DIM_ICON,
pIcon);
} else {
pIcon =
- vp_button_create_icon(pNormalView->pVolumeBtn, edj_path,
+ vp_button_create_icon(pNormalView->pVolumeBtn, NULL,
VP_PLAY_NORMAL_RES_VOLUME);
elm_object_part_content_set(pNormalView->pVolumeBtn,
VP_PLAY_SWALLOW_BUTTON_ICON, pIcon);
pIcon =
- vp_button_create_icon(pNormalView->pVolumeBtn, edj_path,
+ vp_button_create_icon(pNormalView->pVolumeBtn, NULL,
VP_PLAY_NORMAL_RES_VOLUME_PRESS);
elm_object_part_content_set(pNormalView->pVolumeBtn,
VP_PLAY_SWALLOW_BUTTON_PRESS_ICON,
pIcon);
pIcon =
- vp_button_create_icon(pNormalView->pVolumeBtn, edj_path,
+ vp_button_create_icon(pNormalView->pVolumeBtn, NULL,
VP_PLAY_NORMAL_RES_VOLUME_DIM);
elm_object_part_content_set(pNormalView->pVolumeBtn,
VP_PLAY_SWALLOW_BUTTON_DIM_ICON,
pNormalView->pCtxPopup = elm_ctxpopup_add(pPlayView->pWin);
+
+ elm_ctxpopup_direction_priority_set(pNormalView->pCtxPopup, ELM_CTXPOPUP_DIRECTION_UP, ELM_CTXPOPUP_DIRECTION_UNKNOWN, ELM_CTXPOPUP_DIRECTION_UNKNOWN, ELM_CTXPOPUP_DIRECTION_UNKNOWN);
+
+
if (!pNormalView->pCtxPopup) {
VideoLogError("pNormalView->pCtxPopup is NULL");
return;
case VIDEO_PLAY_TYPE_PREVIEW:
break;
}
-
+/*
int nW = 0;
int nH = 0;
nW = rect.h / 2;
nH = rect.w;
}
-
- evas_object_move(pNormalView->pCtxPopup, nW, nH);
-
+*/
+ evas_object_resize(pNormalView->pCtxPopup, 320, 300);
+ evas_object_move(pNormalView->pCtxPopup, 1280, 64);
evas_object_show(pNormalView->pCtxPopup);
}
pIcon =
vp_button_create_icon(pNormalView->pScreenSizeBtn,
- edj_path,
+ NULL,
VP_PLAY_NORMAL_RES_SCREEN_1_MODE);
elm_object_part_content_set(pNormalView->pScreenSizeBtn,
VP_PLAY_SWALLOW_BUTTON_ICON,
pIcon =
vp_button_create_icon(pNormalView->pScreenSizeBtn,
- edj_path,
+ NULL,
VP_PLAY_NORMAL_RES_SCREEN_1_MODE);
elm_object_part_content_set(pNormalView->pScreenSizeBtn,
VP_PLAY_SWALLOW_BUTTON_PRESS_ICON,
pIcon);
- elm_object_text_set(pNormalView->pScreenSizeBtn,
- VP_PLAY_STRING_COM_FULL);
return;
} else if (pNormalView->nDisplayMode ==
pIcon =
vp_button_create_icon(pNormalView->pScreenSizeBtn,
- edj_path,
+ NULL,
VP_PLAY_NORMAL_RES_SCREEN_2_MODE);
elm_object_part_content_set(pNormalView->pScreenSizeBtn,
VP_PLAY_SWALLOW_BUTTON_ICON,
pIcon =
vp_button_create_icon(pNormalView->pScreenSizeBtn,
- edj_path,
+ NULL,
VP_PLAY_NORMAL_RES_SCREEN_2_MODE_PRESS);
elm_object_part_content_set(pNormalView->pScreenSizeBtn,
VP_PLAY_SWALLOW_BUTTON_PRESS_ICON,
pIcon);
- elm_object_text_set(pNormalView->pScreenSizeBtn,
- VP_PLAY_STRING_COM_KEEP_RATIO);
return;
}
if (!bLockState) {
pNormalView->pVolumeBtn =
vp_button_create(pParent, "custom/flat_46_46/default",
- VP_PLAY_STRING_COM_VOLUME,
+ NULL,
(Evas_Smart_Cb)
__vp_normal_function_btn_clicked_cb,
(Evas_Smart_Cb)
pNormalView->pResumeBtn =
vp_button_create(pParent, "custom/circle_1/default",
- VP_PLAY_STRING_COM_PLAY,
+ NULL,
(Evas_Smart_Cb)
__vp_normal_control_btn_clicked_cb,
(Evas_Smart_Cb) __vp_normal_control_btn_press_cb,
pNormalView->pPauseBtn =
vp_button_create(pParent, "custom/circle_1_focus/default",
- VP_PLAY_STRING_COM_PAUSE,
+ NULL,
(Evas_Smart_Cb)
__vp_normal_control_btn_clicked_cb,
(Evas_Smart_Cb) __vp_normal_control_btn_press_cb,
pNormalView->pScreenSizeBtn =
vp_button_create(pParent, "custom/flat_56_56/default",
- VP_PLAY_STRING_COM_FULL,
+ NULL,
(Evas_Smart_Cb)
__vp_normal_function_btn_clicked_cb,
(Evas_Smart_Cb) __vp_normal_control_btn_press_cb,
(Evas_Smart_Cb)
__vp_normal_control_btn_unpress_cb,
(void *) pNormalView);
- evas_object_color_set(pNormalView->pScreenSizeBtn, 0, 166, 191, 255);
if (!pNormalView->pScreenSizeBtn) {
VideoLogError("elm_button_add is fail");
return FALSE;
Evas_Object *pIcon = NULL;
pIcon =
- vp_button_create_icon(pNormalView->pResumeBtn, edj_path,
+ vp_button_create_icon(pNormalView->pResumeBtn, NULL,
VP_PLAY_NORMAL_RES_RESUME);
elm_object_part_content_set(pNormalView->pResumeBtn,
VP_PLAY_SWALLOW_BUTTON_ICON, pIcon);
pIcon =
- vp_button_create_icon(pNormalView->pPauseBtn, edj_path,
+ vp_button_create_icon(pNormalView->pPauseBtn, NULL,
VP_PLAY_NORMAL_RES_PAUSE);
elm_object_part_content_set(pNormalView->pPauseBtn,
VP_PLAY_SWALLOW_BUTTON_ICON, pIcon);
if (pNormalView->nDisplayMode == VP_MM_PLAYER_DISPLAY_FULL_SCREEN) {
pIcon =
- vp_button_create_icon(pNormalView->pScreenSizeBtn, edj_path,
+ vp_button_create_icon(pNormalView->pScreenSizeBtn, NULL,
VP_PLAY_NORMAL_RES_SCREEN_2_MODE);
elm_object_part_content_set(pNormalView->pScreenSizeBtn,
VP_PLAY_SWALLOW_BUTTON_ICON, pIcon);
pIcon =
- vp_button_create_icon(pNormalView->pScreenSizeBtn, edj_path,
+ vp_button_create_icon(pNormalView->pScreenSizeBtn, NULL,
VP_PLAY_NORMAL_RES_SCREEN_2_MODE);
elm_object_part_content_set(pNormalView->pScreenSizeBtn,
VP_PLAY_SWALLOW_BUTTON_PRESS_ICON,
} else if (pNormalView->nDisplayMode ==
VP_MM_PLAYER_DISPLAY_ORIGIN_SIZE) {
pIcon =
- vp_button_create_icon(pNormalView->pScreenSizeBtn, edj_path,
+ vp_button_create_icon(pNormalView->pScreenSizeBtn, NULL,
VP_PLAY_NORMAL_RES_SCREEN_1_MODE);
elm_object_part_content_set(pNormalView->pScreenSizeBtn,
VP_PLAY_SWALLOW_BUTTON_ICON, pIcon);
pIcon =
- vp_button_create_icon(pNormalView->pScreenSizeBtn, edj_path,
+ vp_button_create_icon(pNormalView->pScreenSizeBtn, NULL,
VP_PLAY_NORMAL_RES_SCREEN_1_MODE);
elm_object_part_content_set(pNormalView->pScreenSizeBtn,
VP_PLAY_SWALLOW_BUTTON_PRESS_ICON,
} else if (pNormalView->nDisplayMode ==
VP_MM_PLAYER_DISPLAY_ORIGIN_OR_LETTER) {
pIcon =
- vp_button_create_icon(pNormalView->pScreenSizeBtn, edj_path,
+ vp_button_create_icon(pNormalView->pScreenSizeBtn, NULL,
VP_PLAY_NORMAL_RES_SCREEN_3_MODE);
elm_object_part_content_set(pNormalView->pScreenSizeBtn,
VP_PLAY_SWALLOW_BUTTON_ICON, pIcon);
} else {
pIcon =
- vp_button_create_icon(pNormalView->pScreenSizeBtn, edj_path,
+ vp_button_create_icon(pNormalView->pScreenSizeBtn, NULL,
VP_PLAY_NORMAL_RES_SCREEN_1_MODE);
elm_object_part_content_set(pNormalView->pScreenSizeBtn,
VP_PLAY_SWALLOW_BUTTON_ICON, pIcon);
(void *) pNormalView);
elm_access_highlight_set(pNormalView->pMainLayout);
+ Evas_Object *pRightbtn = elm_button_add(pNormalView->pNaviFrame);
+ elm_object_style_set(pRightbtn, "more_menu");
+ evas_object_smart_callback_add(pRightbtn, "clicked",
+ __vp_normal_more_btn_clicked_cb,
+ (void *) pNormalView);
+
+ evas_object_show(pRightbtn);
pNormalView->pNaviItem =
- elm_naviframe_item_push(pNormalView->pNaviFrame, NULL, NULL, NULL,
+ elm_naviframe_item_push(pNormalView->pNaviFrame, NULL, NULL, pRightbtn,
pNormalView->pMainLayout,
"playview/1line");
+ if (!pNormalView->pNaviItem) {
+ VideoLogError("elm_naviframe_item_push fail");
+ return FALSE;
+ }
+
Evas_Object *pLeftbtn = elm_button_add(pNormalView->pNaviFrame);
elm_object_style_set(pLeftbtn, "back");
evas_object_smart_callback_add(pLeftbtn, "clicked",
__vp_normal_naviframe_pop_cb,
(void *) pNormalView);
- if (!pNormalView->pNaviItem) {
- VideoLogError("elm_naviframe_item_push fail");
- return FALSE;
- }
-
elm_object_signal_callback_add(pNormalView->pMainLayout,
VP_NORMAL_SIGNAL_MAIN_SHOW_FINISH, "*",
__vp_normal_show_finish_cb,
VP_EVAS_DEL(pNormalView->pCtxPopup);
- if (pNormalView->nDisplayMode == VP_MM_PLAYER_DISPLAY_LETTER_BOX) {
- elm_object_text_set(pNormalView->pScreenSizeBtn,
- VP_PLAY_STRING_COM_FULL);
- } else {
- elm_object_text_set(pNormalView->pScreenSizeBtn,
- VP_PLAY_STRING_COM_KEEP_RATIO);
- }
return TRUE;
}
/* check temp */
#include "vp-play-log.h"
+#include <app_common.h>
+
+
/**
*
* @param pParent
Evas_Object *pObj = NULL;
pObj = elm_icon_add(pParent);
- if (!elm_image_file_set(pObj, pEdjPath, pGroupName)) {
- VideoLogError("elm_image_file_set is fail");
- return NULL;
+ if (pEdjPath == NULL) {
+ char image_path[2048] = {0, };
+ char *path = app_get_resource_path();
+ if (!path){
+ VideoLogError("Resource path is NULL");
+ return NULL;
+ }
+
+ snprintf(image_path, 2048, "%s%s%s", path, "/edje/images/", pGroupName);
+ free(path);
+ elm_image_file_set(pObj, image_path, NULL);
+ }
+ else {
+ elm_image_file_set(pObj, pEdjPath, pGroupName);
}
+
evas_object_size_hint_weight_set(pObj, EVAS_HINT_EXPAND,
EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(pObj, EVAS_HINT_FILL, EVAS_HINT_FILL);
#define BUTTON_NAVIFRAME_TITLE_BUTTON_BG_MIN_MAX_INC 63 63
#define BUTTON_NAVIFRAME_TITLE_BUTTON_MIN_MAX_INC 63 63
-#define BUTTON_CUSTOM_ICON_NORMAL_COLOR 236 234 226 255
-#define BUTTON_CUSTOM_ICON_PRESS_COLOR 64 147 247 255
-#define BUTTON_CUSTOM_ICON_DIM_COLOR 236 234 226 75
+#define BUTTON_CUSTOM_ICON_NORMAL_COLOR 10 14 74 255
+#define BUTTON_CUSTOM_ICON_PRESS_COLOR 43 95 185 255
+#define BUTTON_CUSTOM_ICON_DIM_COLOR 195 202 210 255
#define BUTTON_NAVIFRAME_MORE_BG_MIN_MAX_INC 85 98
#define BUTTON_NAVIFRAME_MORE_DEFAULT_IMAGE_MIN_MAX_INC 63 63
}
-
group {
name: "elm/button/base/custom/circle_1/default";
parts {
type: RECT;
description {
state: "default" 0.0;
- rel1.relative: 0.3 0.3;
- rel2.relative: 0.7 0.7;
- color: 0 166 191 255;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
visible: 0;
+ color: 255 0 0 100;
}
description {
state: "clicked" 0.0;
inherit: "default" 0.0;
}
}
- part {
- name: "button_bg";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
- image.normal: "button/T01-2_control_circle_button_01_press.png";
- color: 0 166 191 255;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01_press.png";
- color: 0 166 191 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01_press.png";
- color: 0 166 191 255;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01_press.png";
- color: 0 166 191 255;
- }
- }
-
- part {
- name: "button_circle";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
- image.normal: "button/T01-2_control_circle_button_01.png";
- color: 0 166 191 255;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01.png";
- color: 0 166 191 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01.png";
- color: 0 166 191 255;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01_focus.png";
- color: 0 166 191 255;
- }
- }
part {
name: "elm.text";
type: TEXT;
description {
state: "default" 0.0;
visible: 1;
- rel1.relative: 0 0;
+ max: 32 32;
+ min: 32 32;
+ rel1.relative: 0 0;
rel2.relative: 1 1;
- rel1.to: "button_image";
+ rel1.to: "button_image";
rel2.to: "button_image";
}
}
+
part {
name: "over2";
type: RECT;
action: SIGNAL_EMIT "elm,action,unpress" "";
after: "button_unclick_anim";
}
+
program {
name: "button_unclick_anim";
action: STATE_SET "default" 0.0;
//target: "button_bg";
}
- /*program {
- name: "focused";
- signal: "elm,action,focus";
- source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "button_circle";
- target: "button_bg";
- }
- program {
- name: "unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button_circle";
- target: "button_bg";
- }*/
program {
name: "button_clicked";
source: "over2";
part {
name: "button_image";
type: RECT;
- type: RECT;
description {
state: "default" 0.0;
- rel1.relative: 0.3 0.3;
- rel2.relative: 0.7 0.7;
- color: 0 255 0 255;
+ color: 0 0 255 100;
visible: 0;
}
description {
inherit: "default" 0.0;
}
}
- part {
- name: "button_bg";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
- image.normal: "button/T01-2_control_circle_button_01_press.png";
- color: 0 166 191 255;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01_press.png";
- color: 0 166 191 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01_press.png";
- color: 0 166 191 255;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01_press.png";
- color: 0 166 191 255;
- }
- }
-
- part {
- name: "button_circle";
- type: IMAGE;
- scale: 1;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
- image.normal: "button/T01-2_control_circle_button_01.png";
- color: 0 166 191 255;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01.png";
- color: 0 166 191 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01.png";
- color: 0 166 191 255;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_01.png";
- color: 0 166 191 255;
- }
- }
+
part {
name: "elm.text";
type: TEXT;
part {
name: "elm.swallow.content";
type: SWALLOW;
- scale: 1;
+ scale: 1;
mouse_events: 0;
description {
state: "default" 0.0;
visible: 1;
- rel1.relative: 0 0;
+ max: 32 32;
+ min: 32 32;
+ rel1.relative: 0 0;
rel2.relative: 1 1;
- rel1.to: "button_image";
+ rel1.to: "button_image";
rel2.to: "button_image";
}
}
+
part {
name: "over2";
type: RECT;
state: "disabled" 0.0;
inherit: "default" 0.0;
visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
+
}
}
} /* parts */
name: "button_click_anim";
action: STATE_SET "clicked" 0.0;
target: "button_image";
- target: "button_circle";
- target: "button_bg";
}
program {
name: "button_unclick_anim";
action: STATE_SET "default" 0.0;
target: "button_image";
- target: "button_circle";
- target: "button_bg";
}
program {
action: STATE_SET "disabled" 0.0;
target: "button_image";
target: "disabler";
- target: "button_circle";
- target: "button_bg";
}
program {
name: "enable";
action: STATE_SET "default" 0.0;
target: "button_image";
target: "disabler";
- target: "button_circle";
- target: "button_bg";
}
- program {
- name: "focused";
- signal: "elm,action,focus";
- source: "elm";
- action: STATE_SET "focused" 0.0;
- target: "button_circle";
- target: "button_bg";
- }
- program {
- name: "unfocused";
- signal: "elm,action,unfocus";
- source: "elm";
- action: STATE_SET "default" 0.0;
- target: "button_circle";
- target: "button_bg";
- }
program {
name: "button_clicked";
source: "over2";
} /* programs */
}
+
+
+
group {
name: "elm/button/base/custom/circle_2/default";
parts {
type: IMAGE;
description {
state: "default" 0.0;
- rel1.relative: 0.8 0.3;
- rel2.relative: 1.2 0.7;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ max: 21 24;
+ min: 21 24;
visible: 1;
image { normal: "control/T01-2_control_circle_icon_rewind.png";}
- color: 0 166 191 255;
}
description {
state: "clicked" 0.0;
inherit: "default" 0.0;
}
}
-
- /*part {
- name: "button_bg";
+
+ part {
+ name: "button_imageAMIT";
type: IMAGE;
- mouse_events: 0;
description {
state: "default" 0.0;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ max: 21 24;
+ min: 21 24;
visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
- image.normal: "button/T01-2_control_circle_button_02_press.png";
- color: 0 0 0 153;
+ color: 255 0 0 100;
+ visible: 1;
}
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02_press.png";
- color: 66 162 207 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02_press.png";
- color: 0 0 0 153;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02_press.png";
- color: 0 0 0 153;
- }
- }
-
- part {
- name: "button_circle";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
- image.normal: "button/T01-2_control_circle_button_02.png";
- color: 255 255 255 255 128;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02.png";
- color: 66 162 207 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02.png";
- color: 255 255 255 51;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02.png";
- color: 255 255 255 255 128;
- }
- }*/
+ }
+
part {
name: "elm.text";
type: TEXT;
}
}
}
- /*part {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
-
- rel1.to: "button_image";
- rel2.to: "button_image";
- }
- }*/
part {
name: "over2";
type: RECT;
action: STATE_SET "disabled" 0.0;
target: "button_image";
target: "disabler";
- //target: "button_circle";
- //target: "button_bg";
+
}
program {
name: "enable";
action: STATE_SET "default" 0.0;
target: "button_image";
target: "disabler";
- //target: "button_circle";
- //target: "button_bg";
- }
- /*program {
- name: "focused";
- action: STATE_SET "focused" 0.0;
- target: "button_circle";
- target: "button_bg";
}
- program {
- name: "unfocused";
- action: STATE_SET "default" 0.0;
- target: "button_circle";
- target: "button_bg";
- }*/
program {
name: "button_clicked";
source: "over2";
type: IMAGE;
description {
state: "default" 0.0;
- rel1.relative: -0.2 0.3;
- rel2.relative: 0.2 0.7;
+ rel1.relative: 0.0 0.0;
+ rel2.relative: 1.0 1.0;
+ align: 0.5 0.5;
+ max: 21 24;
+ min: 21 24;
visible: 1;
image { normal: "control/T01-2_control_circle_icon_next.png";}
- color: 0 166 191 255;
}
description {
state: "clicked" 0.0;
}
}
- /*part {
- name: "button_bg";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
- image.normal: "button/T01-2_control_circle_button_02_press.png";
- color: 0 0 0 153;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02_press.png";
- color: 66 162 207 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02_press.png";
- color: 0 0 0 153;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02_press.png";
- color: 0 0 0 153;
- }
- }
-
- part {
- name: "button_circle";
- type: IMAGE;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
- image.normal: "button/T01-2_control_circle_button_02.png";
- color: 255 255 255 255 128;
- }
- description {
- state: "clicked" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02.png";
- color: 66 162 207 255;
- }
- description {
- state: "disabled" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02.png";
- color: 255 255 255 51;
- }
- description {
- state: "focused" 0.0;
- inherit: "default" 0.0;
- image.normal: "button/T01-2_control_circle_button_02.png";
- color: 255 255 255 255 128;
- }
- }*/
part {
name: "elm.text";
type: TEXT;
}
}
}
- /*part {
- name: "elm.swallow.content";
- type: SWALLOW;
- mouse_events: 0;
- description {
- state: "default" 0.0;
- visible: 1;
- rel1.relative: 0 0;
- rel2.relative: 1 1;
-
- rel1.to: "button_image";
- rel2.to: "button_image";
- }
- }*/
+
part {
name: "over2";
type: RECT;
name: "button_click_anim";
action: STATE_SET "clicked" 0.0;
target: "button_image";
- //target: "button_circle";
- //target: "button_bg";
}
program {
name: "button_unclick_anim";
action: STATE_SET "default" 0.0;
target: "button_image";
- //target: "button_circle";
- //target: "button_bg";
+
}
program {
action: STATE_SET "disabled" 0.0;
target: "button_image";
target: "disabler";
- //target: "button_circle";
- //target: "button_bg";
+
}
program {
name: "enable";
action: STATE_SET "default" 0.0;
target: "button_image";
target: "disabler";
- //target: "button_circle";
- //target: "button_bg";
- }
- /*program {
- name: "focused";
- action: STATE_SET "focused" 0.0;
- target: "button_circle";
- target: "button_bg";
+
}
- program {
- name: "unfocused";
- action: STATE_SET "default" 0.0;
- target: "button_circle";
- target: "button_bg";
- }*/
program {
name: "button_clicked";
source: "over2";
name: "button_image";
type: RECT;
scale: 1;
-
- description {
+ description {
state: "default" 0.0;
- rel1.relative:0.0 0.0;
- rel2.relative:0.95 1.0;
color:255 0 0 255;
visible: 0;
}
description {
state: "default" 0.0;
visible: 1;
- min: 26 26;
- max: 26 26;
- //fixed: 1 1;
+ min: 28 25;
+ max: 28 25;
+ align: 0.5 0.5;
rel1
- { relative: 0.0 0.0; to:"button_image";}
+ {relative: 0.0 0.0; to:"button_image"; }
rel2
{relative: 1.0 1.0; to:"button_image"; }
}
description {
state: "default" 0.0;
visible: 0;
- min: 26 26;
- max: 26 26;
- fixed: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
+ min: 28 25;
+ max: 28 25;
+ align: 0.5 0.5;
+ rel1
+ { relative: 0.0 0.0; to:"button_image"; }
+ rel2
+ {relative: 1.0 1.0; to:"button_image"; }
}
description {
state: "show" 0.0;
description {
state: "default" 0.0;
visible: 0;
- min: 26 26;
- max: 26 26;
- fixed: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
+ min: 28 25;
+ max: 28 25;
+ align: 0.5 0.5;
+ rel1
+ { relative: 0.0 0.0; to:"button_image"; }
+ rel2
+ {relative: 1.0 1.0; to:"button_image"; }
}
description {
state: "show" 0.0;
type: RECT;
description {
state: "default" 0.0;
- //rel1.relative:0.7 0.0;
- //rel2.relative:1.0 1.0;
color:0 0 255 255;
visible: 0;
}
description {
state: "default" 0.0;
visible: 1;
- min: 26 26;
- max: 26 26;
- //fixed: 1 1;
+ min: 32 26;
+ max: 32 26;
+ fixed: 1 1;
rel1
- { relative: 0.0 0.0; to:"button_image";}
+ {relative: 0.0 0.0; to:"button_image";}
rel2
- {relative: 1.0 1.0; to:"button_image"; }
+ {relative: 1.0 1.0; to:"button_image";}
}
description {
state: "hide" 0.0;
description {
state: "default" 0.0;
visible: 0;
- min: 26 26;
- max: 26 26;
+ min: 32 26;
+ max: 32 26;
fixed: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
+ rel1
+ {relative: 0.0 0.0; to:"button_image";}
+ rel2
+ {relative: 1.0 1.0; to:"button_image";}
}
description {
state: "show" 0.0;
description {
state: "default" 0.0;
visible: 0;
- min: 26 26;
- max: 26 26;
+ min: 32 26;
+ max: 32 26;
fixed: 1 1;
- rel1.to: "button_image";
- rel2.to: "button_image";
+ rel1
+ {relative: 0.0 0.0; to:"button_image";}
+ rel2
+ {relative: 1.0 1.0; to:"button_image";}
}
description {
state: "show" 0.0;
visible: 1;
}
}
+
part {
name: "elm.text";
type: TEXT;
part {
name: "bg";
type: RECT;
+ scale: 1;
mouse_events: 1;
description {
state: "default" 0.0;
- color: 0 0 0 0;
- min: 80 80;
- max: 80 80;
+ min: 48 48;
+ max: 48 48;
+ visible: 0;
+ color: 0 0 0 0;
}
}
part {
name: "icon";
type: IMAGE;
mouse_events: 1;
+ scale: 1;
description {
state: "default" 0.0;
rel1 {
- relative: 0 0;
+ relative: 0.5 0.5;
to: "bg";
}
rel2 {
- relative: 1 1;
+ relative: 0.5 0.5;
to: "bg";
}
+ align: 0.5 0.5;
+ min: 11 18;
+ max: 11 18;
+ fixed: 1 1;
image {
normal: "button/core_icon_back.png";
}
action: RUN_PLUGIN "touch_sound_plugin";
}
}
-
}
+group {
+ name: "elm/button/base/more_menu";
+ images
+ {
+ image: "button/icon_more_menu.png" COMP;
+ }
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ color: 0 0 0 0;
+ min: 48 48;
+ max: 48 48;
+ }
+ }
+ part {
+ name: "icon";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 6 24;
+ max: 6 24;
+ align: 0.5 0.5;
+ fixed: 1 0;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "bg";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "bg";
+ }
+ image {
+ normal: "button/icon_more_menu.png";
+ }
+ }
+ }
+ } /*parts*/
+ programs {
+ program {
+ name: "buttonclicked";
+ signal: "mouse,clicked,1";
+ source: "bg";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program {
+ name: "buttontextclicked";
+ signal: "mouse,clicked,1";
+ source: "icon";
+ action: SIGNAL_EMIT "elm,action,click" "";
+ }
+ program{
+ name: "touch_snd";
+ source: "bg";
+ signal: "mouse,clicked,1";
+ action: RUN_PLUGIN "touch_sound_plugin";
+ }
+ program{
+ name: "touch_snd1";
+ source: "icon";
+ signal: "mouse,clicked,1";
+ action: RUN_PLUGIN "touch_sound_plugin";
+ }
+ }
+}
#define VIDEO_TITLE_FONT_STYLE "Tizen:style=Medium"
#define VIDEO_TITLE_FONT_SIZE 40
#define VIDEO_TITLE_FONT_DEFAULT_COLOR 255 255 255 204
-
+#define CURRENT_BASE_SCALE 1.8
images
{
+ image: "navigation_bg/00_top_bar_empty.png" COMP;
/* multi window */
image: "multi/T01_2_mw_control_bg_left.png" COMP;
image: "multi/T01_2_mw_control_bg_left_press.png" COMP;
image: "button/T01-2_control_circle_button_03.png" COMP;
image: "button/T01-2_control_circle_button_03_press.png" COMP;
image: "button/core_icon_back.png" COMP;
+ image: "button/icon_more_menu.png" COMP;
image: "control/T01-2_control_circle_icon_rewind.png" COMP;
image: "control/T01-2_control_circle_icon_next.png" COMP;
/*genlist*/
#define NAVIFRAME_TITLE_BG_COLOR_INC 0 0 0 0
#define NAVIFRAME_TOOLBAR_BG_COLOR_INC 0 0 0 0
-#define NAVIFRAME_TITLE_TOP_PADDING_INC 0 16
-#define NAVIFRAME_TITLE_H_INC 50
+#define NAVIFRAME_TITLE_TOP_PADDING_INC 0 16
+#define NAVIFRAME_TITLE_H_INC 80
#define NAVIFRAME_TOOLBAR_HEIGHT_INC 0
-#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 63 63
+#define NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC 48 48
#define NAVIFRAME_PADDING_INC 20 0
-#define NAVIFRAME_PADDING2_INC 6 0
+#define NAVIFRAME_PADDING2_INC 20 0
#define NAVIFRAME_PADDING3_INC 8 0
-#define NAVIFRAME_BOTTOM_TEXT_PADDING_INC 0 11
-#define NAVIFRAME_BOTTOM_RIGHT_PADDING_INC 26 11
+#define NAVIFRAME_BOTTOM_TEXT_PADDING_INC 0 16
+#define NAVIFRAME_BOTTOM_RIGHT_PADDING_INC 20 16
#define NAVIFRAME_BOTTOM_PADDING_INC 0 10
#define NAVIFRAME_VIEW_TRANS_TIME 0.3
#define NAVIFRAME_TAG_HEIGHT 192
+styles {
+ style { name: "title_default_text";
+ base: "font=Tizen:weight=Regular:width=BreezeSans align=center color=#000C2B font_size=26";
+ }
+}
+
group {
name:"elm/naviframe/item/playview/basic/default";
alias:"elm/naviframe/item/playview/1line/default";
+ images
+ {
+ image: "navigation_bg/00_top_bar_empty.png" COMP;
+ }
script {
public tbar_bg = 0; //Toolbar BG Show call count
public buttons_visible = 0; //when both buttons are visible
part {
name: "title_bg";
- type: RECT;
+ type: IMAGE;
scale: 1;
description {
state: "default" 0.0;
visible: 1;
rel1 { relative: 0.0 0.0; to: "title_swallow"; }
rel2 { relative: 1.0 0.0; to: "title_swallow"; }
- color: NAVIFRAME_TITLE_BG_COLOR_INC;
+ image { normal: "navigation_bg/00_top_bar_empty.png"; }
}
/*
description {
scale: 1;
description {
state: "default" 0.0;
- min: 45 0;
+ min: 76 0;
fixed: 1 0;
align: 0.0 0.5;
rel1 { relative: 0.0 0.0; to: "title_bg"; }
// _NATIVE_BUFFER_SYNC
rel1 { relative: 0.0 0.0; to: "base"; }
rel2 { relative: 1.0 1.0; to: "base"; }
- /*
- rel1.relative: 0.0 1.0;
- rel1.to_x: "base";
- rel1.to_y: "title_bg";
- rel2.relative: 1.0 0.0;
- rel2.to_x: "base";
- rel2.to_y: "toolbar_bg";
- */
}
description {
state: "sip_visible" 0.0;
scale: 1;
description {
state: "default" 0.0;
- min: 45 0;
+ min: 88 0;
fixed: 1 0;
align: 1.0 0.5;
rel1 { relative: 1.0 0.0; to: "title_bg"; }
}
part {
name: "elm.text.title";
- type: TEXT;
- effect: FAR_SHADOW BOTTOM;
+ type: TEXTBLOCK;
scale: 1;
repeat_events: 1;
clip_to: "title_clip";
text {
min: 0 0;
max: 1 0;
- size: 18;
+ style: title_default_text;
}
/* chageable GUI
color: VIDEO_TITLE_FONT_DEFAULT_COLOR;
color3: 0 0 0 255;
align: 0.5 0.5;
*/
- color: 240 240 240 255;
fixed: 1 1;
rel1 { relative: 1.0 1.0; to_x: "padding_center_text1"; to_y: "top_padding"; }
max: NAVIFRAME_TITLE_FUNC_BTN_SIZE_INC;
fixed: 1 1;
align: 0.0 0.5;
- rel1 { relative: 0.5 0.0; to: "title_btns_padding"; }
- rel2 { relative: 0.5 1.0; to: "title_btns_padding"; }
+ rel1 { relative: 1.0 0.0; to: "title_btns_padding"; }
+ rel2 { relative: 1.0 1.0; to: "title_btns_padding"; }
}
}
part {
- name: "title_right_btn";
+ name: "elm.swallow.next_btn";
type: SWALLOW;
scale: 1;
clip_to: "title_clip";
}
program {
name: "right_btn_show";
- signal: "elm,state,title_right_btn,show";
+ signal: "elm,state,elm.swallow.next_btn,show";
source: "elm";
action: STATE_SET "visible" 0.0;
script {
}
program {
name: "right_btn_hide";
- signal: "elm,state,title_right_btn,hide";
+ signal: "elm,state,elm.swallow.next_btn,hide";
source: "elm";
action: STATE_SET "default" 0.0;
script {
external: "feedback";
}
collections {
+ base_scale: CURRENT_BASE_SCALE;
plugins {
plugin {
name: "touch_sound_plugin";
*/
#include "pv-image.edc"
+#include "custom/pv-custom-define.edc"
#define PV_NORMAL_CONTROL_BG "control/T01-2_control_bg.png"
#define PV_NORMAL_CONTROL_LANDSCAPE_BG "control/T01-2_control_bg_h.png"
}
collections {
-
+ base_scale: CURRENT_BASE_SCALE;
#define PV_PART_DESCRIPTION_HIDE \
description { \
state: "hide" 0.0; \
description {
state: "default" 0.0;
visible: 0;
- min: 0 12;
+ min: 0 6;
fixed: 0 1;
align: 0.0 1.0;
rel1 { relative: 0.0 1.0; to_y : "pv.normal.control.bg"; }
}
part {
name: "pv.normal.control.bg.rect";
- type: RECT;
+ type: IMAGE;
scale: 1;
description {
state: "default" 0.0;
align: 0.5 0.5;
rel1 { relative: 0.0 0.0; to: "pv.normal.control.bg";}
rel2 { relative: 1.0 1.0; to: "pv.normal.control.bg";}
- color: 255 255 255 255;
+ image{ normal: PV_NORMAL_CONTROL_LANDSCAPE_BG; }
}
}
part {
description {
state: "default" 0.0;
visible: 1;
- min: 0 46;//(26+11+12+34);
- max: -1 46;//(26+11+12+34);
+ min: 1120 50;//(26+11+12+34);
+ max: 1120 50;//(26+11+12+34);
fixed: 0 1;
align: 0.0 0.0;
- rel1 { relative: 0.0 1.0; to_y: "pv.normal.control.function";}
- rel2 { relative: 1.0 1.0; to_y: "pv.normal.control.function";}
+ rel1 { relative: 0.0 0.0; to_y: "pv.normal.control.bg.rect"; offset: +80 +16;}
+ rel2 { relative: 1.0 0.0; to_y: "pv.normal.control.bg.rect"; }
}
description {
state: "landscape" 0.0;
inherit: "default" 0.0;
- min: 0 46;
- rel1 { relative: 0.0 0.0; to_y: "pv.normal.control.bg.rect";}
+ min: 1120 50;//(26+11+12+34);
+ max: 1120 50;//(26+11+12+34);
+ rel1 { relative: 0.0 0.0; to_y: "pv.normal.control.bg.rect"; offset: +80 +16;}
rel2 { relative: 1.0 0.0; to_y: "pv.normal.control.bg.rect";}
}
}
description {
state: "default" 0.0;
visible: 0;
- min: 0 70;//(12+70+26+11+12+(34/2));
- max: -1 70;//(12+70+26+11+12+(34/2));
- fixed: 0 1;
+ min: 80 78;//(12+70+26+11+12+(34/2));
+ max: 80 78;//(12+70+26+11+12+(34/2));
+ fixed: 1 1;
align: 0.0 0.0;
rel1 { relative: 0.0 0.0; to_y: "pv.normal.control.bg";}
- rel2 { relative: 1.0 0.0; to_y: "pv.normal.control.bg";}
+ rel2 { relative: 0.0 0.0; to_y: "pv.normal.control.bg";}
color: 255 0 0 125;
}
}
+
part {
name: "pv.normal.control.toolbar.rect";
type: RECT;
description {
state: "default" 0.0;
visible: 0;
- min: 0 80;
- max: -1 80;
- fixed: 0 1;
+ min: 80 32;
+ max: 80 32;
+ fixed: 1 1;
align: 0.0 0.0;
- rel1 { relative: 0.0 0.6; to_y: "pv.normal.control.toolbar.top";}
- rel2 { relative: 1.0 0.6; to_y: "pv.normal.control.toolbar.top";}
+ rel1 { relative: 0.0 1.0; to_y: "pv.normal.control.toolbar.top";}
+ rel2 { relative: 1.0 1.0; to_y: "pv.normal.control.toolbar.top";}
color: 255 0 0 255;
}
description {
state: "landscape" 0.0;
visible: 0;
- fixed: 0 1;
+ min: 80 32;
+ max: 80 32;
+ fixed: 1 1;
align: 0.0 0.0;
rel1 { relative: 0.0 1.0; to_y: "pv.normal.control.toolbar.top";}
rel2 { relative: 1.0 1.0; to_y: "pv.normal.control.toolbar.top";}
PV_PART_DESCRIPTION_SHOW
}
+
part {
name: "pv.normal.control.toolbar.screensize";
type: SWALLOW;
description {
state: "default" 0.0;
visible: 1;
- min: 60 60;
+ min: 32 32;
+ max: 32 32;
fixed: 1 1;
- align: 0.5 0.5;
- rel1 { relative: 0.05 0.45; to_x: "pv.normal.control.bg"; to_y: "pv.normal.control.toolbar.rect"; offset: +18 0;}
- rel2 { relative: 0.05 0.45; to_x: "pv.normal.control.bg"; to_y: "pv.normal.control.toolbar.rect"; offset: +78 0;}
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "pv.normal.control.toolbar.rect"; }
+ rel2 { relative: 1.0 1.0; to: "pv.normal.control.toolbar.rect"; }
color: 255 255 255 255;
}
PV_PART_DESCRIPTION_HIDE
PV_PART_DESCRIPTION_SHOW
}
+
part {
name: "pv.normal.control.toolbar.popupPlayer";
type: SWALLOW;
PV_PART_DESCRIPTION_SHOW
}
+ part {
+ name: "pv.normal.control.toolbar.play.control.padding";
+ type: RECT;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 44 44;
+ max: 44 44;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "pv.normal.control.bg";}
+ rel2 { relative: 0.0 0.0; to: "pv.normal.control.bg";}
+ color: 0 0 255 255;
+ }
+ }
part {
name: "pv.normal.control.play";
type: SWALLOW;
description {
state: "default" 0.0;
visible: 1;
- min: 80 80;
+ min: 48 48;
+ max: 48 48;
fixed: 1 1;
align: 0.5 0.5;
- rel1 { relative: 0.5 0.0; to_y: "pv.normal.control.toolbar.rect";}
- rel2 { relative: 0.5 1.0; to_y: "pv.normal.control.toolbar.rect";}
+ rel1 { relative: 0.5 1.0; to_x: pv.normal.control.bg; to_y: "pv.normal.control.toolbar.play.control.padding"; offset: 0 24;}
+ rel2 { relative: 0.5 1.0; to_x: pv.normal.control.bg; to_y: "pv.normal.control.toolbar.play.control.padding"; offset: 0 24;}
color: 255 255 255 255;
}
PV_PART_DESCRIPTION_HIDE
description {
state: "default" 0.0;
visible: 0;
- min: 16 0;
- fixed: 1 0;
- align: 1.0 0.5;
- rel1 { relative: 0.0 0.0; to_x: "pv.normal.control.play"; to_y: "pv.normal.control.toolbar.rect";}
- rel2 { relative: 0.0 1.0; to_x: "pv.normal.control.play"; to_y: "pv.normal.control.toolbar.rect";}
+ min: 40 48;
+ max: 40 48;
+ fixed: 1 1;
+ align: 1.0 0.0;
+ rel1 { relative: 0.0 0.0; to : "pv.normal.control.play"; }
+ rel2 { relative: 0.0 1.0; to : "pv.normal.control.play"; }
color: 255 255 0 255;
}
}
description {
state: "default" 0.0;
visible: 0;
- min: 16 0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 { relative: 1.0 0.0; to_x: "pv.normal.control.play"; to_y: "pv.normal.control.toolbar.rect";}
- rel2 { relative: 1.0 1.0; to_x: "pv.normal.control.play"; to_y: "pv.normal.control.toolbar.rect";}
- color: 255 255 0 255;
+ min: 40 48;
+ max: 40 48;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to : "pv.normal.control.play"; }
+ rel2 { relative: 1.0 1.0; to : "pv.normal.control.play"; }
+ color: 255 0 0 255;
}
}
description {
state: "default" 0.0;
visible: 1;
- min: 110 110;
+ min: 48 48;
+ max: 48 48;
fixed: 1 1;
- align: 1.0 0.5;
- rel1 { relative: 0.0 0.5; to_x: "pv.normal.control.play.left.padding"; to_y: "pv.normal.control.toolbar.rect";}
- rel2 { relative: 0.0 0.5; to_x: "pv.normal.control.play.left.padding"; to_y: "pv.normal.control.toolbar.rect";}
+ align: 1.0 0.0;
+ rel1 { relative: 0.0 0.0; to_x: "pv.normal.control.play.left.padding"; to_y: "pv.normal.control.play";}
+ rel2 { relative: 0.0 1.0; to_x: "pv.normal.control.play.left.padding"; to_y: "pv.normal.control.play";}
color: 255 255 255 255;
}
PV_PART_DESCRIPTION_HIDE
description {
state: "default" 0.0;
visible: 1;
- min: 110 110;
+ min: 48 48;
+ max: 48 48;
fixed: 1 1;
- align: 0.0 0.5;
- rel1 { relative: 1.0 0.5; to_x: "pv.normal.control.play.right.padding"; to_y: "pv.normal.control.toolbar.rect";}
- rel2 { relative: 1.0 0.5; to_x: "pv.normal.control.play.right.padding"; to_y: "pv.normal.control.toolbar.rect";}
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to_x: "pv.normal.control.play.right.padding"; to_y: "pv.normal.control.play";}
+ rel2 { relative: 1.0 1.0; to_x: "pv.normal.control.play.right.padding"; to_y: "pv.normal.control.play";}
color: 255 255 255 255;
}
PV_PART_DESCRIPTION_HIDE
*/
#include "pv-image.edc"
+#include "custom/pv-custom-define.edc"
#define FONT_BOLD_TYPE "Tizen:style=Bold"
#define FONT_COLOR 255 255 255 255
}
collections {
+ base_scale: CURRENT_BASE_SCALE;
plugins {
plugin {
name: "touch_sound_plugin";
description {
state: "portrait.show" 0.0;
inherit: "default" 0.0;
- min: 0 110;
+ min: 0 120;
}
description {
state: "landscape.show" 0.0;
inherit: "default" 0.0;
- min: 0 100;
+ min: 0 120;
}
}
}
}
+
+ part {
+ name: "pv.normal.main.control.volume.icon.rightpadding";
+ type: RECT;
+ mouse_events: 0;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 0;
+ min: 80 78;//(12+70+26+11+12+(34/2));
+ max: 80 78;//(12+70+26+11+12+(34/2));
+ fixed: 1 1;
+ align: 1.0 0.0;
+ rel1 { relative: 0.0 0.0; to_y: "pv.normal.main.control";}
+ rel2 { relative: 1.0 0.0; to_y: "pv.normal.main.control";}
+ color: 255 255 0 125;
+ }
+ }
+
part {
name: "pv.normal.main.volume.icon";
type: SWALLOW;
scale: 1;
description {
state: "default" 0.0;
- min: 60 60;
+ min: 32 32;
fixed: 1 1;
- align: 0.0 1.0;
+ align: 1.0 0.0;
visible: 0;
- rel1 { relative: 1.0 -0.02; to_y : "pv.normal.main.control"; offset: -134 0;}
- rel2 { relative: 1.0 -0.02; to_y : "pv.normal.main.control"; offset: -194 0;}
+ rel1 { relative: 0.0 1.0; to: "pv.normal.main.control.volume.icon.rightpadding"; }
+ rel2 { relative: 0.0 1.0; to: "pv.normal.main.control.volume.icon.rightpadding"; }
}
description {
state: "portrait.show" 0.0;
}
}
+
part {
name: "pv.normal.main.speed.rect";
type: RECT;
* limitations under the License.
*/
#include "pv-image.edc"
+#include "custom/pv-custom-define.edc"
#define FONT_BOLD_TYPE "Tizen:style=Bold"
#define FONT_MEDIUM_TYPE "Tizen:style=Medium"
*/
#define PLAYER_PROGRESSBAR_H 4
-#define PLAYER_CIRCLE_W 26
-#define PLAYER_CIRCLE_H 26
-#define PLAYER_CIRCLE_PRESS_W 26
-#define PLAYER_CIRCLE_PRESS_H 26
+#define PLAYER_CIRCLE_W 24
+#define PLAYER_CIRCLE_H 24
+#define PLAYER_CIRCLE_PRESS_W 42
+#define PLAYER_CIRCLE_PRESS_H 42
#define IMG_PLAYER_PROGRESSBAR_BG "progressbar/core_progress_bar.#.png"
#define IMG_PLAYER_PROGRESSBAR_HANDLE "progressbar/T01_2_control_progress_handle.png"
#define IMG_PLAYER_PROGRESSBAR_HANDLE_PRESS "progressbar/T01_2_control_progress_handle_press.png"
+
+styles {
+ style { name: "progess_playing_text";
+ base: "font=Tizen:weight=Regular:width=BreezeSans font_size=18 color=#001447";
+ }
+}
+
+styles {
+ style { name: "progess_duration_text";
+ base: "font=Tizen:weight=Regular:width=BreezeSans font_size=18 align=right color=#001447";
+ }
+}
+
+
+
collections {
+ base_scale: CURRENT_BASE_SCALE;
group {
name: "pv.progress";
description {
state: "default" 0.0;
visible: 0;
- min: 12 0;
+ min: 80 0;
fixed: 1 0;
align: 0.0 0.0;
rel1 { relative: 0.0 0.0; to_y : "pv.progress.bg";}
description {
state: "landscape" 0.0;
inherit: "default" 0.0;
- min: 12 0;
+ min: 80 0;
}
}
description {
state: "default" 0.0;
visible: 0;
- min: 12 0;
+ min: 80 0;
fixed: 1 0;
align: 1.0 0.0;
rel1 { relative: 1.0 0.0; to_y : "pv.progress.bg";}
description {
state: "landscape" 0.0;
inherit: "default" 0.0;
- min: 12 0;
+ min: 80 0;
}
}
part {
name: "pv.progress.playing.txt";
- type: TEXT;
+ type: TEXTBLOCK;
mouse_events: 1;
scale: 1;
- effect: FAR_SHADOW BOTTOM;
description {
state: "default" 0.0;
visible: 1;
- min: 90 16;
+ min: 120 22;
fixed: 1 1;
align: 0.0 1.0;
- rel1 { relative: 1.0 1.0; offset: 0 -40; to_x : "pv.progress.playing.txt.left.padding"; to_y : "pv.progress.bottom.padding";}
- rel2 { relative: 1.0 1.0; offset: 0 -40; to_x : "pv.progress.playing.txt.left.padding"; to_y : "pv.progress.bottom.padding";}
- color: 5 131 198 255;
+ rel1 { relative: 0.0 1.0; to_x : "pv.progress.bg"; to_y : "pv.progress.bg";}
+ rel2 { relative: 0.0 1.0; to_x : "pv.progress.bg"; to_y : "pv.progress.bg";}
+ color: 0 8 28 255;
text {
- size: 12;
text: "00:00:00";
align: 0.0 0.5;
+ style: progess_playing_text;
}
}
description {
state: "landscape" 0.0;
inherit: "default" 0.0;
- align: 0.0 0.5;
- rel1 { relative: 1.0 0.5; offset: 0 40; to_x : "pv.progress.playing.txt.left.padding"; to_y : "pv.progress.bg";}
- rel2 { relative: 1.0 0.5; offset: 0 40; to_x : "pv.progress.playing.txt.left.padding"; to_y : "pv.progress.bg";}
+ align: 0.0 1.0;
+ rel1 { relative: 0.0 1.0; to_x : "pv.progress.bg"; to_y : "pv.progress.bg";}
+ rel2 { relative: 0.0 1.0; to_x : "pv.progress.bg"; to_y : "pv.progress.bg";}
}
}
part {
name: "pv.progress.duration.txt";
- type: TEXT;
+ type: TEXTBLOCK;
mouse_events: 1;
scale: 1;
- effect: FAR_SHADOW BOTTOM;
description {
state: "default" 0.0;
visible: 1;
- min: 90 16;
+ min: 120 22;
fixed: 1 1;
align: 1.0 1.0;
- rel1 { relative: 0.0 1.0; offset: 0 -40; to_x : "pv.progress.duration.txt.right.padding"; to_y : "pv.progress.bottom.padding";}
- rel2 { relative: 0.0 1.0; offset: 0 -40; to_x : "pv.progress.duration.txt.right.padding"; to_y : "pv.progress.bottom.padding";}
- color: 179 179 179 255;
+ rel1 { relative: 1.0 1.0; to_x : "pv.progress.bg"; to_y : "pv.progress.bg";}
+ rel2 { relative: 1.0 1.0; to_x : "pv.progress.bg"; to_y : "pv.progress.bg";}
+ color: 0 8 28 255;
text {
- size: 12;
text: "--:--:--";
- align: 1.0 0.5;
+ style: progess_duration_text;
}
}
description {
state: "landscape" 0.0;
inherit: "default" 0.0;
- align: 1.0 0.5;
- rel1 { relative: 0.0 0.5; offset: 0 40; to_x : "pv.progress.duration.txt.right.padding"; to_y : "pv.progress.bg";}
- rel2 { relative: 0.0 0.5; offset: 0 40; to_x : "pv.progress.duration.txt.right.padding"; to_y : "pv.progress.bg";}
+ align: 1.0 1.0;
+ rel1 { relative: 1.0 1.0; to_x : "pv.progress.bg"; to_y : "pv.progress.bg";}
+ rel2 { relative: 1.0 1.0; to_x : "pv.progress.bg"; to_y : "pv.progress.bg";}
}
}
min: 0 PLAYER_PROGRESSBAR_H;
fixed: 0 1;
align: 0.0 0.0;
- rel1 { relative: 0.02 0.0; to_x : "pv.progress.playing.txt"; to_y : "pv.progress.bg";}
- rel2 { relative: 0.98 0.0; to_x : "pv.progress.duration.txt"; to_y : "pv.progress.bg";}
+ rel1 { relative: 0.0 0.0; offset: 0 +10; to_x : "pv.progress.playing.txt"; to_y : "pv.progress.bg";}
+ rel2 { relative: 1.0 0.0; offset: 0 +10; to_x : "pv.progress.duration.txt"; to_y : "pv.progress.bg";}
image { normal: IMG_PLAYER_PROGRESSBAR_BG;}
- color: 179 179 179 255;
+ color: 255 255 255 255;
}
description {
state: "landscape" 0.0;
inherit: "default" 0.0;
- align: 1.0 0.5;
- rel1 { relative: 0.02 0.5; to_x : "pv.progress.playing.txt"; to_y : "pv.progress.bg";}
- rel2 { relative: 0.98 0.5; to_x : "pv.progress.duration.txt"; to_y : "pv.progress.bg";}
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; offset: 0 +10; to_x : "pv.progress.playing.txt"; to_y : "pv.progress.bg";}
+ rel2 { relative: 1.0 0.0; offset: 0 +10; to_x : "pv.progress.duration.txt"; to_y : "pv.progress.bg";}
}
}
part {
rel1 { relative: 0.0 0.0; to: "pv.progress.bar.bg"; offset : -2 -1; }
rel2 { relative: 0.5 1.0; to_x: "pv.progress.circle"; to_y: "pv.progress.bar.bg"; }
image { normal: IMG_PLAYER_PROGRESSBAR_BG;}
- color: 0 166 191 255;
+ color: 10 14 74 255;
}
description {
rel1 { relative: 0.5 0.5; to_x: "pv.progress.circle"; to_y: "pv.progress.bar.bg"; }
rel2 { relative: 0.5 0.5; to_x: "pv.progress.circle"; to_y: "pv.progress.bar.bg"; }
image { normal: IMG_PLAYER_PROGRESSBAR_HANDLE;}
- color: 0 166 191 255;
+ color: 10 14 74 255;
}
}
part {
rel1 { relative: 0.5 0.5; to_x: "pv.progress.circle"; to_y: "pv.progress.bar.bg"; }
rel2 { relative: 0.5 0.5; to_x: "pv.progress.circle"; to_y: "pv.progress.bar.bg"; }
image { normal: IMG_PLAYER_PROGRESSBAR_HANDLE_PRESS;}
- color: 0 166 191 255;
+ color: 10 14 74 255;
}
description {
state: "show" 0.0;