src/ui/canvas.h

changeset 73
97df974b5ed5
parent 70
f21b800b02a4
child 104
cd4df75924b7
--- a/src/ui/canvas.h	Fri Mar 06 23:45:44 2020 +0200
+++ b/src/ui/canvas.h	Mon Mar 09 14:21:54 2020 +0200
@@ -13,7 +13,7 @@
 		const ldraw::ColorTable& colorTable,
 		QWidget* parent = nullptr);
 public slots:
-	void handleSelectionChange(const QSet<ldraw::Id>& selectedIds, const QSet<ldraw::Id>& deselectedIds);
+	void handleSelectionChange(const QSet<ldraw::id_t>& selectedIds, const QSet<ldraw::id_t>& deselectedIds);
 protected:
 	void mouseMoveEvent(QMouseEvent* event) override;
 	void mousePressEvent(QMouseEvent* event) override;
@@ -22,7 +22,7 @@
 	void paintGL() override;
 signals:
 	void newStatusText(const QString& newStatusText);
-	void selectionChanged(const QSet<ldraw::Id>& newSelection);
+	void selectionChanged(const QSet<ldraw::id_t>& newSelection);
 private:
 	void updateGridMatrix();
 	glm::vec3 cameraVector() const;
@@ -33,5 +33,5 @@
 	glm::mat4 gridMatrix;
 	geom::Plane gridPlane;
 	int totalMouseMove = 0;
-	QSet<ldraw::Id> selection;
+	QSet<ldraw::id_t> selection;
 };

mercurial