Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/makesdna/DNA_sequence_types.h')
-rw-r--r--source/blender/makesdna/DNA_sequence_types.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_sequence_types.h b/source/blender/makesdna/DNA_sequence_types.h
index 377da2a7d82..3f3bfdfe1b1 100644
--- a/source/blender/makesdna/DNA_sequence_types.h
+++ b/source/blender/makesdna/DNA_sequence_types.h
@@ -274,14 +274,24 @@ typedef struct GaussianBlurVars {
typedef struct TextVars {
char text[512];
int text_size;
- int xpos, ypos;
- int flags;
+ float loc[2];
+ short flag;
+ char align;
+ char pad;
} TextVars;
+/* TextVars.flag */
enum {
- TEXT_SEQ_SHADOW = (1 << 0),
- TEXT_SEQ_AUTO_CENTER = (1 << 1),
+ SEQ_TEXT_SHADOW = (1 << 0),
};
+
+/* TextVars.align */
+enum {
+ SEQ_TEXT_ALIGN_LEFT = 0,
+ SEQ_TEXT_ALIGN_CENTER = 1,
+ SEQ_TEXT_ALIGN_RIGHT = 2,
+};
+
/* ***************** Sequence modifiers ****************** */
typedef struct SequenceModifierData {