Sample implementation of footer page handler drawing l10ed text in giv

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
/*
* Sample implementation of footer (page) handler, drawing (l10ed) "N/M" text in
* given edje text field.
*
* Usage:
*
* void page_handler(Evas_Object* choicebox, int cur_page, int total_pages, void* param)
* {
* Evas* canvas = evas_object_evas_get(choicebox);
* Evas_Object* footer = evas_object_name_find(canvas, "footer");
*
* choicebox_aux_footer_handler(footer, "pagination", cur_page, total_pages);
* }
*/
void choicebox_aux_edje_footer_hadler(Evas_Object* footer, const char* part,
int cur_page, int total_pages);