mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-19 23:25:09 -05:00
add open script button next to script labels
This commit is contained in:
@@ -107,6 +107,7 @@ public:
|
||||
bool hasUnsavedChanges();
|
||||
bool isWithinBounds(int x, int y);
|
||||
bool isWithinBorderBounds(int x, int y);
|
||||
void openScript(QString label);
|
||||
|
||||
MapPixmapItem *mapItem = nullptr;
|
||||
void setMapItem(MapPixmapItem *item) { mapItem = item; }
|
||||
@@ -127,6 +128,7 @@ signals:
|
||||
void mapChanged(Map *map);
|
||||
void mapDimensionsChanged(const QSize &size);
|
||||
void mapNeedsRedrawing();
|
||||
void openScriptRequested(QString label);
|
||||
};
|
||||
|
||||
#endif // MAP_H
|
||||
|
||||
Reference in New Issue
Block a user