const char *textColorWhiteTitleButtons = "#3db9cc";
const char *textColorBlueTitleButtons = "#fafafa";
const int textSizeTitleButtons = 32;
- const char *naviTitleStyleEmpty = "empty";
}
NaviFrameItem::NaviFrameItem(NaviFrameView &owner)
void NaviFrameItem::onAttached(ViewItem &item)
{
ViewItem::onAttached(item);
- elm_naviframe_item_style_set(getElmObjItem(), naviTitleStyleEmpty);
setContent(*m_pNaviBar, naviTitlePart);
}
using namespace Msg;
+const char *naviTitleStyleEmpty = "empty";
+
NaviFrameView::NaviFrameView(Evas_Object *parent)
: View()
{
void NaviFrameView::push(NaviFrameItem &item, Evas_Object *content)
{
- Elm_Object_Item *it = elm_naviframe_item_push(getEo(), nullptr, nullptr, nullptr, content, nullptr);
+ Elm_Object_Item *it = elm_naviframe_item_push(getEo(), nullptr, nullptr, nullptr, content, naviTitleStyleEmpty);
item.setElmObjItem(it);
}
Elm_Object_Item *insert = nullptr;
if(before)
- insert = elm_naviframe_item_insert_before(getEo(), before, nullptr, nullptr, nullptr, nullptr, nullptr);
+ insert = elm_naviframe_item_insert_before(getEo(), before, nullptr, nullptr, nullptr, nullptr, naviTitleStyleEmpty);
else
- insert = elm_naviframe_item_push(getEo(), nullptr, nullptr, nullptr, nullptr, nullptr);
+ insert = elm_naviframe_item_push(getEo(), nullptr, nullptr, nullptr, nullptr, naviTitleStyleEmpty);
item.setElmObjItem(insert);
}