add map section swap feature and smooth zooming

This commit is contained in:
garak
2019-02-16 17:56:44 -05:00
parent 38cb97793d
commit 3cef77a174
7 changed files with 132 additions and 77 deletions

View File

@@ -48,7 +48,7 @@ public:
~RegionMap() {};
Project *project;
Project *project = nullptr;
QVector<RegionMapSquare> map_squares;
History<RegionMapHistoryItem*> history;
@@ -70,6 +70,7 @@ public:
void resize(int width, int height);
void resetSquare(int index);
void replaceSectionId(unsigned oldId, unsigned newId);
int width();
int height();