Commit 4b3a828a authored by Ludovic Fauvet's avatar Ludovic Fauvet

audio player: move the cover to the center

Since we have no visual playlist yet.
parent 150de00a
......@@ -46,15 +46,6 @@ collections {
rel1 {relative: 0.0 0.0;}
rel2 {relative: 1.0 0.1;}
}
part {
name: "cover_button";
type: SWALLOW;
description {
state: "default" 0.0;
rel1 {relative: 0.0 0.0;}
rel2 {relative: 0.1 1.0;}
}
}
part {
name: "switch_cover_button";
type: SWALLOW;
......@@ -88,7 +79,7 @@ collections {
description {
state: "default" 0.0;
color: 33 33 33 255;
rel1.relative: 0.1 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 0.7 0.5;
text {
align: 0.03 1.0;
......@@ -104,10 +95,10 @@ collections {
description {
state: "default" 0.0;
color: 33 33 33 255;
rel1.relative: 0.1 0.5;
rel1.relative: 0.0 0.5;
rel2.relative: 0.7 1.0;
text {
align: 0.03 1.0;
align: 0.03 0.0;
size: 20;
text: "Unknown";
ellipsis: 0;
......@@ -117,6 +108,32 @@ collections {
}
part {
name: "hub_cover";
type: RECT;
description {
state: "default" 0.0;
color: 250 250 250 255;
rel1 {relative: 0.0 0.1;}
rel2 {relative: 1.0 0.9;}
}
}
part {
name: "cover";
type: SWALLOW;
description {
state: "default" 0.0;
rel1{
relative: 0.05 0.05;
to: "hub_cover";
}
rel2{
relative: 0.95 0.95;
to: "hub_cover";
}
}
}
part {
name: "hub_miniplayer";
type: RECT;
description {
......
......@@ -702,10 +702,10 @@ add_fullscreen_item_table(audio_player *mpd, Evas_Object *parent)
evas_object_show(mpd->fs_more_btn);
elm_object_part_content_set(layout, "more_button", mpd->fs_more_btn);
/* Small cover */
/* Cover */
mpd->fs_cover = create_icon(parent, "background_cone.png");
evas_object_show(mpd->fs_cover);
elm_object_part_content_set(layout, "cover_button", mpd->fs_cover);
elm_object_part_content_set(layout, "cover", mpd->fs_cover);
/* Seek */
mpd->fs_slider = elm_slider_add(parent);
......
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