diff options
author | David Walter Seikel | 2013-01-20 00:35:25 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-20 00:35:25 +1000 |
commit | 1f91cc55fd96fa664e3acf44ed84c676efb85fc7 (patch) | |
tree | 63a276aa1110bc3faf1fa89f4ba8fb0d76cf0998 | |
parent | Purple, not pink. (diff) | |
download | SledjHamr-1f91cc55fd96fa664e3acf44ed84c676efb85fc7.zip SledjHamr-1f91cc55fd96fa664e3acf44ed84c676efb85fc7.tar.gz SledjHamr-1f91cc55fd96fa664e3acf44ed84c676efb85fc7.tar.bz2 SledjHamr-1f91cc55fd96fa664e3acf44ed84c676efb85fc7.tar.xz |
Failed EO experiment. Try that again later.
-rw-r--r-- | ClientHamr/extantz/extantz.c | 12 |
1 files changed, 12 insertions, 0 deletions
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 @@ | |||
2 | 2 | ||
3 | 3 | ||
4 | #define DO_GEARS 0 | 4 | #define DO_GEARS 0 |
5 | #define USE_EO 0 | ||
5 | 6 | ||
6 | Eina_Hash *grids; | 7 | Eina_Hash *grids; |
7 | Eina_Hash *viewers; | 8 | Eina_Hash *viewers; |
@@ -868,11 +869,22 @@ fill(Evas_Object *win) | |||
868 | 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); | 869 | 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); |
869 | elm_box_pack_end(bx, nf); | 870 | elm_box_pack_end(bx, nf); |
870 | 871 | ||
872 | #if USE_EO | ||
873 | // Not ready for prime time yet, or I'm missing a step. Causes it to hang after closing the window. | ||
874 | bt = eo_add(ELM_OBJ_BUTTON_CLASS, win); | ||
875 | elm_object_text_set(bt, "Login"); // No eo interface for this that I can find. | ||
876 | eo_do(bt, | ||
877 | evas_obj_size_hint_align_set(EVAS_HINT_FILL, EVAS_HINT_FILL), | ||
878 | evas_obj_size_hint_weight_set(EVAS_HINT_EXPAND, 0.0), | ||
879 | evas_obj_visibility_set(EINA_TRUE) | ||
880 | ); | ||
881 | #else | ||
871 | bt = elm_button_add(win); | 882 | bt = elm_button_add(win); |
872 | elm_object_text_set(bt, "Login"); | 883 | elm_object_text_set(bt, "Login"); |
873 | evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL); | 884 | evas_object_size_hint_align_set(bt, EVAS_HINT_FILL, EVAS_HINT_FILL); |
874 | evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, 0.0); | 885 | evas_object_size_hint_weight_set(bt, EVAS_HINT_EXPAND, 0.0); |
875 | evas_object_show(bt); | 886 | evas_object_show(bt); |
887 | #endif | ||
876 | // evas_object_smart_callback_add(bt, "clicked", NULL, NULL); | 888 | // evas_object_smart_callback_add(bt, "clicked", NULL, NULL); |
877 | elm_box_pack_end(bx, bt); | 889 | elm_box_pack_end(bx, bt); |
878 | 890 | ||