forked from enlightenment/efl
elm src/examples: Applied caro's r62885 changes to examples.
Changed EAPI -> EAPI_MAIN in applications. http://trac.enlightenment.org/e/changeset/62885 SVN revision: 62931
This commit is contained in:
parent
136a0f7dfd
commit
ecc8034ddb
|
@ -38,7 +38,7 @@ on_done(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __U
|
|||
elm_exit();
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *bx, *as;
|
||||
|
|
|
@ -16,7 +16,7 @@ _bla(void *data, Evas_Object *obj, void *event_info)
|
|||
elm_bubble_corner_set(obj, corners[++corner > 3 ? corner = 0 : corner]);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *bubble, *label, *icon;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
# define __UNUSED__
|
||||
#endif
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *cal;
|
||||
|
|
|
@ -26,7 +26,7 @@ _format_month_year(struct tm *stime)
|
|||
return strdup(buf);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *cal;
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
# define __UNUSED__
|
||||
#endif
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *cal;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#define SECS_DAY 86400
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *bx, *cal, *cal2;
|
||||
|
|
|
@ -41,7 +41,7 @@ _print_cal_info_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info __U
|
|||
wds[0], wds[1], wds[2], wds[3], wds[4], wds[5], wds[6]);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *cal;
|
||||
|
|
|
@ -25,7 +25,7 @@ _btn_clear_cb(void *data, Evas_Object *btn __UNUSED__, void *ev __UNUSED__)
|
|||
elm_calendar_marks_draw(cal);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *bt, *bx, *cal;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
static void _print(void *data, Evas_Object *obj, void *event_info);
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *cb, *cb2, *icon;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
static void _change_color(void *data, Evas_Object *obj, void *event_info);
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *cs, *frame, *rect;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
# define __UNUSED__
|
||||
#endif
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *btn, *bx, *en;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
# define __UNUSED__
|
||||
#endif
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *conform, *btn, *bx, *en;
|
||||
|
|
|
@ -72,7 +72,7 @@ _list_item_cb2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
|
|||
elm_list_item_selected_set(event_info, EINA_FALSE);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *list;
|
||||
|
|
|
@ -24,7 +24,7 @@ _on_done(void *data __UNUSED__,
|
|||
elm_exit();
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *bx, *ds;
|
||||
|
|
|
@ -197,7 +197,7 @@ _select_prev_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUS
|
|||
elm_diskselector_item_selected_set(prev_item, EINA_TRUE);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *bx, *hbx, *ds, *bt;
|
||||
|
|
|
@ -90,7 +90,7 @@ _expandable_toggle(void *data,
|
|||
printf("Expandable folders mode set to: %s\n", old_val ? "false" : "true");
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__,
|
||||
char **argv __UNUSED__)
|
||||
{
|
||||
|
|
|
@ -88,7 +88,7 @@ _expandable_toggle(void *data,
|
|||
printf("Expandable folders mode set to: %s\n", old_val ? "false" : "true");
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__,
|
||||
char **argv __UNUSED__)
|
||||
{
|
||||
|
|
|
@ -113,7 +113,7 @@ _path_get_clicked(void *data,
|
|||
elm_fileselector_path_get(fs));
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__,
|
||||
char **argv __UNUSED__)
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
static void _change_interaction(void *data, Evas_Object *obj, void *event_info);
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *rect, *rect2, *flip, *radio, *radio2, *radio3;
|
||||
|
|
|
@ -146,7 +146,7 @@ _on_keydown(void *data,
|
|||
}
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
unsigned int i;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg;
|
||||
|
|
|
@ -18,7 +18,7 @@ _hide_hover(void *data, Evas_Object *obj, void *event_info)
|
|||
evas_object_hide(data);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *bt, *bt2, *rect, *rect2, *rect3, *hover;
|
||||
|
|
|
@ -12,7 +12,7 @@ static void _sel(void *data, Evas_Object *obj, void *event_info);
|
|||
static void _free(void *data, Evas_Object *obj, void *event_info);
|
||||
static void _add_item(void *data, Evas_Object *obj, void *event_info);
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *rect, *hoversel;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *label, *label2, *label3, *label4, *label5, *label6;
|
||||
|
|
|
@ -24,7 +24,7 @@ _on_done(void *data __UNUSED__,
|
|||
elm_exit();
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *bx, *li;
|
||||
|
|
|
@ -24,7 +24,7 @@ _on_done(void *data __UNUSED__,
|
|||
elm_exit();
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *bx, *li;
|
||||
|
|
|
@ -245,7 +245,7 @@ _disable_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__
|
|||
elm_list_item_disabled_set(selected_item, EINA_TRUE);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *bx, *hbx, *li, *bt;
|
||||
|
|
|
@ -71,7 +71,7 @@ _nasty_hack(void *data)
|
|||
return ECORE_CALLBACK_CANCEL;
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *map, *box, *bt;
|
||||
|
|
|
@ -155,7 +155,7 @@ _nasty_hack(void *data)
|
|||
return ECORE_CALLBACK_CANCEL;
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *map, *box, *bt;
|
||||
|
|
|
@ -115,7 +115,7 @@ _nasty_hack(void *data)
|
|||
return ECORE_CALLBACK_CANCEL;
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *map, *box, *bt, *entry;
|
||||
|
|
|
@ -44,7 +44,7 @@ _smooth_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
|
|||
elm_mapbuf_smooth_set(mb, elm_check_state_get(obj));
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *bx, *hbx, *tg, *ck, *mb, *tb, *ic;
|
||||
|
|
|
@ -24,7 +24,7 @@ _show(void *data, Evas *e, Evas_Object *obj, void *event_info)
|
|||
evas_object_show(data);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *menu, *button, *rect;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
static void _hide(void *data, Evas_Object *obj, void *event_info);
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *bx, *notify, *content;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
static void _promote(void *data, Evas_Object *obj, void *event_info);
|
||||
static Evas_Object *pager;
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *rect, *bt;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *bx, *panel, *content;
|
||||
|
|
|
@ -11,7 +11,7 @@ static void _unfit(void *data, Evas_Object *obj, void *event_info);
|
|||
static void _zoom(void *data, Evas_Object *obj, void *event_info);
|
||||
static void _bring_in(void *data, Evas_Object *obj, void *event_info);
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *bx, *obj, *photocam;
|
||||
|
|
|
@ -10,7 +10,7 @@ static int val = 1;
|
|||
|
||||
static void _cb(void *data, Evas_Object *obj, void *event_info);
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *bx, *radio, *group, *ic;
|
||||
|
|
|
@ -106,7 +106,7 @@ Aliquam diam leo, ultrices a sodales sed, laoreet id purus. Nullam eleifend leo
|
|||
<br>\
|
||||
Nam scelerisque nulla ut neque tempor blandit volutpat nisl vehicula. Nam orci enim, luctus ut venenatis et, egestas id nunc. Phasellus risus sem, scelerisque sed vestibulum a, aliquam at sem. Sed venenatis tristique nisi id eleifend. Morbi urna tellus, cursus ac porttitor rhoncus, commodo at mi. Mauris ac magna nisi. Maecenas rutrum lobortis sapien, sed dapibus neque hendrerit a. Aliquam fringilla lectus nec arcu tempor et molestie dui suscipit. Proin et felis velit, vel pellentesque ligula. Donec tempus, mi at mollis porttitor, mauris urna congue elit, at varius nisi elit et est. Quisque eu libero lorem, eget tincidunt velit. Nullam hendrerit metus quis urna adipiscing quis tristique tortor condimentum. Integer iaculis scelerisque sem, vitae consectetur lorem facilisis eu. Phasellus consectetur blandit auctor. Morbi eleifend mollis ipsum, id facilisis leo euismod ut. Nunc id est tellus.";
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *label, *scroller;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *bx, *rect, *separator;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *label, *table;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *rect, *table;
|
||||
|
|
|
@ -11,7 +11,7 @@ static void _cb2(void *data, Evas_Object *obj, void *event_info);
|
|||
|
||||
static Eina_Bool val = EINA_FALSE;
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc, char **argv)
|
||||
{
|
||||
Evas_Object *win, *bg, *bx, *toggle, *ic;
|
||||
|
|
|
@ -46,7 +46,7 @@ _item_3_pressed(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUS
|
|||
elm_object_text_set(bt, "Create and send email");
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *bx, *tb, *bt;
|
||||
|
|
|
@ -32,7 +32,7 @@ _item_pressed(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
|
|||
elm_toolbar_item_selected_set(item, EINA_FALSE);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *bx, *tb, *bt;
|
||||
|
|
|
@ -32,7 +32,7 @@ _item_pressed(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
|
|||
elm_toolbar_item_selected_set(item, EINA_FALSE);
|
||||
}
|
||||
|
||||
EAPI int
|
||||
EAPI_MAIN int
|
||||
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
|
||||
{
|
||||
Evas_Object *win, *bg, *bx, *tb, *bt, *menu;
|
||||
|
|
Loading…
Reference in New Issue