Mercurial > hg > dmlib
diff edmain.h @ 378:feaeec4c6c55
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 17 Oct 2012 03:33:19 +0300 |
parents | 40e33ad0d153 |
children | 05e85401480a |
line wrap: on
line diff
--- a/edmain.h Wed Oct 17 02:37:03 2012 +0300 +++ b/edmain.h Wed Oct 17 03:33:19 2012 +0300 @@ -53,7 +53,7 @@ private: bool changed, initSDL; - DemoObject *demo; + TimelineObject *tl; DMEngineData engine; @@ -67,25 +67,26 @@ void setActionGroupChecked(QActionGroup *group, QVariant data); - void showFileErrorDialog(QString operation, int code, QFile::FileError err); + void showFileErrorDialog(QString operation, int code); QMessageBox::StandardButton showDocumentModifiedDialog(); void statusMsg(QString message); void closeEvent(QCloseEvent *event); void createMainGUI(); void updateMenuStates(); + int initEffectsAndResources(); + void shutdownEffectsAndResources(); int reopenResources(); int loadResources(); bool initializeVideo(); - void rehashFile(); void createNewFile(); void readFromFile(QString filename); void saveToFile(QString filename); - QList<DemoObject *> undoHistory; + QList<TimelineObject *> undoHistory; int undoHistoryPos, undoHistoryMax; void historyReset();