mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-24 01:26:30 -05:00
Merge branch 'dev' into tileset-types
This commit is contained in:
@@ -42,6 +42,8 @@ public:
|
||||
signals:
|
||||
void filterCleared(MapTree*);
|
||||
void addFolderClicked();
|
||||
void editsAllowedChanged(bool allowed);
|
||||
void emptyFoldersVisibleChanged(bool visible);
|
||||
|
||||
private:
|
||||
Ui::MapListToolBar *ui;
|
||||
|
||||
@@ -70,11 +70,13 @@ public:
|
||||
Q_INVOKABLE void addTileImage(int x, int y, QJSValue tileObj, bool setTransparency = false, int layer = 0);
|
||||
Q_INVOKABLE void addMetatileImage(int x, int y, int metatileId, bool setTransparency = false, int layer = 0);
|
||||
|
||||
private:
|
||||
QMap<int, Overlay*> overlayMap;
|
||||
protected:
|
||||
virtual void drawForeground(QPainter *painter, const QRectF &rect) override;
|
||||
virtual void keyPressEvent(QKeyEvent*) override;
|
||||
private:
|
||||
QMap<int, Overlay*> overlayMap;
|
||||
|
||||
void updateScene();
|
||||
};
|
||||
|
||||
#endif // GRAPHICSVIEW_H
|
||||
|
||||
Reference in New Issue
Block a user