add region map data to config, fix some bugs

This commit is contained in:
garak
2019-01-15 17:06:18 -05:00
parent c75ce5db1d
commit 41f3780c8a
16 changed files with 399 additions and 154 deletions

View File

@@ -61,9 +61,13 @@ public:
Project *project;
//QList<RegionMapSquare> map_squares;
QVector<RegionMapSquare> map_squares;
const int padLeft = 1;
const int padRight = 3;
const int padTop = 2;
const int padBottom = 3;
History<RegionMapHistoryItem*> history;
QString region_map_png_path;
@@ -115,8 +119,6 @@ public:
void resetSquare(int);
void test();// remove
// TODO: move read / write functions to private (and others)
private:
int layout_width_;