Mercurial > hg > svgui
comparison layer/ImageLayer.h @ 1470:696e569ff21b by-id
Further layer updates for ById
author | Chris Cannam |
---|---|
date | Fri, 28 Jun 2019 17:37:22 +0100 |
parents | 11a150e65ee1 |
children | e6362cf5ff1d |
comparison
equal
deleted
inserted
replaced
1469:11a150e65ee1 | 1470:696e569ff21b |
---|---|
130 ModelId m_model; // an ImageModel | 130 ModelId m_model; // an ImageModel |
131 bool m_editing; | 131 bool m_editing; |
132 QPoint m_editOrigin; | 132 QPoint m_editOrigin; |
133 Event m_originalPoint; | 133 Event m_originalPoint; |
134 Event m_editingPoint; | 134 Event m_editingPoint; |
135 ChangeEventsCommand<Model> *m_editingCommand; | 135 ChangeEventsCommand *m_editingCommand; |
136 | 136 |
137 void finish(ChangeEventsCommand<Model> *command) { | 137 void finish(ChangeEventsCommand *command) { |
138 Command *c = command->finish(); | 138 Command *c = command->finish(); |
139 if (c) CommandHistory::getInstance()->addCommand(c, false); | 139 if (c) CommandHistory::getInstance()->addCommand(c, false); |
140 } | 140 } |
141 }; | 141 }; |
142 | 142 |