Ecore_Evas main_win ecore_evas_software_ x11_new 600 600 Evas main_can

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
Ecore_Evas* main_win = ecore_evas_software_x11_new(0, 0, 0, 0, 600, 600);
Evas* main_canvas = ecore_evas_get(main_win);
Evas_Object* m = evas_object_rectangle_add(main_canvas);
evas_object_resize(m, 500, 500);
evas_object_move(m, 50, 50);
evas_object_color_set(m, 0, 0, 0, 255);
evas_object_show(m);
ecore_evas_alpha_set(main_win, 1);
ecore_evas_show(main_win);
ecore_main_loop_begin();