comparison framework/Document.h @ 663:351b1302064e single-point

Make layer order in document also stable on file load/save
author Chris Cannam
date Tue, 02 Apr 2019 14:45:57 +0100
parents a2bf5e6c54ce
children ae7584dbd668
comparison
equal deleted inserted replaced
662:ffd213b292f9 663:351b1302064e
479 479
480 /** 480 /**
481 * And these are the layers. We also control the lifespans of 481 * And these are the layers. We also control the lifespans of
482 * these (usually through the commands used to add and remove them). 482 * these (usually through the commands used to add and remove them).
483 */ 483 */
484 typedef std::set<Layer *> LayerSet; 484 typedef std::vector<Layer *> LayerList;
485 LayerSet m_layers; 485 LayerList m_layers;
486 486
487 bool m_autoAlignment; 487 bool m_autoAlignment;
488 Align *m_align; 488 Align *m_align;
489 489
490 bool m_isIncomplete; 490 bool m_isIncomplete;