noticed there was a set filter but no get.. addded

SVN revision: 3275
This commit is contained in:
Carsten Haitzler 2000-08-30 01:34:19 +00:00
parent 38c520c050
commit ee1b52edaa
2 changed files with 7 additions and 0 deletions

View File

@ -275,6 +275,7 @@ void imlib_render_image_on_drawable_at_angle(int source_x, int source_y,
void imlib_image_filter(void);
Imlib_Filter imlib_create_filter(int initsize);
void imlib_context_set_filter(Imlib_Filter filter);
Imlib_Filter imlib_context_get_filter(void);
void imlib_free_filter(void);
void imlib_filter_set(int xoff, int yoff, int a, int r, int g, int b);
void imlib_filter_set_alpha(int xoff, int yoff, int a, int r, int g, int b);

View File

@ -2542,6 +2542,12 @@ imlib_context_set_filter(Imlib_Filter filter)
ctxt_filter = filter;
}
Imlib_Filter
imlib_context_get_filter(void)
{
return ctxt_filter;
}
void
imlib_filter_set(int xoff, int yoff, int a, int r, int g, int b)
{