From 1f91cc55fd96fa664e3acf44ed84c676efb85fc7 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 20 Jan 2013 00:35:25 +1000 Subject: Failed EO experiment. Try that again later. --- ClientHamr/extantz/extantz.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ClientHamr') diff --git a/ClientHamr/extantz/extantz.c b/ClientHamr/extantz/extantz.c index 0c6df88..beb5c54 100644 --- a/ClientHamr/extantz/extantz.c +++ b/ClientHamr/extantz/extantz.c @@ -2,6 +2,7 @@ #define DO_GEARS 0 +#define USE_EO 0 Eina_Hash *grids; Eina_Hash *viewers; @@ -868,11 +869,22 @@ fill(Evas_Object *win) tab = gridList; tab_it = elm_naviframe_item_push(nf, NULL, NULL, NULL, tab, NULL); elm_naviframe_item_title_visible_set(tab_it, EINA_FALSE); elm_toolbar_item_append(tb, NULL, "Grids", _promote, tab_it); elm_box_pack_end(bx, nf); +#if USE_EO + // Not ready for prime time yet, or I'm missing a step. Causes it to hang after closing the window. + bt = eo_add(ELM_OBJ_BUTTON_CLASS, win); + elm_object_text_set(bt, "Login"); // No eo interface for this that I can find. + eo_do(bt, + evas_obj_size_hint_align_set(EVAS_HINT_FILL, EVAS_HINT_FILL), + evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, 0.0), + evas_obj_visibility_set(EINA_TRUE) + ); +#else bt = elm_button_add(win); elm_object_text_set(bt, "Login"); evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL); evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, 0.0); evas_object_show(bt); +#endif // evas_object_smart_callback_add(bt, "clicked", NULL, NULL); elm_box_pack_end(bx, bt); -- cgit v1.1