Commit cfb17255 authored by Ludovic Fauvet's avatar Ludovic Fauvet

audio player: add seek bar to the fullscreen view

parent 4b3a828a
......@@ -30,7 +30,7 @@ collections {
name: "background";
type: RECT;
description {
color: 245 245 245 255;
color: 250 250 250 255;
state: "default" 0.0;
rel1{relative: 0.0 0.0;}
rel2{relative: 1.0 1.0;}
......@@ -112,9 +112,8 @@ collections {
type: RECT;
description {
state: "default" 0.0;
color: 250 250 250 255;
rel1 {relative: 0.0 0.1;}
rel2 {relative: 1.0 0.9;}
rel2 {relative: 1.0 0.85;}
}
}
part {
......@@ -139,15 +138,25 @@ collections {
description {
state: "default" 0.0;
color: 250 250 250 255;
rel1 {relative: 0.0 0.9;}
rel1 {relative: 0.0 0.86;}
rel2 {relative: 1.0 1.0;}
}
part {
name: "shuffle_button";
name: "seek";
type: SWALLOW;
description {
state: "default" 0.0;
min: 0 40;
rel1 {relative: 0.0 0.0;}
rel2 {relative: 1.0 0.4;}
}
}
part {
name: "shuffle_button";
type: SWALLOW;
description {
state: "default" 0.0;
rel1 {relative: 0.0 0.4;}
rel2 {relative: 0.1 1.0;}
}
}
......@@ -156,7 +165,7 @@ collections {
type: SWALLOW;
description {
state: "default" 0.0;
rel1 {relative: 0.35 0.0;}
rel1 {relative: 0.35 0.4;}
rel2 {relative: 0.45 1.0;}
}
}
......@@ -165,7 +174,7 @@ collections {
type: SWALLOW;
description {
state: "default" 0.0;
rel1 {relative: 0.45 0.0;}
rel1 {relative: 0.45 0.4;}
rel2 {relative: 0.55 1.0;}
}
}
......@@ -174,7 +183,7 @@ collections {
type: SWALLOW;
description {
state: "default" 0.0;
rel1 {relative: 0.55 0.0;}
rel1 {relative: 0.55 0.4;}
rel2 {relative: 0.65 1.0;}
}
}
......@@ -183,7 +192,7 @@ collections {
type: SWALLOW;
description {
state: "default" 0.0;
rel1 {relative: 0.9 0.0;}
rel1 {relative: 0.9 0.4;}
rel2 {relative: 1.0 1.0;}
}
}
......
......@@ -710,7 +710,8 @@ add_fullscreen_item_table(audio_player *mpd, Evas_Object *parent)
/* Seek */
mpd->fs_slider = elm_slider_add(parent);
elm_slider_horizontal_set(mpd->fs_slider, EINA_TRUE);
//elm_object_part_content_set(layout, "slider", mpd->fs_slider); // TODO
evas_object_show(mpd->fs_slider);
elm_object_part_content_set(layout, "seek", mpd->fs_slider);
set_sliders_callbacks(mpd, mpd->fs_slider);
double i_pos = playback_service_get_time(mpd->p_ps);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment