ecore examples: Fixed formatting.

SVN revision: 70199
This commit is contained in:
Daniel Juyung Seo 2012-04-16 00:22:26 +00:00
parent 90556f6e4b
commit a5923d35e1
5 changed files with 7 additions and 7 deletions

View File

@ -94,7 +94,7 @@ _advance_frame3(void *data)
{
static int x = 0;
if(x >= 250)
if (x >= 250)
x = 0;
evas_object_move(data, ++x, 350);

View File

@ -47,7 +47,7 @@ main(void)
Eina_List *engines, *l;
char *data;
if(ecore_evas_init() <= 0)
if (ecore_evas_init() <= 0)
return 1;
engines = ecore_evas_engines_get();
@ -68,7 +68,7 @@ main(void)
printf("Using %s engine!\n", ecore_evas_engine_name_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");
bg = evas_object_rectangle_add(canvas);

View File

@ -227,7 +227,7 @@ main(void)
printf("Using %s engine!\n", ecore_evas_engine_name_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");
bg = evas_object_rectangle_add(canvas);

View File

@ -31,7 +31,7 @@ main(void)
evas_object_show(bg);
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");
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_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");
ecore_main_loop_begin();

View File

@ -48,7 +48,7 @@ main (int argc, char *argv[])
pipe = ecore_pipe_add(handler, NULL);
child_pid = fork();
if(!child_pid)
if (!child_pid)
{
ecore_pipe_read_close(pipe);
do_lengthy_task(pipe);