#include <CtxPopup.h>
#include "FbBaseView.h"
#include "FbMusicLayout.h"
+#include "../views/BaseView/Info.h"
+#include "common.h"
struct SFbMusicLayout {
{
elm_object_part_content_unset(m->eoBase, FBR_PART_CONTENT);
elm_object_part_content_set(m->eoBase, FBR_PART_CONTENT, Layout());
+ CInfo::SetGroupIndex(E_GRP_MUSIC);
m->pFileGrid->Update(m->updateFlag);
m->updateFlag = false; // set default
CBaseLayout::t_OnShow();
ASSERT(mgr);
Evas_Object* layout = NULL;
-
+
_CREATE_BEGIN{
_CHECK(m = new SFbMusicLayout)
_CHECK(m->pLayoutMgr = mgr)
_CHECK(layout = elm_layout_add(m->eoBase))
_CHECK(elm_layout_file_set(layout, EDJEFILE, FB_MUSIC_LAYOUT))
_CHECK(t_CreateFileGrid(layout))
- _COMMAND{
+ _COMMAND{
m->updateFlag = false;
elm_object_part_content_unset(m->eoBase, FBR_PART_CONTENT);
- elm_object_part_content_set(m->eoBase, FBR_PART_CONTENT, layout);
+ elm_object_part_content_set(m->eoBase, FBR_PART_CONTENT, layout);
}
_CHECK(CBaseLayout::Create(layout))
void CFbMusicLayout::SetFocus(Eina_Bool flag)
{
ASSERT(m);
- _DBG();
m->pFileGrid->SetFocus(flag);
}
void CFbMusicLayout::Action(void)
{
ASSERT(m);
-
+
return m->pFileGrid->Action();
}