static void _ephoto_single_browser_show(Ephoto *ephoto, Ephoto_Entry *entry) { DBG("entry '%s'", entry->path); ephoto_single_browser_entry_set(ephoto->single_browser, entry); elm_naviframe_item_simple_promote(ephoto->pager, ephoto->single_browser); _ephoto_state_set(ephoto, EPHOTO_STATE_SINGLE); }
static void _ephoto_slideshow_show(Ephoto *ephoto, Ephoto_Entry *entry) { DBG("entry '%s'", entry->path); ephoto_slideshow_entry_set(ephoto->slideshow, entry); elm_naviframe_item_simple_promote(ephoto->pager, ephoto->slideshow); _ephoto_state_set(ephoto, EPHOTO_STATE_SLIDESHOW); }
static void _ephoto_thumb_browser_show(Ephoto *ephoto, Ephoto_Entry *entry) { DBG("entry '%s'", entry ? entry->path : ""); ephoto_single_browser_entry_set(ephoto->single_browser, NULL); ephoto_slideshow_entry_set(ephoto->slideshow, NULL); elm_pager_content_promote(ephoto->pager, ephoto->thumb_browser); _ephoto_state_set(ephoto, EPHOTO_STATE_THUMB); ephoto_title_set(ephoto, ephoto->config->directory); if ((entry) && (entry->item)) elm_gengrid_item_bring_in(entry->item); }