projects
/
framework
/
uifw
/
elementary.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge "[edje_externals/elm_datefield.c] Datefield widget external file is updated...
[framework/uifw/elementary.git]
/
doc
/
widgets
/
widget_preview_tmpl_head.c
1
#ifdef HAVE_CONFIG_H
2
# include "elementary_config.h"
3
#else
4
# define __UNUSED__
5
#endif
6
7
#include <Elementary.h>
8
9
EAPI_MAIN int
10
elm_main(int argc __UNUSED__, char **argv)
11
{
12
Evas_Object *win, *bg;
13
Evas_Coord w, h;
14
15
w = atoi(argv[1]);
16
h = atoi(argv[2]);
17
18
win = elm_win_add(NULL, "main", ELM_WIN_BASIC);
19
bg = elm_bg_add(win);
20
elm_win_resize_object_add(win, bg);
21
evas_object_show(bg);