*/
#include <setting-common-draw-widget.h>
#include <glib.h>
-#include <utilX.h>
-#include <Ecore_X.h>
#include <Elementary.h>
#include <efl_assist.h>
Setting_Btn_Data *btn_data = (Setting_Btn_Data *)data;
Evas_Coord w, h;
int pos = -1;
- ecore_x_window_size_get(ecore_x_window_root_first_get(), &w, &h);
+#if 0
+ //ecore_x_window_size_get(ecore_x_window_root_first_get(), &w, &h);
pos = elm_win_rotation_get(ug_get_window());
SETTING_TRACE_DEBUG("pos: %d, w: %d, h: %d", pos, w, h);
if (pos == 90) {
} else {
evas_object_move(btn_data->ctxpopup, 0, h);
}
+#endif
}
static void __ctxpopup_lang_change_cb(keynode_t *key, void *data)
SETTING_TRACE("Pressed %s", ev->keyname);
Evas_Object *ctxpopup = data;
+ #if 0
if (!strcmp(ev->keyname, KEY_HOME)) {
elm_ctxpopup_dismiss(ctxpopup);
}
+ #endif
return ECORE_CALLBACK_RENEW;
}
Evas_Coord w , h;
+#if 0
int pos = -1;
ecore_x_window_size_get(ecore_x_window_root_first_get(), &w, &h);
pos = elm_win_rotation_get(ug_get_window());
} else {
evas_object_move(ctxpopup, 0, h);
}
+#endif
evas_object_show(ctxpopup);
}
{
Evas_Object *scroller = elm_genlist_add(navi_bar);
retvm_if(scroller == NULL, NULL, "Cannot set scroller object as contento of layout");
- elm_genlist_realization_mode_set(scroller, EINA_TRUE);
+ //elm_genlist_realization_mode_set(scroller, EINA_TRUE);
elm_object_style_set(scroller, "dialogue");
elm_genlist_clear(scroller); /* first to clear list */
elm_genlist_mode_set(scroller, ELM_LIST_COMPRESS);
*genlist = elm_genlist_add(*navi_bar);
retvm_if(*genlist == NULL, NULL,
"Cannot set scroller object as contento of layout");
- elm_genlist_realization_mode_set(*genlist, EINA_TRUE);
+ //elm_genlist_realization_mode_set(*genlist, EINA_TRUE);
elm_object_style_set(*genlist, "dialogue");
elm_genlist_clear(*genlist); /* first to clear list */
evas_object_smart_callback_add(*genlist, "realized", __gl_realized_cb, NULL);
*genlist = elm_genlist_add(navi_bar);
retvm_if(*genlist == NULL, NULL,
"Cannot set scroller object as contento of layout");
- elm_genlist_realization_mode_set(*genlist, EINA_TRUE);
+ //elm_genlist_realization_mode_set(*genlist, EINA_TRUE);
gl = *genlist;
elm_object_style_set(*genlist, "dialogue");
elm_genlist_clear(gl); /* first to clear list */