mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-13 19:35:40 -05:00
Add transparency slider for overlayed collision tiles on the map
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user