added rich text mode

This commit is contained in:
itsmattkc
2019-03-14 20:50:21 +11:00
parent a3831bbd50
commit c0d3e038eb
8 changed files with 28 additions and 9 deletions
+6 -2
View File
@@ -1,8 +1,12 @@
#include "richtexteffect.h"
RichTextEffect::RichTextEffect(Clip *c, const EffectMeta *em)
{
#include <QTextDocument>
RichTextEffect::RichTextEffect(Clip *c, const EffectMeta *em) :
Effect(c, em)
{
EffectRow* text_row = new EffectRow(this, tr("Text"));
text_val = new StringField(text_row, "text");
}
void RichTextEffect::redraw(double timecode)