summaryrefslogtreecommitdiff
path: root/src/examples/elementary/bg_cxx_example_01.cc
blob: a1db40aa9127934690d9ba894689674b17a95db8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#define EFL_EO_API_SUPPORT

#include <Elementary.hh>

EAPI_MAIN int
elm_main (int argc, char *argv[])
{
   elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_HIDDEN);

   ::elm::win::Standard win;
   // win.title_set("Bg Plain");
   win.autohide_set(true);

   win.eo_cxx::efl::Gfx::size_set(320,320);
   win.visible_set(true);

   elm_run();
   return 0;
}
ELM_MAIN()