rename controls buttons style to empc
This commit is contained in:
parent
668e2d5948
commit
252e324c18
|
@ -526,7 +526,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
group { name: "elm/button/base/controls";
|
group { name: "elm/button/base/empc";
|
||||||
parts {
|
parts {
|
||||||
part { name: "base"; type: RECT; mouse_events: 0;
|
part { name: "base"; type: RECT; mouse_events: 0;
|
||||||
description { state: "default";
|
description { state: "default";
|
||||||
|
|
|
@ -1782,17 +1782,17 @@ main(int argc, char *argv[])
|
||||||
FILL(hbox);
|
FILL(hbox);
|
||||||
evas_object_show(hbox);
|
evas_object_show(hbox);
|
||||||
|
|
||||||
o = button_add("media_player/prev", NULL, "controls", control_skip_back);
|
o = button_add("media_player/prev", NULL, "empc", control_skip_back);
|
||||||
elm_box_pack_end(hbox, o);
|
elm_box_pack_end(hbox, o);
|
||||||
|
|
||||||
o = button_add("media_player/stop", NULL, "controls", control_stop);
|
o = button_add("media_player/stop", NULL, "empc", control_stop);
|
||||||
elm_box_pack_end(hbox, o);
|
elm_box_pack_end(hbox, o);
|
||||||
|
|
||||||
o = button_add("media_player/play", NULL, "controls", control_toggle);
|
o = button_add("media_player/play", NULL, "empc", control_toggle);
|
||||||
evas_object_data_set(win, "play_button", o);
|
evas_object_data_set(win, "play_button", o);
|
||||||
elm_box_pack_end(hbox, o);
|
elm_box_pack_end(hbox, o);
|
||||||
|
|
||||||
o = button_add("media_player/next", NULL, "controls", control_skip_forward);
|
o = button_add("media_player/next", NULL, "empc", control_skip_forward);
|
||||||
elm_box_pack_end(hbox, o);
|
elm_box_pack_end(hbox, o);
|
||||||
elm_object_part_content_set(layout, EMPC_BASE_SWALLOW_CONTROLS, hbox);
|
elm_object_part_content_set(layout, EMPC_BASE_SWALLOW_CONTROLS, hbox);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue