]> git.sesse.net Git - kdenlive/blobdiff - src/titledocument.h
Fix 551: The titlewidget (add/edit text clip dialog) should remember the last used...
[kdenlive] / src / titledocument.h
index 8c4fd53cf3c7d2a840a7df78db398c1feacc9b06..19c1b9dbbc8829383d6f607a57706db880949e04 100644 (file)
@@ -33,6 +33,9 @@ public:
     int loadDocument(const KUrl& url, QGraphicsPolygonItem* startv, QGraphicsPolygonItem* endv);
     QDomDocument xml(QGraphicsPolygonItem* startv, QGraphicsPolygonItem* endv);
     int loadFromXml(QDomDocument doc, QGraphicsPolygonItem* startv, QGraphicsPolygonItem* endv);
+    /** \brief Get the background color (incl. alpha) from the document, if possibly
+     * \returns The background color of the document, inclusive alpha. If none found, returns (0,0,0,0) */
+    QColor getBackgroundColor();
 
 private:
     QString colorToString(const QColor&);