*/
Eina_List *_g_drawer_list = NULL;
+#if 0
/**
* @return Evas_Object * obj
*/
static void* navigationbar_func(void *data, xmlNode *xmlObj);
-
+#endif
/*
* @return void
pd->navi_bar = NULL;
pd->cfg_file = NULL;
+
+
+
pd->root = NULL;
}
return (void*)list_item;
};
+#if 0
/*
elm_object_item_data_set(item_to_update->item, item_to_update);
elm_genlist_item_update(item_to_update->item);
#endif
return NULL;
};
-
+#endif
static void __check_mouse_up_cb(void *data, Evas_Object *obj,
void *event_info)
const char *title = (char*)xmlGetProp(xmlObj, "title");
const char *key_str= (char*)xmlGetProp(xmlObj, "value");
+ //const char *minlength= (char*)xmlGetProp(xmlObj, "minlength");
+ //const char *maxlength= (char*)xmlGetProp(xmlObj, "maxlength");
+
// TODO: minlength
// TODO: maxlength
Setting_GenGroupItem_Data *list_item =
SETTING_TRACE_BEGIN;
ret_if(!data || !xmlObj);
-#if 1/*{{{*/
- //Draw_Data *pd = node->pd;
+#if 1
PluginNode* node = (PluginNode*)data;
Draw_Data *pd = node->pd;
- //----------------------------------------------------------------
// [DATA] title, btn[0], btn[1]
const char *title = (char*)xmlGetProp(xmlObj, "title");
char *btn[2] = {/* 0 */"OK", /* 1 */"NO"};
- // find child nodes named 'elements'
- #if 0
- if (xmlObj->children) {
- xmlNode* cur = xmlObj->children;
- int i =0;
- while (cur != NULL)
- {
- if (!xmlStrcmp(cur->name, (const xmlChar*)"button")) {
- btn[i] = xmlGetProp(cur, "title");
- SETTING_TRACE("------>>> node type : Element, name=%s id=%s / btn[%d] = %s ",
- cur->name,xmlGetProp(cur, "id"),
- i,
- btn[i]);
- i++;
- }
- cur = cur->next;
- }
- }
- #endif
- //----------------------------------------------------------------
SETTING_TRACE("before setting_create_layout_navi_bar_genlist");
+
// [UI] with DATA
pd->scroller = elm_genlist_add(pd->win_get);
retvm_if(pd->scroller == NULL, NULL,
/* Enabling illume notification property for window */
elm_win_conformant_set(pd->win_get, 1);
Evas_Object *conformant = elm_conformant_add(pd->win_get);
- elm_object_style_set(conformant, "internal_layout"); /* By Kollus. 2011-01-04 */
+ elm_object_style_set(conformant, "internal_layout");
evas_object_show(conformant);
elm_object_content_set(conformant, pd->scroller);
&(pd->navi_bar), NULL);
SETTING_TRACE("after setting_create_layout_navi_bar_genlist");
-#endif/*}}}*/
+#endif
return NULL;
}
}
+/**
+ * set modifiable
+ */
bool setting_plugin_load(PluginNode* context, const char *cfg_file)
{
SETTING_TRACE("cfg_file:%s", cfg_file)