[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] gradients,FreeMiNT 1.18



> struct gradient
> {
>        struct xa_data_hdr *allocs;
>        short wmask, hmask;
>        short w, h;
>        short method;
>        short n_steps;
>        short steps[8];
>        struct rgb_1000 c[16];
> };
>
for reference, structs gradient (render_obj.c) & xa_gradient
(xa_types.h) are identical

struct xa_gradient
{
	struct xa_data_hdr *allocs;
	short wmask, hmask;
	short w, h;
	short method;
	short n_steps;
	short steps[8];
	struct rgb_1000 c[16];
};