[dialoguegroup] new style added
authorWooHyun Jung <wh0705.jung@samsung.com>
Wed, 18 Aug 2010 08:05:39 +0000 (17:05 +0900)
committerWooHyun Jung <wh0705.jung@samsung.com>
Wed, 18 Aug 2010 08:05:39 +0000 (17:05 +0900)
src/lib/Elementary.h.in
src/lib/elm_dialoguegroup.c

index 26f7e91..b4ffa45 100755 (executable)
@@ -2419,7 +2419,8 @@ extern "C" {
      {
        ELM_DIALOGUEGROUP_ITEM_STYLE_DEFAULT = 0,
        ELM_DIALOGUEGROUP_ITEM_STYLE_EDITFIELD = (1 << 0),
-       ELM_DIALOGUEGROUP_ITEM_STYLE_TITLE = (1 << 1)
+       ELM_DIALOGUEGROUP_ITEM_STYLE_EDITFIELD_WITH_TITLE = (1 << 1),
+       ELM_DIALOGUEGROUP_ITEM_STYLE_EDIT_TITLE = (1 << 2)
      } Elm_Dialoguegroup_Item_Style;
 
    EAPI Evas_Object *elm_dialoguegroup_add(Evas_Object *parent);
index 503a8a3..3995c2b 100644 (file)
@@ -135,7 +135,9 @@ static void _set_item_theme(Dialogue_Item *item, const char *location)
                elm_layout_theme_set(item->bg_layout, "dialoguegroup", "bg", location);
        else if (item->style == ELM_DIALOGUEGROUP_ITEM_STYLE_EDITFIELD)
                elm_layout_theme_set(item->bg_layout, "dialoguegroup", "editfield", location);
-       else if (item->style == ELM_DIALOGUEGROUP_ITEM_STYLE_TITLE)
+       else if (item->style == ELM_DIALOGUEGROUP_ITEM_STYLE_EDITFIELD_WITH_TITLE)
+               elm_layout_theme_set(item->bg_layout, "dialoguegroup", "editfield_with_title", location);
+       else if (item->style == ELM_DIALOGUEGROUP_ITEM_STYLE_EDIT_TITLE)
                elm_layout_theme_set(item->bg_layout, "dialoguegroup", "title", location);
 }