From 3de2130b6070bb9012d81e290fda452db42e069f Mon Sep 17 00:00:00 2001 From: Xavier ASUS Date: Tue, 27 Nov 2018 00:26:41 +0100 Subject: TILE_TAXIWAY_CORNER_GRASS_3 added to accepted tiles list. Building edition is now supported on MapEditor! LEVEL2.LVL now has some buildings laying around. --- Source/MapEditor/mygraphicsscene.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/MapEditor/mygraphicsscene.h') diff --git a/Source/MapEditor/mygraphicsscene.h b/Source/MapEditor/mygraphicsscene.h index 90dadea..ea416e0 100644 --- a/Source/MapEditor/mygraphicsscene.h +++ b/Source/MapEditor/mygraphicsscene.h @@ -14,13 +14,13 @@ public: ~MyGraphicsScene(); signals: - void positionClicked(QPointF); + void positionClicked(QPointF position); void noItemSelected(void); - void updateSelectedItem(void); + void updateSelectedItem(Qt::MouseButton button); private: - void mousePressEvent(QGraphicsSceneMouseEvent *mouseEvent); - void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *); + void mousePressEvent(QGraphicsSceneMouseEvent * const mouseEvent); + void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * const mouseEvent); }; -- cgit v1.2.3