oops - fogot to fix symbols used. fix.

SVN revision: 45033
This commit is contained in:
Carsten Haitzler 2010-01-11 03:31:59 +00:00
parent 4fa952a6a0
commit 6895ea9b23
2 changed files with 14 additions and 14 deletions

View File

@ -114,18 +114,18 @@ _e_mod_comp_cb_animator(void *data)
} }
if ((cw->pw > 0) && (cw->ph > 0)) if ((cw->pw > 0) && (cw->ph > 0))
{ {
_e_mod_comp_update_resize(cw->up, cw->pw, cw->ph); e_mod_comp_update_resize(cw->up, cw->pw, cw->ph);
if (!cw->xim) if (!cw->xim)
{ {
if (cw->xim = ecore_x_image_new(cw->pw, cw->ph, cw->vis, cw->depth)) if (cw->xim = ecore_x_image_new(cw->pw, cw->ph, cw->vis, cw->depth))
_e_mod_comp_update_add(cw->up, 0, 0, cw->pw, cw->ph); e_mod_comp_update_add(cw->up, 0, 0, cw->pw, cw->ph);
} }
r = _e_mod_comp_update_rects_get(cw->up); r = e_mod_comp_update_rects_get(cw->up);
if (r) if (r)
{ {
if (cw->xim) if (cw->xim)
{ {
_e_mod_comp_update_clear(cw->up); e_mod_comp_update_clear(cw->up);
for (i = 0; r[i].w > 0; i++) for (i = 0; r[i].w > 0; i++)
{ {
unsigned int *pix; unsigned int *pix;
@ -355,7 +355,7 @@ _e_mod_comp_win_add(Comp *c, Ecore_X_Window win)
cw->obj = evas_object_rectangle_add(c->evas); cw->obj = evas_object_rectangle_add(c->evas);
evas_object_color_set(cw->obj, 0, 0, 0, 64); evas_object_color_set(cw->obj, 0, 0, 0, 64);
} }
cw->up = _e_mod_comp_update_new(); cw->up = e_mod_comp_update_new();
DBG(" [0x%x] add\n", cw->win); DBG(" [0x%x] add\n", cw->win);
return cw; return cw;
} }
@ -363,7 +363,7 @@ _e_mod_comp_win_add(Comp *c, Ecore_X_Window win)
static void static void
_e_mod_comp_win_del(Comp_Win *cw) _e_mod_comp_win_del(Comp_Win *cw)
{ {
_e_mod_comp_update_free(cw->up); e_mod_comp_update_free(cw->up);
DBG(" [0x%x] del\n", cw->win); DBG(" [0x%x] del\n", cw->win);
if (cw->pixmap) if (cw->pixmap)
{ {
@ -549,7 +549,7 @@ _e_mod_comp_win_damage(Comp_Win *cw, int x, int y, int w, int h, Eina_Bool dmg)
cw->update = 1; cw->update = 1;
cw->c->updates = eina_list_append(cw->c->updates, cw); cw->c->updates = eina_list_append(cw->c->updates, cw);
} }
_e_mod_comp_update_add(cw->up, x, y, w, h); e_mod_comp_update_add(cw->up, x, y, w, h);
_e_mod_comp_win_render_queue(cw); _e_mod_comp_win_render_queue(cw);
} }
@ -563,7 +563,7 @@ _e_mod_comp_win_reshape(Comp_Win *cw)
cw->update = 1; cw->update = 1;
cw->c->updates = eina_list_append(cw->c->updates, cw); cw->c->updates = eina_list_append(cw->c->updates, cw);
} }
_e_mod_comp_update_add(cw->up, 0, 0, cw->w, cw->h); e_mod_comp_update_add(cw->up, 0, 0, cw->w, cw->h);
_e_mod_comp_win_render_queue(cw); _e_mod_comp_win_render_queue(cw);
} }

View File

@ -11,12 +11,12 @@ struct _Update_Rect
int x, y, w, h; int x, y, w, h;
}; };
Update *e_mod_comp_update_new(void); Update *e_mod_comp_update_new (void);
void e_mod_comp_update_free(Update *up); void e_mod_comp_update_free (Update *up);
void e_mod_comp_update_resize(Update *up, int w, int h); void e_mod_comp_update_resize (Update *up, int w, int h);
void e_mod_comp_update_add(Update *up, int x, int y, int w, int h); void e_mod_comp_update_add (Update *up, int x, int y, int w, int h);
Update_Rect *e_mod_comp_update_rects_get(Update *up); Update_Rect *e_mod_comp_update_rects_get (Update *up);
void e_mod_comp_update_clear(Update *up); void e_mod_comp_update_clear (Update *up);
#endif #endif
#endif #endif