]> git.cworth.org Git - apitrace/blobdiff - gui/apisurface.h
Make thumbnailing an non-automatic action.
[apitrace] / gui / apisurface.h
index bdf21a38a040d2255f0dc3282a99aa0ebfddd12a..bc403af27409c103deeeb431710a67238f6481f1 100644 (file)
@@ -16,6 +16,12 @@ public:
     int numChannels() const;
     void setNumChannels(int numChannels);
 
+    int depth() const;
+    void setDepth(int depth);
+
+    QString formatName() const;
+    void setFormatName(const QString &str);
+
     void contentsFromBase64(const QByteArray &base64);
 
     QImage image() const;
@@ -26,6 +32,8 @@ private:
     int m_numChannels;
     QImage m_image;
     QImage m_thumb;
+    int m_depth;
+    QString m_formatName;
 };