true,
std::vector<std::string>{"IDS_ACCS_UNIVERSAL_SWITCH_CANCEL", "IDS_ACCS_UNIVERSAL_SWITCH_SAVE"});
- Evas_Object *layout = createLayout(ad->popup, EDJ_ACCESSORY_POPUP, GRP_ACCESSORY_POPUP);
+ Evas_Object *layout = createLayout(ad->settingPopup_->getObject(), EDJ_ACCESSORY_POPUP, GRP_ACCESSORY_POPUP);
ad->entry = createEntry(layout, PRT_ACCESSORY_POPUP_ENTRY);
elm_object_part_text_set(ad->entry, "guide", _("IDS_ACCS_UNIVERSAL_SWITCH_ADD_SWITCH_NAME"));
- elm_object_content_set(ad->popup, layout);
+ elm_object_content_set(ad->settingPopup_->getObject(), layout);
}
void AccessoriesSwitchesPage::alreadyMappedSwitchPopup(SettingAccessibility *ad)
SettingCallback response_cb, int timeout,
bool blocked_flag,
bool keygrab_flag, std::vector<std::string> buttons);
+ Evas_Object *getObject() const;
~SettingPopup();
private: