2011-07-06 03:30:35 -07:00
|
|
|
#include <Elementary.h>
|
2011-07-28 14:27:42 -07:00
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
# include "elementary_config.h"
|
|
|
|
#else
|
|
|
|
# define __UNUSED__
|
|
|
|
#endif
|
2011-07-06 03:30:35 -07:00
|
|
|
|
|
|
|
EAPI int
|
2011-07-28 14:27:42 -07:00
|
|
|
elm_main(int argc __UNUSED__, char **argv)
|
2011-07-06 03:30:35 -07:00
|
|
|
{
|
2011-07-20 10:55:15 -07:00
|
|
|
Evas_Object *win, *bg;
|
2011-07-06 03:30:35 -07:00
|
|
|
Evas_Coord w, h;
|
2011-07-26 04:28:08 -07:00
|
|
|
|
2011-07-06 03:30:35 -07:00
|
|
|
w = atoi(argv[1]);
|
|
|
|
h = atoi(argv[2]);
|
2011-07-26 04:28:08 -07:00
|
|
|
|
2011-07-06 03:30:35 -07:00
|
|
|
win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
|
2011-07-20 10:55:15 -07:00
|
|
|
bg = elm_bg_add(win);
|
|
|
|
elm_win_resize_object_add(win, bg);
|
|
|
|
evas_object_show(bg);
|