Commit 836a0963 authored by Ludovic Fauvet's avatar Ludovic Fauvet

mini player: make the bottom area reactive to touch

parent ff01456e
......@@ -47,12 +47,28 @@ collections
relative: 0.0 0.0;
to: "hub_background";
}
rel2 {
rel2 {
relative: 1.0 0.2;
to: "hub_background";
}
}
}
part {
name: "expand_region";
type: RECT;
description {
state: "" 0.0;
color: 0 0 0 0; // transparent
rel1 {
relative: 0.0 0.2;
to: "hub_background";
}
rel2 {
relative: 1.0 1.0;
to: "hub_background";
}
}
}
part{
name: "hub_button";
type: RECT;
......
......@@ -908,8 +908,7 @@ audio_player_create(interface *intf, playback_service *p_ps, Evas_Object *layout
evas_object_event_callback_add(mpd->play_pause_img, EVAS_CALLBACK_MOUSE_UP, play_pause_mouse_up_cb, mpd);
evas_object_smart_callback_add(mpd->cover, "clicked", audio_player_fullscreen_cb, mpd);
edje_object_signal_callback_add(edje, "*clicked*", "swallow.title", audio_player_fullscreen_edge_cb, mpd);
edje_object_signal_callback_add(edje, "*clicked*", "swallow.subtitle", audio_player_fullscreen_edge_cb, mpd);
edje_object_signal_callback_add(edje, "*clicked*", "expand_region", audio_player_fullscreen_edge_cb, mpd);
/* Put the mini player at the bottom of the content_box */
evas_object_size_hint_align_set(layout, EVAS_HINT_FILL, 1.0);
......
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