summaryrefslogtreecommitdiffstats
path: root/subreader.h
diff options
context:
space:
mode:
Diffstat (limited to 'subreader.h')
-rw-r--r--subreader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/subreader.h b/subreader.h
index 3b6b4c60c2..708b4a8945 100644
--- a/subreader.h
+++ b/subreader.h
@@ -27,6 +27,9 @@ extern int sub_format;
#define MAX_SUBTITLE_FILES 128
#define SUB_MAX_TEXT 10
+#define SUB_ALIGNMENT_HLEFT 1
+#define SUB_ALIGNMENT_HCENTER 0
+#define SUB_ALIGNMENT_HRIGHT 2
typedef struct {
@@ -36,6 +39,7 @@ typedef struct {
unsigned long end;
char *text[SUB_MAX_TEXT];
+ unsigned char alignment;
} subtitle;
typedef struct {