Add transparency slider for overlayed collision tiles on the map

This commit is contained in:
Marcus Huderle
2019-01-06 12:53:31 -06:00
parent 7c51f50d76
commit 022dc899da
11 changed files with 87 additions and 27 deletions

View File

@@ -31,15 +31,18 @@ public:
this->recentMap = "";
this->mapSortOrder = MapSortOrder::Group;
this->prettyCursors = true;
this->collisionOpacity = 50;
}
void setRecentProject(QString project);
void setRecentMap(QString map);
void setMapSortOrder(MapSortOrder order);
void setPrettyCursors(bool enabled);
void setCollisionOpacity(int opacity);
QString getRecentProject();
QString getRecentMap();
MapSortOrder getMapSortOrder();
bool getPrettyCursors();
int getCollisionOpacity();
protected:
QString getConfigFilepath();
void parseConfigKeyValue(QString key, QString value);
@@ -50,6 +53,7 @@ private:
QString recentMap;
MapSortOrder mapSortOrder;
bool prettyCursors;
int collisionOpacity;
};
extern PorymapConfig porymapConfig;