X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=gui%2Fapisurface.h;h=9f000014f656d7e08b9056a0a317e03191e5d028;hb=7a9fb5103e052150232b64cb5d99374cda3f1234;hp=bdf21a38a040d2255f0dc3282a99aa0ebfddd12a;hpb=18081d51fb0a0a5b1b7cb9fa2923339fae58de7b;p=apitrace diff --git a/gui/apisurface.h b/gui/apisurface.h index bdf21a3..9f00001 100644 --- a/gui/apisurface.h +++ b/gui/apisurface.h @@ -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; };