Mercurial > hg > svgui
comparison layer/TextLayer.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 | 2e8194a30f40 |
comparison
equal
deleted
inserted
replaced
375:daaf1c435d98 | 376:e1a9e478b7f2 |
---|---|
100 bool m_editing; | 100 bool m_editing; |
101 QPoint m_editOrigin; | 101 QPoint m_editOrigin; |
102 TextModel::Point m_originalPoint; | 102 TextModel::Point m_originalPoint; |
103 TextModel::Point m_editingPoint; | 103 TextModel::Point m_editingPoint; |
104 TextModel::EditCommand *m_editingCommand; | 104 TextModel::EditCommand *m_editingCommand; |
105 | |
106 void finish(TextModel::EditCommand *command) { | |
107 Command *c = command->finish(); | |
108 if (c) CommandHistory::getInstance()->addCommand(c, false); | |
109 } | |
105 }; | 110 }; |
106 | 111 |
107 #endif | 112 #endif |
108 | 113 |