#include #include #define WIDTH 400 #define HEIGHT 400 Ecore_Evas * ee; Evas * evas; Evas_Object * base_rect; int main(int argc, char** argv) { if (argc < 2) exit (-1); ecore_init(); ee = ecore_evas_software_x11_new(NULL, 0, 0, 0, WIDTH, HEIGHT); ecore_evas_title_set(ee, "Ecore_Evas Template"); ecore_evas_borderless_set(ee, atoi (argv[1])); ecore_evas_show(ee); evas = ecore_evas_get(ee); evas_font_path_append(evas, "fonts/"); base_rect = evas_object_rectangle_add(evas); evas_object_resize(base_rect, (double)WIDTH, (double)HEIGHT); evas_object_color_set(base_rect, 244, 243, 242, 255); evas_object_show(base_rect); /* Insert Object Here */ ecore_main_loop_begin(); return 0; }