summaryrefslogtreecommitdiff
path: root/AnimationObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'AnimationObject.h')
-rw-r--r--AnimationObject.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/AnimationObject.h b/AnimationObject.h
index cec9268..95aa115 100644
--- a/AnimationObject.h
+++ b/AnimationObject.h
@@ -5,20 +5,27 @@
struct AO_CheckerPattern {
u32 squareSize;
- byte4 colorA;
- byte4 colorB;
+ color colorA;
+ color colorB;
};
ARGB AO_CheckerPattern(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv);
-struct AO_SquareSettings {
+struct AO_Square {
u32 width;
u32 height;
- byte4 color;
+ color color;
};
ARGB AO_Square(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv);
+struct AO_Circle {
+ double radius;
+ color color;
+};
+
+ARGB AO_Circle(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv);
+
struct AO_Image {
RGBImage img;
double zoom;
@@ -32,7 +39,7 @@ struct AO_Line {
double b;
double c;
double width;
- byte4 color;
+ color color;
};
ARGB AO_Line(const Animation* anim, u32 frameIndex, ARGB pixel, i32 r, i32 c, void* priv);