ooh issues! thanks jose!

SVN revision: 13947
This commit is contained in:
Carsten Haitzler 2005-03-28 03:58:04 +00:00
parent db7df4cc4a
commit 5cb0b69195
8 changed files with 73 additions and 81 deletions

View File

@ -517,10 +517,10 @@ evas_engine_buffer_context_color_get(void *data, void *context, int *r, int *g,
Render_Engine *re;
re = (Render_Engine *)data;
*r = (int)(R_VAL(((RGBA_Draw_Context *)context)->col.col));
*g = (int)(G_VAL(((RGBA_Draw_Context *)context)->col.col));
*b = (int)(B_VAL(((RGBA_Draw_Context *)context)->col.col));
*a = (int)(A_VAL(((RGBA_Draw_Context *)context)->col.col));
*r = (int)(R_VAL(&((RGBA_Draw_Context *)context)->col.col));
*g = (int)(G_VAL(&((RGBA_Draw_Context *)context)->col.col));
*b = (int)(B_VAL(&((RGBA_Draw_Context *)context)->col.col));
*a = (int)(A_VAL(&((RGBA_Draw_Context *)context)->col.col));
return 1;
}
@ -548,10 +548,10 @@ evas_engine_buffer_context_multiplier_get(void *data, void *context, int *r, int
Render_Engine *re;
re = (Render_Engine *)data;
*r = (int)(R_VAL(((RGBA_Draw_Context *)context)->mul.col));
*g = (int)(G_VAL(((RGBA_Draw_Context *)context)->mul.col));
*b = (int)(B_VAL(((RGBA_Draw_Context *)context)->mul.col));
*a = (int)(A_VAL(((RGBA_Draw_Context *)context)->mul.col));
*r = (int)(R_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*g = (int)(G_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*b = (int)(B_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*a = (int)(A_VAL(&((RGBA_Draw_Context *)context)->mul.col));
return ((RGBA_Draw_Context *)context)->mul.use;
}

View File

@ -466,10 +466,10 @@ evas_engine_cairo_x11_context_color_get(void *data, void *context, int *r, int *
Render_Engine *re;
re = (Render_Engine *)data;
*r = (int)(R_VAL(((RGBA_Draw_Context *)context)->col.col));
*g = (int)(G_VAL(((RGBA_Draw_Context *)context)->col.col));
*b = (int)(B_VAL(((RGBA_Draw_Context *)context)->col.col));
*a = (int)(A_VAL(((RGBA_Draw_Context *)context)->col.col));
*r = (int)(R_VAL(&((RGBA_Draw_Context *)context)->col.col));
*g = (int)(G_VAL(&((RGBA_Draw_Context *)context)->col.col));
*b = (int)(B_VAL(&((RGBA_Draw_Context *)context)->col.col));
*a = (int)(A_VAL(&((RGBA_Draw_Context *)context)->col.col));
return 1;
}
@ -497,10 +497,10 @@ evas_engine_cairo_x11_context_multiplier_get(void *data, void *context, int *r,
Render_Engine *re;
re = (Render_Engine *)data;
*r = (int)(R_VAL(((RGBA_Draw_Context *)context)->mul.col));
*g = (int)(G_VAL(((RGBA_Draw_Context *)context)->mul.col));
*b = (int)(B_VAL(((RGBA_Draw_Context *)context)->mul.col));
*a = (int)(A_VAL(((RGBA_Draw_Context *)context)->mul.col));
*r = (int)(R_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*g = (int)(G_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*b = (int)(B_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*a = (int)(A_VAL(&((RGBA_Draw_Context *)context)->mul.col));
return ((RGBA_Draw_Context *)context)->mul.use;
}

View File

@ -418,11 +418,11 @@ evas_engine_directfb_context_clip_get(void *data, void *context, int *x, int *y,
Render_Engine *re;
re = (Render_Engine *) data;
*x = ((RGBA_Draw_Context *) data)->clip.x;
*y = ((RGBA_Draw_Context *) data)->clip.y;
*w = ((RGBA_Draw_Context *) data)->clip.w;
*h = ((RGBA_Draw_Context *) data)->clip.h;
return ((RGBA_Draw_Context *) data)->clip.use;
*x = ((RGBA_Draw_Context *) context)->clip.x;
*y = ((RGBA_Draw_Context *) context)->clip.y;
*w = ((RGBA_Draw_Context *) context)->clip.w;
*h = ((RGBA_Draw_Context *) contect)->clip.h;
return ((RGBA_Draw_Context *) context)->clip.use;
}
void
@ -440,17 +440,13 @@ int
evas_engine_directfb_context_color_get(void *data, void *context, int *r,
int *g, int *b, int *a)
{
Render_Engine *re;
DATA32 p;
DATA8 *pp;
RGBA_Draw_Context *dc = (RGBA_Draw_Context *) context;
p = dc->col.col;
pp = (DATA8 *) & p;
*r = R_VAL(pp);
*g = G_VAL(pp);
*b = B_VAL(pp);
*a = A_VAL(pp);
re = (Render_Engine *) data;
*r = (int)(R_VAL(&((RGBA_Draw_Context *)context)->col.col));
*g = (int)(G_VAL(&((RGBA_Draw_Context *)context)->col.col));
*b = (int)(B_VAL(&((RGBA_Draw_Context *)context)->col.col));
*a = (int)(A_VAL(&((RGBA_Draw_Context *)context)->col.col));
}
void
@ -476,17 +472,13 @@ int
evas_engine_directfb_context_multiplier_get(void *data, void *context, int *r,
int *g, int *b, int *a)
{
DATA32 p;
DATA8 *pp;
RGBA_Draw_Context *dc = (RGBA_Draw_Context *) context;
p = dc->mul.col;
pp = (DATA8 *) & p;
*r = R_VAL(pp);
*g = G_VAL(pp);
*b = B_VAL(pp);
*a = A_VAL(pp);
Render_Engine *re;
re = (Render_Engine *) data;
*r = (int)(R_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*g = (int)(G_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*b = (int)(B_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*a = (int)(A_VAL(&((RGBA_Draw_Context *)context)->mul.col));
return dc->mul.use;
}

View File

@ -433,10 +433,10 @@ evas_engine_fb_context_color_get(void *data, void *context, int *r, int *g, int
Render_Engine *re;
re = (Render_Engine *)data;
*r = (int)(R_VAL(((RGBA_Draw_Context *)context)->col.col));
*g = (int)(G_VAL(((RGBA_Draw_Context *)context)->col.col));
*b = (int)(B_VAL(((RGBA_Draw_Context *)context)->col.col));
*a = (int)(A_VAL(((RGBA_Draw_Context *)context)->col.col));
*r = (int)(R_VAL(&((RGBA_Draw_Context *)context)->col.col));
*g = (int)(G_VAL(&((RGBA_Draw_Context *)context)->col.col));
*b = (int)(B_VAL(&((RGBA_Draw_Context *)context)->col.col));
*a = (int)(A_VAL(&((RGBA_Draw_Context *)context)->col.col));
return 1;
}
@ -464,10 +464,10 @@ evas_engine_fb_context_multiplier_get(void *data, void *context, int *r, int *g,
Render_Engine *re;
re = (Render_Engine *)data;
*r = (int)(R_VAL(((RGBA_Draw_Context *)context)->mul.col));
*g = (int)(G_VAL(((RGBA_Draw_Context *)context)->mul.col));
*b = (int)(B_VAL(((RGBA_Draw_Context *)context)->mul.col));
*a = (int)(A_VAL(((RGBA_Draw_Context *)context)->mul.col));
*r = (int)(R_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*g = (int)(G_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*b = (int)(B_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*a = (int)(A_VAL(&((RGBA_Draw_Context *)context)->mul.col));
return ((RGBA_Draw_Context *)context)->mul.use;
}

View File

@ -469,10 +469,10 @@ evas_engine_gl_x11_context_color_get(void *data, void *context, int *r, int *g,
Render_Engine *re;
re = (Render_Engine *)data;
*r = (int)(R_VAL(((RGBA_Draw_Context *)context)->col.col));
*g = (int)(G_VAL(((RGBA_Draw_Context *)context)->col.col));
*b = (int)(B_VAL(((RGBA_Draw_Context *)context)->col.col));
*a = (int)(A_VAL(((RGBA_Draw_Context *)context)->col.col));
*r = (int)(R_VAL(&((RGBA_Draw_Context *)context)->col.col));
*g = (int)(G_VAL(&((RGBA_Draw_Context *)context)->col.col));
*b = (int)(B_VAL(&((RGBA_Draw_Context *)context)->col.col));
*a = (int)(A_VAL(&((RGBA_Draw_Context *)context)->col.col));
return 1;
}
@ -500,10 +500,10 @@ evas_engine_gl_x11_context_multiplier_get(void *data, void *context, int *r, int
Render_Engine *re;
re = (Render_Engine *)data;
*r = (int)(R_VAL(((RGBA_Draw_Context *)context)->mul.col));
*g = (int)(G_VAL(((RGBA_Draw_Context *)context)->mul.col));
*b = (int)(B_VAL(((RGBA_Draw_Context *)context)->mul.col));
*a = (int)(A_VAL(((RGBA_Draw_Context *)context)->mul.col));
*r = (int)(R_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*g = (int)(G_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*b = (int)(B_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*a = (int)(A_VAL(&((RGBA_Draw_Context *)context)->mul.col));
return ((RGBA_Draw_Context *)context)->mul.use;
}

View File

@ -451,10 +451,10 @@ evas_engine_software_qtopia_context_color_get(void *data, void *context, int *r,
Render_Engine *re;
re = (Render_Engine *)data;
*r = (int)(R_VAL(((RGBA_Draw_Context *)context)->col.col));
*g = (int)(G_VAL(((RGBA_Draw_Context *)context)->col.col));
*b = (int)(B_VAL(((RGBA_Draw_Context *)context)->col.col));
*a = (int)(A_VAL(((RGBA_Draw_Context *)context)->col.col));
*r = (int)(R_VAL(&((RGBA_Draw_Context *)context)->col.col));
*g = (int)(G_VAL(&((RGBA_Draw_Context *)context)->col.col));
*b = (int)(B_VAL(&((RGBA_Draw_Context *)context)->col.col));
*a = (int)(A_VAL(&((RGBA_Draw_Context *)context)->col.col));
return 1;
}
@ -482,10 +482,10 @@ evas_engine_software_qtopia_context_multiplier_get(void *data, void *context, in
Render_Engine *re;
re = (Render_Engine *)data;
*r = (int)(R_VAL(((RGBA_Draw_Context *)context)->mul.col));
*g = (int)(G_VAL(((RGBA_Draw_Context *)context)->mul.col));
*b = (int)(B_VAL(((RGBA_Draw_Context *)context)->mul.col));
*a = (int)(A_VAL(((RGBA_Draw_Context *)context)->mul.col));
*r = (int)(R_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*g = (int)(G_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*b = (int)(B_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*a = (int)(A_VAL(&((RGBA_Draw_Context *)context)->mul.col));
return ((RGBA_Draw_Context *)context)->mul.use;
}

View File

@ -495,10 +495,10 @@ evas_engine_software_x11_context_color_get(void *data, void *context, int *r, in
Render_Engine *re;
re = (Render_Engine *)data;
*r = (int)(R_VAL(((RGBA_Draw_Context *)context)->col.col));
*g = (int)(G_VAL(((RGBA_Draw_Context *)context)->col.col));
*b = (int)(B_VAL(((RGBA_Draw_Context *)context)->col.col));
*a = (int)(A_VAL(((RGBA_Draw_Context *)context)->col.col));
*r = (int)(R_VAL(&((RGBA_Draw_Context *)context)->col.col));
*g = (int)(G_VAL(&((RGBA_Draw_Context *)context)->col.col));
*b = (int)(B_VAL(&((RGBA_Draw_Context *)context)->col.col));
*a = (int)(A_VAL(&((RGBA_Draw_Context *)context)->col.col));
return 1;
}
@ -526,10 +526,10 @@ evas_engine_software_x11_context_multiplier_get(void *data, void *context, int *
Render_Engine *re;
re = (Render_Engine *)data;
*r = (int)(R_VAL(((RGBA_Draw_Context *)context)->mul.col));
*g = (int)(G_VAL(((RGBA_Draw_Context *)context)->mul.col));
*b = (int)(B_VAL(((RGBA_Draw_Context *)context)->mul.col));
*a = (int)(A_VAL(((RGBA_Draw_Context *)context)->mul.col));
*r = (int)(R_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*g = (int)(G_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*b = (int)(B_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*a = (int)(A_VAL(&((RGBA_Draw_Context *)context)->mul.col));
return ((RGBA_Draw_Context *)context)->mul.use;
}

View File

@ -516,10 +516,10 @@ evas_engine_software_xcb_context_color_get(void *data, void *context, int *r, in
Render_Engine *re;
re = (Render_Engine *)data;
*r = (int)(R_VAL(((RGBA_Draw_Context *)context)->col.col));
*g = (int)(G_VAL(((RGBA_Draw_Context *)context)->col.col));
*b = (int)(B_VAL(((RGBA_Draw_Context *)context)->col.col));
*a = (int)(A_VAL(((RGBA_Draw_Context *)context)->col.col));
*r = (int)(R_VAL(&((RGBA_Draw_Context *)context)->col.col));
*g = (int)(G_VAL(&((RGBA_Draw_Context *)context)->col.col));
*b = (int)(B_VAL(&((RGBA_Draw_Context *)context)->col.col));
*a = (int)(A_VAL(&((RGBA_Draw_Context *)context)->col.col));
return 1;
}
@ -547,10 +547,10 @@ evas_engine_software_xcb_context_multiplier_get(void *data, void *context, int *
Render_Engine *re;
re = (Render_Engine *)data;
*r = (int)(R_VAL(((RGBA_Draw_Context *)context)->mul.col));
*g = (int)(G_VAL(((RGBA_Draw_Context *)context)->mul.col));
*b = (int)(B_VAL(((RGBA_Draw_Context *)context)->mul.col));
*a = (int)(A_VAL(((RGBA_Draw_Context *)context)->mul.col));
*r = (int)(R_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*g = (int)(G_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*b = (int)(B_VAL(&((RGBA_Draw_Context *)context)->mul.col));
*a = (int)(A_VAL(&((RGBA_Draw_Context *)context)->mul.col));
return ((RGBA_Draw_Context *)context)->mul.use;
}