summaryrefslogtreecommitdiffstats
path: root/libass/ass.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-03-20 01:19:13 +0100
committerwm4 <wm4@nowhere>2013-03-20 01:39:24 +0100
commit085666a08f4f287e5c3575c64397265599d06fa9 (patch)
tree670cd3b01cf34509b7ad386d490d9bbc62ee7a64 /libass/ass.h
parentfc3b05f3178a88e5af1e994d91e43fdb0fda1059 (diff)
downloadlibass-085666a08f4f287e5c3575c64397265599d06fa9.tar.bz2
libass-085666a08f4f287e5c3575c64397265599d06fa9.tar.xz
Add type field to ASS_Image struct
Patch by chrisburel, posted on Google code issue 31.
Diffstat (limited to 'libass/ass.h')
-rw-r--r--libass/ass.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libass/ass.h b/libass/ass.h
index 022668b..bd32458 100644
--- a/libass/ass.h
+++ b/libass/ass.h
@@ -44,6 +44,13 @@ typedef struct ass_image {
int dst_x, dst_y; // Bitmap placement inside the video frame
struct ass_image *next; // Next image, or NULL
+
+ enum {
+ IMAGE_TYPE_CHARACTER,
+ IMAGE_TYPE_OUTLINE,
+ IMAGE_TYPE_SHADOW
+ } type;
+
} ASS_Image;
/*