-Evas_Object *setting_create_layout_navi_bar2(Evas_Object *win_layout, Evas_Object *win_obj, char *title_str, char *lbutton_str, char *rbutton_str, char *mbutton_str, setting_call_back_func lbutton_click_cb, setting_call_back_func rbutton_click_cb, setting_call_back_func mbutton_click_cb, void *cb_data, Evas_Object *eo_view, /*any container obj constructed on any evas obj */
+Evas_Object *setting_create_layout_navi_bar2(Evas_Object *win_layout,
+ Evas_Object *win_obj,
+ char *title_str,
+ char *lbutton_str, char *rbutton_str, char *mbutton_str,
+ setting_call_back_func lbutton_click_cb, setting_call_back_func rbutton_click_cb,
+ setting_call_back_func mbutton_click_cb,
+ void *cb_data, Evas_Object *eo_view, /*any container obj constructed on any evas obj */
Evas_Object **navi_bar,
Evas_Object **titleobj)
{
return NULL;
}
+
+static Evas_Object *setting_create_win_layout2(Evas_Object *win_layout, Evas_Object *win_obj)
+{
+
+ Evas_Object *layout = NULL;
+ Evas_Object *conform = elm_conformant_add(win_obj);
+ //setting_main_appdata *ad = (setting_main_appdata *) data;
+
+ /* Base Layout */
+ layout = elm_layout_add(conform);
+ evas_object_size_hint_weight_set(conform, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ setting_retvm_if(layout == NULL, FALSE, "layout == NULL");
+
+ elm_layout_theme_set(layout, "layout", "application", "default");
+ evas_object_size_hint_weight_set(conform, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ evas_object_size_hint_align_set(conform, EVAS_HINT_FILL, EVAS_HINT_FILL);
+ elm_win_resize_object_add(win_obj, conform);
+ elm_object_content_set(conform, layout);
+
+ Evas_Object *bg = setting_create_bg(layout, win_obj, "group_list");
+ elm_object_part_content_set(layout, "elm.swallow.bg", bg);
+ evas_object_show(layout);
+ evas_object_show(conform);
+
+ //ad->conformant = conform;
+ return layout;
+}
+
+
+Evas_Object *setting_create_layout_navi_bar2(Evas_Object *win_layout, Evas_Object *win_obj, char *title_str, char *lbutton_str, char *rbutton_str, char *mbutton_str, setting_call_back_func lbutton_click_cb, setting_call_back_func rbutton_click_cb, setting_call_back_func mbutton_click_cb, void *cb_data, Evas_Object *eo_view, /*any container obj constructed on any evas obj */
+ Evas_Object **navi_bar,
+ Evas_Object **titleobj)
+{
+
+ Evas_Object *layout = setting_create_win_layout2(win_layout, win_obj);
+ *navi_bar = setting_create_navi_bar(layout);
+
+ setting_create_navi_bar_buttons(title_str,
+ lbutton_str, rbutton_str, mbutton_str,
+ lbutton_click_cb, rbutton_click_cb,
+ mbutton_click_cb, cb_data, eo_view /*content */ ,
+ *navi_bar, NULL);
+ return layout;
+}
+
// <setting>
static void* setting_func(void *data, xmlNode *xmlObj)
{
elm_object_style_set(pd->scroller, "dialogue");
elm_genlist_clear(pd->scroller); /* first to clear list */
- /* 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");
- evas_object_show(conformant);
- elm_object_content_set(conformant, pd->scroller);
SETTING_TRACE("_(title):%s", _(title));
- pd->ly_main =
- setting_create_layout_navi_bar(pd->win_get, pd->win_get,
+ pd->ly_main = setting_create_layout_navi_bar2(pd->win_get, pd->win_get,
_(title),
_("IDS_COM_BODY_BACK"), NULL, NULL,
___click_softkey_back_cb,
NULL, NULL,
- data, conformant,
+ data, pd->scroller,
&(pd->navi_bar), NULL);
SETTING_TRACE("after setting_create_layout_navi_bar_genlist");
xmlNode *cur_node = NULL;
for (cur_node = cur; cur_node;cur_node = cur_node->next) {
if (cur_node->type == XML_ELEMENT_NODE) {
- SETTING_TRACE("node type : %s id= %s", cur_node->name,xmlGetProp(cur_node, "id"));
-
+ // SETTING_TRACE("node type : %s id= %s", cur_node->name,xmlGetProp(cur_node, "id"));
drawer_fp fp = __drawer_find(cur_node->name);
if (fp)
{