Mercurial > hg > dmlib
view editor/edtlobj.h @ 1896:f80b2dc77c30
Work begins on IFF ILBM/PBM image writer. It is pretty broken, some things
will not work and some things are hardcoded. The ByteRun1 compression
implementation is somewhat inefficient. Interleaved files do not work yet.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 26 Jun 2018 03:13:38 +0300 |
parents | e2ac08228a0f |
children |
line wrap: on
line source
// // Demo Editor -- Timeline state object // Wrapper class for DMTimeline data // (C) Copyright 2012 Matti 'ccr' Hämäläinen <ccr@tnsp.org> // #ifndef EDTIMELINEOBJECT_H #define EDTIMELINEOBJECT_H #include "dmengine.h" #include <QString> class EDTimelineObject { private: QString cstate; int ntouches; public: QString filename; DMTimeline *tl; EDTimelineObject(); EDTimelineObject(EDTimelineObject *); ~EDTimelineObject(); int load(QString filename); int save(QString filename); void scrub(); void touch(); bool touched(); void setState(const QString &mstate); QString state() const; }; #endif