summaryrefslogtreecommitdiff
path: root/AnimationObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'AnimationObject.h')
-rw-r--r--AnimationObject.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/AnimationObject.h b/AnimationObject.h
index 16f0b0e..ef8c3a3 100644
--- a/AnimationObject.h
+++ b/AnimationObject.h
@@ -9,7 +9,7 @@ struct AO_CheckerPattern {
color colorB;
};
-ARGB AO_CheckerPattern(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv);
+ARGB AO_CheckerPattern(const Animation* anim, PixelRendererParams params);
struct AO_Square {
u32 width;
@@ -17,14 +17,14 @@ struct AO_Square {
color color;
};
-ARGB AO_Square(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv);
+ARGB AO_Square(const Animation* anim, PixelRendererParams params);
struct AO_Circle {
double radius;
color color;
};
-ARGB AO_Circle(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv);
+ARGB AO_Circle(const Animation* anim, PixelRendererParams params);
struct AO_Image {
RGBImage img;
@@ -32,7 +32,7 @@ struct AO_Image {
bool noRepeat;
};
-ARGB AO_Image(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv);
+ARGB AO_Image(const Animation* anim, PixelRendererParams params);
struct AO_Line {
double a;
@@ -42,7 +42,7 @@ struct AO_Line {
color color;
};
-ARGB AO_Line(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv);
+ARGB AO_Line(const Animation* anim, PixelRendererParams params);
struct AO_HorSegment {
i32 left;
@@ -51,6 +51,6 @@ struct AO_HorSegment {
color color;
};
-ARGB AO_HorSegment(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv);
+ARGB AO_HorSegment(const Animation* anim, PixelRendererParams params);
#endif /* _ANIMATION_OBJECT */