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:
authorAntony Riakiotakis <kalast@gmail.com>2015-07-01 21:29:18 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-07-02 19:46:46 +0300
commit145d3540b3e2dafa9351c79a463c230304ce0ae5 (patch)
treeb0a61d60e4ac9485d856c329381f8f4e4c2004b2 /source/blender/makesdna/DNA_sequence_types.h
parent2723d107046846bc6ab2ae458c3371cdb7c441bf (diff)
Text effect strip for sequencer.
Is pretty much what it says :) Easy subtitles for everyone! Supports size, positioning, a cheap shadow effect (probably will need more work), and autocentering on x axis. Now you can go wild with long spanish names in your soap opera videos. Will probably be refined as days go by, but at least it's now ready for testing.
Diffstat (limited to 'source/blender/makesdna/DNA_sequence_types.h')
-rw-r--r--source/blender/makesdna/DNA_sequence_types.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_sequence_types.h b/source/blender/makesdna/DNA_sequence_types.h
index 7904d056e1a..7cf4d9fdff7 100644
--- a/source/blender/makesdna/DNA_sequence_types.h
+++ b/source/blender/makesdna/DNA_sequence_types.h
@@ -271,6 +271,17 @@ typedef struct GaussianBlurVars {
float size_y;
} GaussianBlurVars;
+typedef struct TextVars {
+ char text[512];
+ int text_size;
+ int xpos, ypos;
+ int flags;
+} TextVars;
+
+enum {
+ TEXT_SEQ_SHADOW = (1 << 0),
+ TEXT_SEQ_AUTO_CENTER = (1 << 1),
+};
/* ***************** Sequence modifiers ****************** */
typedef struct SequenceModifierData {
@@ -463,7 +474,9 @@ enum {
SEQ_TYPE_MULTICAM = 30,
SEQ_TYPE_ADJUSTMENT = 31,
SEQ_TYPE_GAUSSIAN_BLUR = 40,
- SEQ_TYPE_MAX = 40
+ SEQ_TYPE_TEXT = 41,
+
+ SEQ_TYPE_MAX = 41
};
#define SEQ_MOVIECLIP_RENDER_UNDISTORTED (1 << 0)