}
}
+group {
+ name: "elm/button/base/play_speed_decr";
+ images
+ {
+ image: "button/T01-2_play_popup_icon_minus.png" COMP;
+ }
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ min: 32 32;
+ max: 32 32;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "icon";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ relative: 0.5 0.5;
+ to: "bg";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ to: "bg";
+ }
+ align: 0.5 0.5;
+ min: 11 18;
+ max: 11 18;
+ fixed: 1 1;
+ image {
+ normal: "button/T01-2_play_popup_icon_minus.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";
+ }
+ }
+}
+group {
+ name: "elm/button/base/play_speed_incr";
+ images
+ {
+ image: "button/T01-2_play_popup_icon_plus.png" COMP;
+ }
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ min: 32 32;
+ max: 32 32;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ part {
+ name: "icon";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "bg";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "bg";
+ }
+ min: 11 18;
+ max: 11 18;
+ fixed: 1 1;
+ image {
+ normal: "button/T01-2_play_popup_icon_plus.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";
+ }
+ }
+}
group {
name: "elm/button/base/more_menu";
images
*/
#include "pv-image.edc"
+#include "custom/pv-custom-define.edc"
+#define SPEED_POPUP_WIDTH_HEIGHT_MIN 0 105
+#define SPEED_POPUP_CONTENT_MIN 0 73
+#define SPEED_POPUP_BUTTON_MIN 32 32
+
+
+#define PLAY_SPEED_X "button/x.png"
-#define SPEED_POPUP_WIDTH_HEIGHT_MIN 0 100
-#define SPEED_POPUP_CONTENT_MIN 0 50
-#define SPEED_POPUP_BUTTON_MIN 40 40
externals {
external: "elm";
external: "feedback";
}
collections {
+ base_scale : CURRENT_BASE_SCALE;
plugins {
plugin {
name: "touch_sound_plugin";
}
group {
name: "pv.play.speed.popup";
+ images {
+ image: PLAY_SPEED_X COMP;
+ }
parts {
part {
name:"bg";
description {
state: "default" 0.0;
min: SPEED_POPUP_WIDTH_HEIGHT_MIN;
- color: 0 0 0 0;
+ color: 255 0 0 50;
+ visible:0;
}
}
part {
name: "pad_l";
- type: SPACER;
+ type: RECT;
scale: 1;
description {
state: "default" 0.0;
- min: 10 0;
- max: 10 0;
- fixed: 1 0;
+ min: 144 32;
+ max: 144 32;
+ fixed: 1 1;
align: 0.0 0.0;
rel1 { relative: 0.0 0.0; to: "bg";}
- rel2 { relative: 0.0 1.0; to: "bg";}
+ rel2 { relative: 0.0 0.0; to: "bg";}
+
}
}
part {
name: "pad_r";
- type: SPACER;
+ type: RECT;
scale: 1;
description {
state: "default" 0.0;
- min: 10 0;
- max: 10 0;
- fixed: 1 0;
- align: 1.0 1.0;
+ min: 144 32;
+ max: 144 32;
+ fixed: 1 1;
+ align: 1.0 0.0;
rel1 { relative: 1.0 0.0; to: "bg";}
- rel2 { relative: 1.0 1.0; to: "bg";}
+ rel2 { relative: 1.0 0.0; to: "bg";}
+
}
}
part {
- name: "pad_t";
- type: SPACER;
+ name: "pad_text_l";
+ type: RECT;
scale: 1;
description {
state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
+ min: 176 32;
+ max: 176 32;
+ fixed: 1 1;
align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; to: "bg";}
- rel2 { relative: 0.0 0.0; to: "bg";}
+ rel1 { relative: 1.0 0.0; to: "pad_l";}
+ rel2 { relative: 1.0 0.0; to: "pad_l";}
+
}
}
description {
state: "default" 0.0;
visible: 1;
- min: 0 54;
+ min: 37 26;
+ max: 37 26;
fixed: 0 1;
- align: 0.5 0.0;
- rel1 { relative: 0.0 1.0; to_y: "pad_t";}
- rel2 { relative: 1.0 1.0; to_y: "pad_t";}
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to_x: pad_text_l; to_y: "bg";}
+ rel2 { relative: 1.0 0.0; to_x: pad_text_l; to_y: "bg";}
color: 0 0 0 255;
text {
- font: "Tizen:style=Bold";
- size: 25;
- align: 0.5 0.5;
+ font: "Tizen:style=Regular";
+ size: 22;
+ align: 1.0 0.5;
}
}
}
+ part {
+ name: "playspeed_x_image";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ fixed: 1 1;
+ min: 11 26;
+ max: 11 26;
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "elm.text.title"; offset: 6 0;}
+ rel2 { relative: 1.0 0.0; to: "elm.text.title"; offset: 6 0;}
+ image{ normal: PLAY_SPEED_X; }
+ }
+ }
+
part {
name: "elm.swallow.icon.1";
type: SWALLOW;
description {
state: "default" 0.0;
min: SPEED_POPUP_BUTTON_MIN;
+ max: SPEED_POPUP_BUTTON_MIN;
fixed: 1 1;
align: 0.0 0.0;
- rel1 { relative: 1.0 0.2; to_x: "pad_l"; to_y: "elm.text.title"; }
- rel2 { relative: 1.0 0.2; to_x: "pad_l"; to_y: "elm.text.title"; }
+ rel1 { relative: 1.0 0.0; to : "pad_l"; }
+ rel2 { relative: 1.0 1.0; to : "pad_l"; }
}
}
part {
- name: "elm.swallow.icon.left";
- type: RECT;
+ name: "elm.swallow.icon.2";
+ type: SWALLOW;
scale: 1;
description {
state: "default" 0.0;
- visible: 0;
- min: 6 0;
- max: 6 0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 { relative: 1.0 1.0; to_x: "elm.swallow.icon.1"; to_y: "elm.text.title"; }
- rel2 { relative: 1.0 1.0; to_x: "elm.swallow.icon.1"; to_y: "elm.text.title"; }
+ min: SPEED_POPUP_BUTTON_MIN;
+ max: SPEED_POPUP_BUTTON_MIN;
+ fixed: 1 1;
+ align: 1.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "pad_r"; }
+ rel2 { relative: 0.0 1.0; to: "pad_r"; }
}
}
+
part {
- name: "elm.swallow.icon.right";
- type: RECT;
+ name: "slider.pad.l";
+ type: RECT;
scale: 1;
description {
state: "default" 0.0;
- visible: 0;
- min: 6 0;
- max: 6 0;
- fixed: 1 0;
- align: 1.0 0.5;
- rel1 { relative: 0.0 1.0; to_x: "elm.swallow.icon.2"; to_y: "elm.text.title"; }
- rel2 { relative: 0.0 1.0; to_x: "elm.swallow.icon.2"; to_y: "elm.text.title"; }
+ min: 40 40;
+ max: 40 40;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to : "bg"; }
+ rel2 { relative: 0.0 1.0; to : "bg"; }
+
}
}
part {
- name: "elm.swallow.icon.2";
- type: SWALLOW;
+ name: "slider.pad.r";
+ type: RECT;
scale: 1;
description {
state: "default" 0.0;
- min: SPEED_POPUP_BUTTON_MIN;
+ min: 40 40;
+ max: 40 40;
fixed: 1 1;
align: 1.0 0.0;
- rel1 { relative: 0.0 0.2; to_x: "pad_r"; to_y: "elm.text.title"; }
- rel2 { relative: 0.0 0.2; to_x: "pad_r"; to_y: "elm.text.title"; }
+ rel1 { relative: 1.0 0.0; to : "bg"; }
+ rel2 { relative: 1.0 1.0; to : "bg"; }
+ visible: 0;
+ color: 0 255 0 200;
}
}
min: SPEED_POPUP_CONTENT_MIN;
fixed: 0 1;
align: 0.5 0.0;
- rel1 { relative: 1.0 1.0; to_x: "pad_l"; to_y: "elm.swallow.icon.1"; }
- rel2 { relative: 0.0 1.0; to_x: "pad_r"; to_y: "elm.swallow.icon.1"; }
+ rel1 { relative: 1.0 1.0; to_x: "slider.pad.l"; to_y: "pad_l"; }
+ rel2 { relative: 0.0 1.0; to_x: "slider.pad.r"; to_y: "pad_l"; }
}
}
} /* parts */
return;
}
- char szValue[6] = { 0, };
+ char szValue[4] = { 0, };
- snprintf(szValue, 6, "%0.1f X", (double) pPlaySpeedPopup->fSpeedVal);
+ snprintf(szValue, 4, "%0.1f", (double) pPlaySpeedPopup->fSpeedVal);
elm_object_part_text_set(pPlaySpeedPopup->pLayout, "elm.text.title",
szValue);
free(path);
PlaySpeedPopup *pPlaySpeedPopup = (PlaySpeedPopup *) pUserData;
- pPlaySpeedPopup->pDelButton =
- vp_button_create(pParent, "custom/flat_63_78/default",
- NULL,
- (Evas_Smart_Cb) __vp_play_speed_btn_clicked_cb,
- (Evas_Smart_Cb) NULL, (Evas_Smart_Cb) NULL,
- (void *) pPlaySpeedPopup);
-
-
-
- pPlaySpeedPopup->pAddButton =
- vp_button_create(pParent, "custom/flat_63_78/default",
- NULL,
- (Evas_Smart_Cb) __vp_play_speed_btn_clicked_cb,
- (Evas_Smart_Cb) NULL, (Evas_Smart_Cb) NULL,
- (void *) pPlaySpeedPopup);
-
- Evas_Object *pIcon = NULL;
-
- pIcon =
- vp_button_create_icon(pPlaySpeedPopup->pDelButton,
- edj_path, VP_PLAY_RES_BUTTON_DEL);
- elm_object_part_content_set(pPlaySpeedPopup->pDelButton,
- VP_PLAY_SWALLOW_BUTTON_ICON, pIcon);
-
- pIcon =
- vp_button_create_icon(pPlaySpeedPopup->pDelButton,
- edj_path, VP_PLAY_RES_BUTTON_DEL_PRESS);
- elm_object_part_content_set(pPlaySpeedPopup->pDelButton,
- VP_PLAY_SWALLOW_BUTTON_PRESS_ICON, pIcon);
-
- pIcon =
- vp_button_create_icon(pPlaySpeedPopup->pDelButton,
- edj_path, VP_PLAY_RES_BUTTON_DEL);
- elm_object_part_content_set(pPlaySpeedPopup->pDelButton,
- VP_PLAY_SWALLOW_BUTTON_DIM_ICON, pIcon);
-
- pIcon =
- vp_button_create_icon(pPlaySpeedPopup->pAddButton,
- edj_path, VP_PLAY_RES_BUTTON_ADD);
- elm_object_part_content_set(pPlaySpeedPopup->pAddButton,
- VP_PLAY_SWALLOW_BUTTON_ICON, pIcon);
-
- pIcon =
- vp_button_create_icon(pPlaySpeedPopup->pAddButton,
- edj_path, VP_PLAY_RES_BUTTON_ADD_PRESS);
- elm_object_part_content_set(pPlaySpeedPopup->pAddButton,
- VP_PLAY_SWALLOW_BUTTON_PRESS_ICON, pIcon);
-
- pIcon =
- vp_button_create_icon(pPlaySpeedPopup->pAddButton,
- edj_path, VP_PLAY_RES_BUTTON_ADD);
- elm_object_part_content_set(pPlaySpeedPopup->pAddButton,
- VP_PLAY_SWALLOW_BUTTON_DIM_ICON, pIcon);
-
- elm_object_part_content_set(pParent, "elm.swallow.icon.1",
- pPlaySpeedPopup->pDelButton);
- elm_object_part_content_set(pParent, "elm.swallow.icon.2",
- pPlaySpeedPopup->pAddButton);
+
+ pPlaySpeedPopup->pDelButton = elm_button_add(pParent);
+ elm_object_style_set(pPlaySpeedPopup->pDelButton, "play_speed_decr");
+ evas_object_smart_callback_add(pPlaySpeedPopup->pDelButton, "clicked",
+ __vp_play_speed_btn_clicked_cb,
+ (void *) pPlaySpeedPopup);
+ elm_object_part_content_set(pParent, "elm.swallow.icon.1",
+ pPlaySpeedPopup->pDelButton);
+
+ pPlaySpeedPopup->pAddButton = elm_button_add(pParent);
+ elm_object_style_set(pPlaySpeedPopup->pAddButton, "play_speed_incr");
+ evas_object_smart_callback_add(pPlaySpeedPopup->pAddButton, "clicked",
+ __vp_play_speed_btn_clicked_cb,
+ (void *) pPlaySpeedPopup);
+ elm_object_part_content_set(pParent, "elm.swallow.icon.2",
+ pPlaySpeedPopup->pAddButton);
+
+
return TRUE;
}
nH = rect.w;
}
*/
- evas_object_resize(pNormalView->pCtxPopup, 320, 300);
+
+ evas_object_size_hint_max_set(pNormalView->pCtxPopup, 320, 350);
evas_object_move(pNormalView->pCtxPopup, 1280, 64);
evas_object_show(pNormalView->pCtxPopup);
VideoLogInfo
("Show toast popup: Only audio data supported by this file. Now playing video.");
_vp_normal_set_audio_only_image(pNormalView, TRUE);
- vp_play_util_status_noti_show
- (VP_PLAY_STRING_ERROR_ONLY_AUDIO_DATA_SUPPORTED);
+
+ PlayView * pPlayView = pNormalView->pPlayView;
+ if (!pPlayView) {
+ VideoLogError("pPlayView is NULL");
+ return;
+ }
+ vp_play_util_popup_toast_show(pPlayView->pWin, VP_PLAY_STRING_ERROR_ONLY_AUDIO_DATA_SUPPORTED);
+
}
/**
}
}
+group {
+ name: "elm/button/base/play_speed_decr";
+ images
+ {
+ image: "button/T01-2_play_popup_icon_minus.png" COMP;
+ }
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ min: 32 32;
+ max: 32 32;
+ align: 0.0 0.0;
+ fixed: 1 1;
+ }
+ }
+ part {
+ name: "icon";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ relative: 0.5 0.5;
+ to: "bg";
+ }
+ rel2 {
+ relative: 0.5 0.5;
+ to: "bg";
+ }
+ align: 0.5 0.5;
+ min: 11 18;
+ max: 11 18;
+ fixed: 1 1;
+ image {
+ normal: "button/T01-2_play_popup_icon_minus.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";
+ }
+ }
+}
+group {
+ name: "elm/button/base/play_speed_incr";
+ images
+ {
+ image: "button/T01-2_play_popup_icon_plus.png" COMP;
+ }
+ parts {
+ part {
+ name: "bg";
+ type: RECT;
+ scale: 1;
+ mouse_events: 1;
+ description {
+ state: "default" 0.0;
+ min: 32 32;
+ max: 32 32;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ }
+ }
+ part {
+ name: "icon";
+ type: IMAGE;
+ mouse_events: 1;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ rel1 {
+ relative: 0.0 0.0;
+ to: "bg";
+ }
+ rel2 {
+ relative: 1.0 1.0;
+ to: "bg";
+ }
+ min: 11 18;
+ max: 11 18;
+ fixed: 1 1;
+ image {
+ normal: "button/T01-2_play_popup_icon_plus.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";
+ }
+ }
+}
group {
name: "elm/button/base/more_menu";
images
*/
#include "pv-image.edc"
+#include "custom/pv-custom-define.edc"
+#define SPEED_POPUP_WIDTH_HEIGHT_MIN 0 105
+#define SPEED_POPUP_CONTENT_MIN 0 73
+#define SPEED_POPUP_BUTTON_MIN 32 32
+
+
+#define PLAY_SPEED_X "button/x.png"
-#define SPEED_POPUP_WIDTH_HEIGHT_MIN 0 100
-#define SPEED_POPUP_CONTENT_MIN 0 50
-#define SPEED_POPUP_BUTTON_MIN 40 40
externals {
external: "elm";
external: "feedback";
}
collections {
+ base_scale : CURRENT_BASE_SCALE;
plugins {
plugin {
name: "touch_sound_plugin";
}
group {
name: "pv.play.speed.popup";
+ images {
+ image: PLAY_SPEED_X COMP;
+ }
parts {
part {
name:"bg";
description {
state: "default" 0.0;
min: SPEED_POPUP_WIDTH_HEIGHT_MIN;
- color: 0 0 0 0;
+ color: 255 0 0 50;
+ visible:0;
}
}
part {
name: "pad_l";
- type: SPACER;
+ type: RECT;
scale: 1;
description {
state: "default" 0.0;
- min: 10 0;
- max: 10 0;
- fixed: 1 0;
+ min: 144 32;
+ max: 144 32;
+ fixed: 1 1;
align: 0.0 0.0;
rel1 { relative: 0.0 0.0; to: "bg";}
- rel2 { relative: 0.0 1.0; to: "bg";}
+ rel2 { relative: 0.0 0.0; to: "bg";}
+
}
}
part {
name: "pad_r";
- type: SPACER;
+ type: RECT;
scale: 1;
description {
state: "default" 0.0;
- min: 10 0;
- max: 10 0;
- fixed: 1 0;
- align: 1.0 1.0;
+ min: 144 32;
+ max: 144 32;
+ fixed: 1 1;
+ align: 1.0 0.0;
rel1 { relative: 1.0 0.0; to: "bg";}
- rel2 { relative: 1.0 1.0; to: "bg";}
+ rel2 { relative: 1.0 0.0; to: "bg";}
+
}
}
part {
- name: "pad_t";
- type: SPACER;
+ name: "pad_text_l";
+ type: RECT;
scale: 1;
description {
state: "default" 0.0;
- min: 0 10;
- fixed: 0 1;
+ min: 176 32;
+ max: 176 32;
+ fixed: 1 1;
align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; to: "bg";}
- rel2 { relative: 0.0 0.0; to: "bg";}
+ rel1 { relative: 1.0 0.0; to: "pad_l";}
+ rel2 { relative: 1.0 0.0; to: "pad_l";}
+
}
}
description {
state: "default" 0.0;
visible: 1;
- min: 0 54;
+ min: 37 26;
+ max: 37 26;
fixed: 0 1;
- align: 0.5 0.0;
- rel1 { relative: 0.0 1.0; to_y: "pad_t";}
- rel2 { relative: 1.0 1.0; to_y: "pad_t";}
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to_x: pad_text_l; to_y: "bg";}
+ rel2 { relative: 1.0 0.0; to_x: pad_text_l; to_y: "bg";}
color: 0 0 0 255;
text {
- font: "Tizen:style=Bold";
- size: 25;
- align: 0.5 0.5;
+ font: "Tizen:style=Regular";
+ size: 22;
+ align: 1.0 0.5;
}
}
}
+ part {
+ name: "playspeed_x_image";
+ type: IMAGE;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ visible: 1;
+ fixed: 1 1;
+ min: 11 26;
+ max: 11 26;
+ align: 0.0 0.0;
+ rel1 { relative: 1.0 0.0; to: "elm.text.title"; offset: 6 0;}
+ rel2 { relative: 1.0 0.0; to: "elm.text.title"; offset: 6 0;}
+ image{ normal: PLAY_SPEED_X; }
+ }
+ }
+
part {
name: "elm.swallow.icon.1";
type: SWALLOW;
description {
state: "default" 0.0;
min: SPEED_POPUP_BUTTON_MIN;
+ max: SPEED_POPUP_BUTTON_MIN;
fixed: 1 1;
align: 0.0 0.0;
- rel1 { relative: 1.0 0.2; to_x: "pad_l"; to_y: "elm.text.title"; }
- rel2 { relative: 1.0 0.2; to_x: "pad_l"; to_y: "elm.text.title"; }
+ rel1 { relative: 1.0 0.0; to : "pad_l"; }
+ rel2 { relative: 1.0 1.0; to : "pad_l"; }
}
}
part {
- name: "elm.swallow.icon.left";
- type: RECT;
+ name: "elm.swallow.icon.2";
+ type: SWALLOW;
scale: 1;
description {
state: "default" 0.0;
- visible: 0;
- min: 6 0;
- max: 6 0;
- fixed: 1 0;
- align: 0.0 0.5;
- rel1 { relative: 1.0 1.0; to_x: "elm.swallow.icon.1"; to_y: "elm.text.title"; }
- rel2 { relative: 1.0 1.0; to_x: "elm.swallow.icon.1"; to_y: "elm.text.title"; }
+ min: SPEED_POPUP_BUTTON_MIN;
+ max: SPEED_POPUP_BUTTON_MIN;
+ fixed: 1 1;
+ align: 1.0 0.0;
+ rel1 { relative: 0.0 0.0; to: "pad_r"; }
+ rel2 { relative: 0.0 1.0; to: "pad_r"; }
}
}
+
part {
- name: "elm.swallow.icon.right";
- type: RECT;
+ name: "slider.pad.l";
+ type: RECT;
scale: 1;
description {
state: "default" 0.0;
- visible: 0;
- min: 6 0;
- max: 6 0;
- fixed: 1 0;
- align: 1.0 0.5;
- rel1 { relative: 0.0 1.0; to_x: "elm.swallow.icon.2"; to_y: "elm.text.title"; }
- rel2 { relative: 0.0 1.0; to_x: "elm.swallow.icon.2"; to_y: "elm.text.title"; }
+ min: 40 40;
+ max: 40 40;
+ fixed: 1 1;
+ align: 0.0 0.0;
+ rel1 { relative: 0.0 0.0; to : "bg"; }
+ rel2 { relative: 0.0 1.0; to : "bg"; }
+
}
}
part {
- name: "elm.swallow.icon.2";
- type: SWALLOW;
+ name: "slider.pad.r";
+ type: RECT;
scale: 1;
description {
state: "default" 0.0;
- min: SPEED_POPUP_BUTTON_MIN;
+ min: 40 40;
+ max: 40 40;
fixed: 1 1;
align: 1.0 0.0;
- rel1 { relative: 0.0 0.2; to_x: "pad_r"; to_y: "elm.text.title"; }
- rel2 { relative: 0.0 0.2; to_x: "pad_r"; to_y: "elm.text.title"; }
+ rel1 { relative: 1.0 0.0; to : "bg"; }
+ rel2 { relative: 1.0 1.0; to : "bg"; }
+ visible: 0;
+ color: 0 255 0 200;
}
}
min: SPEED_POPUP_CONTENT_MIN;
fixed: 0 1;
align: 0.5 0.0;
- rel1 { relative: 1.0 1.0; to_x: "pad_l"; to_y: "elm.swallow.icon.1"; }
- rel2 { relative: 0.0 1.0; to_x: "pad_r"; to_y: "elm.swallow.icon.1"; }
+ rel1 { relative: 1.0 1.0; to_x: "slider.pad.l"; to_y: "pad_l"; }
+ rel2 { relative: 0.0 1.0; to_x: "slider.pad.r"; to_y: "pad_l"; }
}
}
} /* parts */