#include "Info.h"
#include "CtxPopup.h"
+#include <app-res-defines.h>
#include "SortCtxPopup.h"
const char *sorttext[] = {
N_("Title A-Z"),
N_("Title Z-A"),
- N_("Date ↓"),
- N_("Date ↑"),
- N_("Size ↓"),
- N_("Size ↑"),
+ N_("Date ↓ "),
+ N_("Date ↑ "),
+ N_("Size ↓ "),
+ N_("Size ↑ "),
};
const char *sortbtnids[] = {
void CSortCtxPopup::t_OnConfiguration(void)
{
- t_SetList(sorttext, ARRAY_SIZE(sorttext), (int)CInfo::SortType(), CCtxPopup::TOPBTN_SORT, sortbtnids, FBR_PART_SORT_POPUP);
+ t_SetList(sorttext, ARRAY_SIZE(sorttext), (int)CInfo::SortType(),
+ CCtxPopup::TOPBTN_SORT, sortbtnids,
+ POSITION_SORT_POPUP_X, POSITION_SORT_POPUP_Y,
+ NULL,
+ FBR_STYLE_HOVER_ENTRY, FBR_STYLE_HOVER_ENTRY, FBR_STYLE_HOVER_ENTRY);
}
void CSortCtxPopup::t_OnBtnClicked(Evas_Object* obj, void* ev)
return;
int index = -1;
- const char *id = (const char*)evas_object_data_get(obj, FBR_BTN_ID);
+ const char *id = (const char*)evas_object_data_get(obj, BTN_ID);
if (!id)
return;