summaryrefslogtreecommitdiff
path: root/doc/widgets/widget_preview_tmpl_head.c
blob: 636fd5ba2a526f23d66b893b28bf9fbe67bea36e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <Elementary.h>

EAPI int
elm_main(int argc, char **argv)
{
   Evas_Object *win, *bg;
   Evas_Coord w, h;

   w = atoi(argv[1]);
   h = atoi(argv[2]);

   win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
   bg = elm_bg_add(win);
   elm_win_resize_object_add(win, bg);
   evas_object_show(bg);