forked from enlightenment/efl
parent
90556f6e4b
commit
a5923d35e1
|
@ -94,7 +94,7 @@ _advance_frame3(void *data)
|
||||||
{
|
{
|
||||||
static int x = 0;
|
static int x = 0;
|
||||||
|
|
||||||
if(x >= 250)
|
if (x >= 250)
|
||||||
x = 0;
|
x = 0;
|
||||||
evas_object_move(data, ++x, 350);
|
evas_object_move(data, ++x, 350);
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ main(void)
|
||||||
Eina_List *engines, *l;
|
Eina_List *engines, *l;
|
||||||
char *data;
|
char *data;
|
||||||
|
|
||||||
if(ecore_evas_init() <= 0)
|
if (ecore_evas_init() <= 0)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
engines = ecore_evas_engines_get();
|
engines = ecore_evas_engines_get();
|
||||||
|
@ -68,7 +68,7 @@ main(void)
|
||||||
printf("Using %s engine!\n", ecore_evas_engine_name_get(ee));
|
printf("Using %s engine!\n", ecore_evas_engine_name_get(ee));
|
||||||
|
|
||||||
canvas = ecore_evas_get(ee);
|
canvas = ecore_evas_get(ee);
|
||||||
if(ecore_evas_ecore_evas_get(canvas) == ee)
|
if (ecore_evas_ecore_evas_get(canvas) == ee)
|
||||||
printf("Everything is sane!\n");
|
printf("Everything is sane!\n");
|
||||||
|
|
||||||
bg = evas_object_rectangle_add(canvas);
|
bg = evas_object_rectangle_add(canvas);
|
||||||
|
|
|
@ -227,7 +227,7 @@ main(void)
|
||||||
printf("Using %s engine!\n", ecore_evas_engine_name_get(ee));
|
printf("Using %s engine!\n", ecore_evas_engine_name_get(ee));
|
||||||
|
|
||||||
canvas = ecore_evas_get(ee);
|
canvas = ecore_evas_get(ee);
|
||||||
if(ecore_evas_ecore_evas_get(canvas) == ee)
|
if (ecore_evas_ecore_evas_get(canvas) == ee)
|
||||||
printf("Everything is sane!\n");
|
printf("Everything is sane!\n");
|
||||||
|
|
||||||
bg = evas_object_rectangle_add(canvas);
|
bg = evas_object_rectangle_add(canvas);
|
||||||
|
|
|
@ -31,7 +31,7 @@ main(void)
|
||||||
evas_object_show(bg);
|
evas_object_show(bg);
|
||||||
ecore_evas_object_associate(ee, bg, ECORE_EVAS_OBJECT_ASSOCIATE_BASE);
|
ecore_evas_object_associate(ee, bg, ECORE_EVAS_OBJECT_ASSOCIATE_BASE);
|
||||||
|
|
||||||
if(bg == ecore_evas_object_associate_get(ee))
|
if (bg == ecore_evas_object_associate_get(ee))
|
||||||
printf("Association worked!\n");
|
printf("Association worked!\n");
|
||||||
|
|
||||||
cursor = evas_object_rectangle_add(ecore_evas_get(ee));
|
cursor = evas_object_rectangle_add(ecore_evas_get(ee));
|
||||||
|
@ -40,7 +40,7 @@ main(void)
|
||||||
ecore_evas_object_cursor_set(ee, cursor, 0, 1, 1);
|
ecore_evas_object_cursor_set(ee, cursor, 0, 1, 1);
|
||||||
|
|
||||||
ecore_evas_cursor_get(ee, &obj, &layer, &x, &y);
|
ecore_evas_cursor_get(ee, &obj, &layer, &x, &y);
|
||||||
if(obj == cursor && layer == 0 && x == 1 && y == 1)
|
if (obj == cursor && layer == 0 && x == 1 && y == 1)
|
||||||
printf("Set cursor worked!\n");
|
printf("Set cursor worked!\n");
|
||||||
|
|
||||||
ecore_main_loop_begin();
|
ecore_main_loop_begin();
|
||||||
|
|
|
@ -48,7 +48,7 @@ main (int argc, char *argv[])
|
||||||
pipe = ecore_pipe_add(handler, NULL);
|
pipe = ecore_pipe_add(handler, NULL);
|
||||||
|
|
||||||
child_pid = fork();
|
child_pid = fork();
|
||||||
if(!child_pid)
|
if (!child_pid)
|
||||||
{
|
{
|
||||||
ecore_pipe_read_close(pipe);
|
ecore_pipe_read_close(pipe);
|
||||||
do_lengthy_task(pipe);
|
do_lengthy_task(pipe);
|
||||||
|
|
Loading…
Reference in New Issue