]> git.cworth.org Git - apitrace/blobdiff - gui/apisurface.h
Use skiplist-based FastCallSet within trace::CallSet
[apitrace] / gui / apisurface.h
index bdf21a38a040d2255f0dc3282a99aa0ebfddd12a..9f000014f656d7e08b9056a0a317e03191e5d028 100644 (file)
@@ -13,8 +13,11 @@ public:
     QSize size() const;
     void setSize(const QSize &size);
 
-    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);
 
@@ -26,6 +29,8 @@ private:
     int m_numChannels;
     QImage m_image;
     QImage m_thumb;
+    int m_depth;
+    QString m_formatName;
 };