Mercurial > hg > svgui
comparison layer/ImageLayer.h @ 376:e1a9e478b7f2
* juggle some files around in order to free audioio, base, and system libraries
from dependency on QtGui
author | Chris Cannam |
---|---|
date | Wed, 12 Mar 2008 17:42:56 +0000 |
parents | 020c485aa7e0 |
children | 69089c9dc42e |
comparison
equal
deleted
inserted
replaced
375:daaf1c435d98 | 376:e1a9e478b7f2 |
---|---|
129 bool m_editing; | 129 bool m_editing; |
130 QPoint m_editOrigin; | 130 QPoint m_editOrigin; |
131 ImageModel::Point m_originalPoint; | 131 ImageModel::Point m_originalPoint; |
132 ImageModel::Point m_editingPoint; | 132 ImageModel::Point m_editingPoint; |
133 ImageModel::EditCommand *m_editingCommand; | 133 ImageModel::EditCommand *m_editingCommand; |
134 | |
135 void finish(ImageModel::EditCommand *command) { | |
136 Command *c = command->finish(); | |
137 if (c) CommandHistory::getInstance()->addCommand(c, false); | |
138 } | |
134 }; | 139 }; |
135 | 140 |
136 #endif | 141 #endif |
137 | 142 |