static Elm_List_Mode _list_mode_setting_get(const char *mode_str) { assert(sizeof(list_mode_choices)/sizeof(list_mode_choices[0]) == ELM_LIST_LAST + 1); CHOICE_GET(list_mode_choices, mode_str); return ELM_LIST_LAST; }
static Elm_Wrap_Type _entry_line_wrap_choices_setting_get(const char *line_wrap_str) { assert(sizeof(entry_line_wrap_choices)/ sizeof(entry_line_wrap_choices[0]) == ELM_WRAP_LAST + 1); CHOICE_GET(entry_line_wrap_choices, line_wrap_str); return ELM_WRAP_LAST; }
static Elm_Scroller_Policy _scroller_policy_choices_setting_get(const char *policy_str) { assert(sizeof(scroller_policy_choices)/ sizeof(scroller_policy_choices[0]) == ELM_SCROLLER_POLICY_LAST + 1); CHOICE_GET(scroller_policy_choices, policy_str); return ELM_SCROLLER_POLICY_LAST; }