a bit cleaner now too :)

SVN revision: 3097
This commit is contained in:
Carsten Haitzler 2000-08-13 06:10:02 +00:00
parent a5ba53be87
commit 95353b03d2
1 changed files with 93 additions and 99 deletions

View File

@ -73,6 +73,7 @@ default:
void void
evas_render(Evas e) evas_render(Evas e)
{ {
Imlib_Updates up;
Evas_List delete_objects; Evas_List delete_objects;
Evas_List l, ll; Evas_List l, ll;
void (*func_draw_add_rect) (Display *disp, Window win, int x, int y, int w, int h); void (*func_draw_add_rect) (Display *disp, Window win, int x, int y, int w, int h);
@ -254,9 +255,6 @@ evas_render(Evas e)
evas_list_free(delete_objects); evas_list_free(delete_objects);
} }
{
Imlib_Updates up;
func_init(e->current.display, e->current.screen); func_init(e->current.display, e->current.screen);
if (e->updates) if (e->updates)
{ {
@ -308,11 +306,9 @@ evas_render(Evas e)
case OBJECT_IMAGE: case OBJECT_IMAGE:
{ {
Evas_Object_Image oo; Evas_Object_Image oo;
oo = o;
{
void *im; void *im;
oo = o;
im = func_image_new_from_file(e->current.display, oo->current.file); im = func_image_new_from_file(e->current.display, oo->current.file);
if (im) if (im)
{ {
@ -328,7 +324,6 @@ evas_render(Evas e)
func_image_free(im); func_image_free(im);
} }
} }
}
break; break;
case OBJECT_TEXT: case OBJECT_TEXT:
{ {
@ -373,7 +368,6 @@ evas_render(Evas e)
func_flush_draw(e->current.display, e->current.drawable); func_flush_draw(e->current.display, e->current.drawable);
} }
} }
}
e->previous = e->current; e->previous = e->current;
} }