]> git.sesse.net Git - kdenlive/blobdiff - src/titledocument.h
Add new dialog for template clips, fix thumbs & monitors not updating when clip is...
[kdenlive] / src / titledocument.h
index c8f164b0497d7c7cbbe628303321265daf91dfaa..263d79e67e1bb497fd25ea66f1023d04296e3356 100644 (file)
@@ -26,7 +26,7 @@ class QGraphicsPolygonItem;
 
 class TitleDocument
 {
-    QGraphicsScene* m_scene;
+
 public:
     TitleDocument();
     void setScene(QGraphicsScene* scene);
@@ -38,7 +38,11 @@ public:
      * \returns The background color of the document, inclusive alpha. If none found, returns (0,0,0,0) */
     QColor getBackgroundColor();
 
+    enum ItemOrigin {OriginXLeft = 0, OriginYTop = 1};
+    enum AxisPosition {AxisDefault = 0, AxisInverted = 1};
+
 private:
+    QGraphicsScene* m_scene;
     QString colorToString(const QColor&);
     QString rectFToString(const QRectF&);
     QRectF stringToRect(const QString &);