~sithlord48/hyne/master

« back to all changes in this revision

Viewing changes to SaveIcon.h

  • Committer: myst6re
  • Date: 2012-10-07 15:17:32 UTC
  • Revision ID: git-v1:08cd4dd8fb51ecba242eae16b59f2d6480b92e6f
Icon editor: can replace an icon by another from ff8.
BUG: SaveIconData::data always returns data with size=288, but with non-ff8 saves it's not the correct size.


git-svn-id: https://svn.code.sf.net/p/hyne/svn/trunk@28 c84c93af-c3a3-4a1d-84ff-4977ccd10b0c

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
        SaveIconData(const QByteArray &data, quint8 nbFrames=1);
30
30
        void setData(const QByteArray &data);
31
31
        void setNbFrames(quint8 nbFrames);
32
 
        QByteArray data() const;
 
32
        const QByteArray &data() const;
33
33
        quint8 nbFrames() const;
34
34
        QPixmap icon(int curFrame=0, bool showCW=false) const;
35
35
private: