mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-25 10:05:46 -05:00
Add basic drop-and-drop connection editing
This commit is contained in:
2
map.h
2
map.h
@@ -8,6 +8,7 @@
|
||||
#include <QPixmap>
|
||||
#include <QObject>
|
||||
#include <QDebug>
|
||||
#include <QGraphicsPixmapItem>
|
||||
|
||||
|
||||
template <typename T>
|
||||
@@ -179,6 +180,7 @@ public:
|
||||
QMap<QString, QList<Event*>> events;
|
||||
|
||||
QList<Connection*> connections;
|
||||
QMap<QString, QGraphicsPixmapItem*> connection_items;
|
||||
QPixmap renderConnection(Connection);
|
||||
|
||||
QImage border_image;
|
||||
|
||||
Reference in New Issue
Block a user