view editor/edtlobj.h @ 2266:ecc17b2e129e

Add constants for "full" C64 screen dimensions, including the border regions. These are for future support of fullscreen image formats.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 17 Jun 2019 05:31: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