forked from enlightenment/efl
comments for stuff to do to make this hover stuff actually useful soon.
SVN revision: 36518
This commit is contained in:
parent
59580a7791
commit
2a39e68ad8
|
@ -511,17 +511,14 @@ my_bt_11(void *data, Evas_Object *obj, void *event_info)
|
||||||
elm_button_label_set(bt, "Top 1");
|
elm_button_label_set(bt, "Top 1");
|
||||||
elm_box_pack_end(bx, bt);
|
elm_box_pack_end(bx, bt);
|
||||||
evas_object_show(bt);
|
evas_object_show(bt);
|
||||||
|
|
||||||
bt = elm_button_add(win);
|
bt = elm_button_add(win);
|
||||||
elm_button_label_set(bt, "Top 2");
|
elm_button_label_set(bt, "Top 2");
|
||||||
elm_box_pack_end(bx, bt);
|
elm_box_pack_end(bx, bt);
|
||||||
evas_object_show(bt);
|
evas_object_show(bt);
|
||||||
|
|
||||||
bt = elm_button_add(win);
|
bt = elm_button_add(win);
|
||||||
elm_button_label_set(bt, "Top 3");
|
elm_button_label_set(bt, "Top 3");
|
||||||
elm_box_pack_end(bx, bt);
|
elm_box_pack_end(bx, bt);
|
||||||
evas_object_show(bt);
|
evas_object_show(bt);
|
||||||
|
|
||||||
evas_object_show(bx);
|
evas_object_show(bx);
|
||||||
elm_hover_content_set(hv, "top", bx);
|
elm_hover_content_set(hv, "top", bx);
|
||||||
|
|
||||||
|
|
|
@ -174,6 +174,8 @@ extern "C" {
|
||||||
EAPI Evas_Object *elm_hover_add(Evas_Object *parent);
|
EAPI Evas_Object *elm_hover_add(Evas_Object *parent);
|
||||||
EAPI void elm_hover_target_set(Evas_Object *obj, Evas_Object *target);
|
EAPI void elm_hover_target_set(Evas_Object *obj, Evas_Object *target);
|
||||||
EAPI void elm_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
|
EAPI void elm_hover_parent_set(Evas_Object *obj, Evas_Object *parent);
|
||||||
|
EAPI void elm_hover_content_set(Evas_Object *obj, const char *swallow, Evas_Object *content);
|
||||||
|
|
||||||
/* smart callbacks elm_win objects will call:
|
/* smart callbacks elm_win objects will call:
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -182,13 +184,17 @@ extern "C" {
|
||||||
// * scroller could do with page up/down/left/right buttons and and idea of
|
// * scroller could do with page up/down/left/right buttons and and idea of
|
||||||
// a page size
|
// a page size
|
||||||
// * tab widget focusing (not useful for touchscreen tho...)
|
// * tab widget focusing (not useful for touchscreen tho...)
|
||||||
|
// * icon should optionally be able to collect events and call clicked
|
||||||
|
// callbacks
|
||||||
|
// * hover needs a way to animate show/hide (slide out slots) and have some
|
||||||
|
// graphics for around middle
|
||||||
|
// * hover needs to track move/resize and del of parent
|
||||||
|
// * hover needs to be able to use custom hover style
|
||||||
|
// * frame needs to be able to use custom frame style
|
||||||
|
// * all widgets need a way to use a custom style
|
||||||
//
|
//
|
||||||
// FIXME: immediate hitlist for widgets:
|
// FIXME: immediate hitlist for widgets:
|
||||||
// HOVER: select a widget (any) and attach a hover to it - the over will hover
|
// POPSEL: a button that when pressed uses a hover to display a h/v box or
|
||||||
// on top of the hover target and accept child widgets. haver may
|
|
||||||
// optionally place something to cover the window (under the hover
|
|
||||||
// widget, above everything else)
|
|
||||||
// POPSEL: a buttont that when pressed uses a hover to display a h/v box or
|
|
||||||
// a table of options surrounding the button with scroll butons at
|
// a table of options surrounding the button with scroll butons at
|
||||||
// the end and the ability to drag and scroll
|
// the end and the ability to drag and scroll
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue